gusimplewhiteboard
wb_ball.h
Go to the documentation of this file.
1#ifndef WBBALL_
2#define WBBALL_
3
4#include <sys/types.h>
5#include <gu_util.h>
6
10struct wb_ball
11{
14 PROPERTY(int16_t, x)
17 PROPERTY(int16_t, y)
19 PROPERTY(int16_t, radius)
20
21#ifdef __cplusplus
23 wb_ball() : _x(0), _y(0), _radius(0) {}
24#endif
25};
26
27#endif
Whiteboard data structure for a ball sighting.
Definition: wb_ball.h:11
PROPERTY(int16_t, x) PROPERTY(int16_t
the balls x coordinate in pixels, relative to the center of the image, imageWidth/2 is 0,...