anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupMotor::SetTorque

Torque regulation (nm).

C++
bool SetTorque(float Torque);
Parameters 
Description 
float Torque 
[in] Torque to be applied by each motor (nm). 

True no error occurred, false otherwise.

SetTorque activates the torque regulation for each motor (if not yet active) and sets the new torque that each motor must apply around its axis. If not yet active, the torque regulation needs up to two time steps to be active. The specified torque is automatically ranged by [-Motor effective max torque, +Motor effective max torque].

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