Revision 518
fixed mutex unlock bug. made it so that if there is just one robot seen, it is assumed to be the robot requesting
PositionMonitor.h | ||
---|---|---|
30 | 30 |
int assignRealId(int old_id, int real_id); |
31 | 31 |
map<int, VisionPosition> getAllRobotPositions(void); |
32 | 32 |
int getRobotPosition(int robot_id, int* xbuf, int* ybuf); |
33 |
int getNumVisibleRobots(void); |
|
34 |
VisionPosition getFirstPosition(void); |
|
33 | 35 |
|
34 | 36 |
private: |
35 | 37 |
map<int, VisionPosition> positionMap; |
Also available in: Unified diff