Revision 508
position updating in separate thread. incomplete SIGINT handler
PositionMonitor.h | ||
---|---|---|
23 | 23 |
PositionMonitor(void); |
24 | 24 |
~PositionMonitor(void); |
25 | 25 |
|
26 |
int startMonitoring(void);
|
|
26 |
void run(void);
|
|
27 | 27 |
int stopMonitoring(void); |
28 | 28 |
int updatePositions(void); |
29 | 29 |
|
... | ... | |
35 | 35 |
map<int, VisionPosition> positionMap; |
36 | 36 |
bool isProbablySameRobot(VisionPosition p1, VisionPosition p2); |
37 | 37 |
int newIdToAssign; |
38 |
pthread_mutex_t position_map_lock; |
|
38 | 39 |
}; |
39 | 40 |
|
40 | 41 |
#endif |
Also available in: Unified diff