Project

General

Profile

Revision 977

added robot shared memory id to simulator structure

View differences:

robot_shared.h
14 14
  short d[5];
15 15
} RangeFinder;
16 16

  
17

  
17
/* this is what is in the robot shared memory */
18 18
typedef struct RobotSharedType
19 19
{
20 20
	short motor1; /* motor1 value */
......
26 26

  
27 27
typedef struct SimulatorRobotType
28 28
{
29
  int robotSharedMemoryID; /* id for shared memory object */
29 30
  Position pos; /* position in environment */
30 31
	short motor1; /* motor1 value */
31 32
	short motor2; /* motor2 value */

Also available in: Unified diff