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

getSpeed

Returns the value you specified in your previous call to setSpeed.
Syntax
Actuator. getSpeed()
Where Actuator is the name you have given to the device in Project Designer.
Parameters
None
Returns
DRIVE_SPEED
Note
The returned value is not the actual speed that the actuator is moving at - we have no way of knowing that without an encoder!
See Also
setSpeed

 

 

Valid XHTML 1.0 Transitional