anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupMotor::SetEffectiveMaxTorques

Changing motors effective maximum torque.

C++
bool SetEffectiveMaxTorques(float * pTorques, int TorquesCount);
Parameters 
Description 
float * pTorques 
[in] float array that contains the torques to be applied by each motor. 
int TorquesCount 
[in] torques count specified in pTorques 

true if the motor (or servo) received the new value, false otherwise.

SetEffectiveMaxTorque changes the torque that motors (or servo) of the groupe can use for maintaining their rotational speed or position. If the new value is 0, the EffectiveMaxTorque = MaxTorque, otherwise, the value is automatically ranged in ] 0.0 , GetMaxTorque() ]

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