Revision 982
Added shared memory setup code to the create_robot function. Need to
write the cleanup code still. Exec call is failing but wasn't
succeeding before code change either.
robot_shared.h | ||
---|---|---|
1 | 1 |
/* shared structs for simulator */ |
2 | 2 |
|
3 |
#ifndef __ROBOT_SHARED_H |
|
4 |
#define __ROBOT_SHARED_H |
|
3 | 5 |
|
4 | 6 |
typedef struct PositionType |
5 | 7 |
{ |
... | ... | |
32 | 34 |
short motor2; /* motor2 value */ |
33 | 35 |
RangeFinder ranges; /* rangefinders */ |
34 | 36 |
/* add other sensors, etc here */ |
35 |
} SimulatorRobot; |
|
37 |
} SimulatorRobot; |
|
38 |
|
|
39 |
#endif |
Also available in: Unified diff