Revision 467
fixed vision more
PositionMonitor.cpp | ||
---|---|---|
43 | 43 |
//TODO: check for error returned |
44 | 44 |
int numPositions = vision_get_robot_positions(&positions); |
45 | 45 |
printf("numPositions is %d\n", numPositions); |
46 |
for (int i = 0; i < numPositions; i++) { |
|
47 |
printf("{%d,%d} ", positions[i].x, positions[i].y); |
|
48 |
} |
|
49 |
printf("\n"); |
|
46 | 50 |
|
51 |
|
|
47 | 52 |
/* |
48 | 53 |
//TODO: compare current set of positions to previous set of |
49 | 54 |
// positions to match up who is who |
Also available in: Unified diff