speedtarget( target )


Parameters

  Type Description
target numeric target speed (0-25]

_result

Not set.

Descriptions

Sets the robot's target speed. When a robot moves, it attempts to move at the rate specified by target. If a robot is already moving when the speedtarget command is called it will either accelerate or decelerate to reach the new target. Valid values for target are 0 to 25 including 25 but not including 0. Target speed controls both a robot's forward and backward movement. A robot's current speed and direction is provided by the _velocity system variable.

If this command is never called, target speed defaults to 25.

See Also

deceltarget, acceltarget, ahead, back, _velocity