Efficient real-time control of a robot simulator with brain waves