Fixed the robot/simulator control.