root / trunk / code / projects / colonet / ColonetServer / includes / PositionMonitor.h @ 443
History | View | Annotate | Download (443 Bytes)
1 |
/**
|
---|---|
2 |
* @file PositionMonitor.h
|
3 |
*
|
4 |
* @author Jason Knichel
|
5 |
*
|
6 |
* @date 2/4/08
|
7 |
*/
|
8 |
|
9 |
#ifndef POSITIONMONITOR_H
|
10 |
#define POSITIONMONITOR_H
|
11 |
|
12 |
#include <vision.h> |
13 |
|
14 |
#define MAX_POSITIONS 20 |
15 |
|
16 |
class PositionMonitor { |
17 |
public:
|
18 |
PositionMonitor(); |
19 |
~PositionMonitor(); |
20 |
|
21 |
int startMonitoring();
|
22 |
int stopMonitoring();
|
23 |
int getPositions();
|
24 |
int getRobotPosition(int robot_id, int* xbuf, int* ybuf); |
25 |
|
26 |
private:
|
27 |
VisionPosition * positions; |
28 |
}; |
29 |
|
30 |
#endif
|