anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceContact::GetContactForces

Getting the forces applied by the contact points on the geometry.

C++
bool GetContactForces(Moda::Commons::ContactForces * pContactsForces, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
Moda::Commons::ContactForces * pContactsForces 
[in/out] Pointer to a ContactForce structure to be filled in by the funtion. In return pContactForces contains the forces measured on the 6 half-axis. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device received the new command, false if otherwise.

GetContactForces returns the forces applied by contact points on the parent geometry. The forces (for each contact point) are projected on the 6 half-axis of the geometry. Each half-axis is independent and contains its own force sensor: 6 force values are returned.

You must check the device's Force Sensor property.

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