root / trunk / code / projects / colonet / server / vision / vision.h @ 1428
History | View | Annotate | Download (334 Bytes)
1 | 432 | emarinel | /**
|
---|---|---|---|
2 | * Rich Hong's colony vision library.
|
||
3 | */
|
||
4 | |||
5 | #ifndef COLONY_VISION_H
|
||
6 | #define COLONY_VISION_H
|
||
7 | |||
8 | typedef struct { |
||
9 | int x;
|
||
10 | int y;
|
||
11 | } VisionPosition; |
||
12 | |||
13 | 936 | rcahoon | int vision_init(/*char* filename*/); |
14 | void vision_close(void); |
||
15 | 432 | emarinel | int vision_get_robot_positions(VisionPosition** positions);
|
16 | 936 | rcahoon | int getImageBytes(unsigned char *buffer, int length); |
17 | 432 | emarinel | |
18 | #endif |