anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::SetEffectiveMaxVelocityDPS

Changing the motors's maximum velocity.

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

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

DegPerSec is the new motor max velocity. 

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

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!