Brain Computer Interface for Control of Dynamics and Robot Systems