gusimplewhiteboard
wb_goal.h
Go to the documentation of this file.
1#ifndef WBGOAL_
2#define WBGOAL_
3
4#include <sys/types.h>
5#include <gu_util.h>
6
13struct wb_goal
14{
16 PROPERTY(int16_t, bottomLeft_X)
18 PROPERTY(int16_t, bottomLeft_Y)
19
20
21 PROPERTY(int16_t, topLeft_X)
23 PROPERTY(int16_t, topLeft_Y)
24
26 PROPERTY(int16_t, bottomRight_X)
28 PROPERTY(int16_t, bottomRight_Y)
29
31 PROPERTY(int16_t, topRight_X)
33 PROPERTY(int16_t, topRight_Y)
34
36 PROPERTY(bool, visible)
38 PROPERTY(bool, pad)
39#ifdef __cplusplus
41 wb_goal() : _bottomLeft_X(0), _bottomLeft_Y(0), _topLeft_X(0), _topLeft_Y(0), _bottomRight_X(0), _bottomRight_Y(0), _topRight_X(0), _topRight_Y(0), _visible(false), _pad(false) {}
42#endif
43};
44
45#endif
Whiteboard structure for goal coordinates X and Y coordinates are posted as seen in the image X range...
Definition: wb_goal.h:14
bottomLeft_Y topLeft_Y bottomRight_Y topRight_Y pad wb_goal()
< align to 16 bits
Definition: wb_goal.h:41
PROPERTY(int16_t, bottomLeft_X) PROPERTY(int16_t
The x,y coordinates of the bottom left corner of the post.