stop( )


Parameters

None

_result

Not set.

Descriptions

Causes a robot to come to a complete stop. The stop commands ends both lateral and rotational movement. Lateral movement is ended by decelerating at the robot's target deceleration rate as set by the deceltarget command. Rotational movement stops immediately.

When the stop command is called, the amount of remaining lateral and rotational movement it stored in a buffer so that movement can be restarted with the continue command. If stop is called when no motion is occurring, the continue buffer is left unchanged. Each time stop aborts movement, however, the information stored in the movement continue buffer is overwritten. 

When a robot is no longer moving laterally, the _moving system variable is false. When no part of a robot is rotating, the _rotating system variable is false. Stop generally requires multiple turns to complete and therefore causing blocking.

See Also

continue, stopmove, stoprotate, deceltarget, blocking, _moving, _rotating