expose multibody link world transform in the shared memory API

This commit is contained in:
Erwin Coumans
2016-04-23 17:29:46 -07:00
parent 16cbc191bd
commit f99d1c45aa
5 changed files with 40 additions and 1 deletions

View File

@@ -105,6 +105,14 @@ struct b3DebugLines
const float* m_linesColor;//float red,green,blue times 'm_numDebugLines'.
};
///b3LinkState provides extra information such as the Cartesian world coordinates of the link
///relative to the world reference frame. Orientation is a quaternion x,y,z,w
struct b3LinkState
{
double m_worldPosition[3];
double m_worldOrientation[4];
};
//todo: discuss and decide about control mode and combinations
enum {
// POSITION_CONTROL=0,