improvements to the shared memory physics API:
support picking in C API etc.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#define SHARED_MEMORY_SERVER_TEST_C
|
||||
#define MAX_DEGREE_OF_FREEDOM 256
|
||||
#define MAX_NUM_SENSORS 256
|
||||
@@ -92,6 +91,12 @@ struct SendDebugLinesArgs
|
||||
int m_numRemainingDebugLines;
|
||||
};
|
||||
|
||||
struct PickBodyArgs
|
||||
{
|
||||
double m_rayFromWorld[3];
|
||||
double m_rayToWorld[3];
|
||||
};
|
||||
|
||||
|
||||
///Controlling a robot involves sending the desired state to its joint motor controllers.
|
||||
///The control mode determines the state variables used for motor control.
|
||||
@@ -225,6 +230,7 @@ struct SharedMemoryCommand
|
||||
struct CreateSensorArgs m_createSensorArguments;
|
||||
struct CreateBoxShapeArgs m_createBoxShapeArguments;
|
||||
struct RequestDebugLinesArgs m_requestDebugLinesArguments;
|
||||
struct PickBodyArgs m_pickBodyArguments;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user