anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::SetEffectiveMaxVelocityRPS

Changing the motors's maximum velocity.

C++
bool SetEffectiveMaxVelocityRPS(float RdPerSec, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message
DegPerSec 
[in] Max velocity (Rad/s) 

true if the motor received the new command, false if otherwise.

RdPerSec is the new motor max velocity. 

If RdPerSec is 0, the maximum velocity defined in motor settings is applied. Otherwise the applied maximum velocity is the minimum between GetMaxVelocityRPS and RdPerSec.

4.7.17

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!