anyKode Marilou
ContentsIndexHome
PreviousUpNext
DevicesGroupServo::SetTorques

Torque regulation (nm).

C++
bool SetTorques(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 no error occurred, false otherwise.

SetTorques activates the torque regulation for each motor (if not yet active) and sets the new torques values 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!