WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

setSpeed

Set the required speed to a value between DRIVE_SPEED_MIN and DRIVE_SPEED_MAX.
Syntax
Actuator. setSpeed(speed)
Where Actuator is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'speed'
The required speed (for a motor) or position (for a servo).
Returns
None
Note
If the actuator has been disconnected then nothing will happen until it is reconnected.
See Also
getSpeed

 

 

Valid XHTML 1.0 Transitional