anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::SetVelocityDPS

Changing motor's rotational speed.

C++
bool SetVelocityDPS(float DegPerSec, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float DegPerSec 
[in] New rotational speed in degree/s. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

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

SetVelocityDPS activates the rotational speed regulation (if not yet active) and sets the new motor's rotational speed (after gearbox). The torque used in order to regulate the rotational speed around the specified DegPerSec value is est min( GetMaxTorque, GetEffectiveMaxTorque).

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