anyKode Marilou

Motor or Servo torque regulation (nm).

bool SetTorque(float Torque, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
float Torque 
[in] Torque (nm) to be applied by the motor after gearbox, or by the servo. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

True if no error occurred, false otherwise.

SetTorque activates the torque regulation (if not yet active) and sets the new torque that the motor (or servo) must apply around its axis (after gearbox). 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!