Revision 458
added some really simple support for keep track of which position is which robot over time
PositionMonitor.h | ||
---|---|---|
14 | 14 |
using namespace std; |
15 | 15 |
|
16 | 16 |
#define MAX_POSITIONS 20 |
17 |
#define MAX_DISTANCE 5 |
|
17 | 18 |
|
18 | 19 |
using namespace std; |
19 | 20 |
|
... | ... | |
32 | 33 |
|
33 | 34 |
private: |
34 | 35 |
map<int, VisionPosition> positionMap; |
36 |
bool isProbablySameRobot(VisionPosition p1, VisionPosition p2); |
|
37 |
int newIdToAssign; |
|
35 | 38 |
}; |
36 | 39 |
|
37 | 40 |
#endif |
Also available in: Unified diff