anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceForceSensor::GetForceAndTorque

Get the torque and the force applied on the joint's axis.

C++
M32 GetForceAndTorque(ForceTorqueSensorValues * pValues, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
ForceTorqueSensorValues * pValues 
[in/out] Pointer on a ForceTorqueSensorValues to be filled by the function. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

If the system called the device, the return value is MODA_EOK.

GetForceAndTorque returns the torque (Nm) and the force (N) applied on the joint's axis if the device is in ON state, 0 otherwise.

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