another step closer to useable shared memory C API
(force/torque sensor needs new API) in a nutshell, users of shared memory physics API should not directly poke into shared memory, not fill 'SharedMemorCommand' nor read SharedMemoryStatus directly. The C-API declares 'handles' for those, to avoid it from happening.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "RobotControlExample.h"
|
||||
|
||||
|
||||
#if 0
|
||||
|
||||
#include "../CommonInterfaces/CommonParameterInterface.h"
|
||||
#include "PhysicsServer.h"
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <string>
|
||||
|
||||
//const char* blaatnaam = "basename";
|
||||
|
||||
#define SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE 1024
|
||||
|
||||
struct MyMotorInfo
|
||||
{
|
||||
@@ -665,5 +665,6 @@ class CommonExampleInterface* RobotControlExampleCreateFunc(struct CommonExam
|
||||
}
|
||||
return example;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user