Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / server / vision / vision.h @ 936

History | View | Annotate | Download (334 Bytes)

1
/**
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
int vision_init(/*char* filename*/);
14
void vision_close(void);
15
int vision_get_robot_positions(VisionPosition** positions);
16
int getImageBytes(unsigned char *buffer, int length);
17

    
18
#endif