code: function driveLogic() {
  		//We're in user-control (FULL mode) and can control the robot. (Your main program would be here!)
  		if(robot.data.lightBumper || robot.data.bumpLeft || robot.data.bumpRight) robot.driveSpeed(0,0); //Disable motors.
  		else robot.driveSpeed(robot.data.dropLeft?0:100,robot.data.dropRight?0:100); //Enable motors if wheels are up.
  		if(robot.data.clean || robot.data.docked) {robot.driveSpeed(0,0);robot.start()} //Back to PASSIVE mode.
  	}
docs: Logic to Start and Stop Moving Robot: