2 long left; // PXMC's actual position (pxms.ap)
3 long right; // PXMC's actual position (pxms.ap)
4 octet seq; // Sequence number from the last received CAN_CORR_TRIG
8 long left; // PXMC's actual position (pxms.ap)
9 long right; // PXMC's actual position (pxms.ap)
17 struct motion_status {
18 unsigned short err_left;
19 unsigned short err_right;
26 struct corr_distances {
66 struct system_status {
67 char system_condition;
70 struct robot_bumpers {
76 struct robot_switches {
87 unsigned short data[681];
96 unsigned short req_pos;
100 /** Status sent from actuators */
101 struct crane_status {
102 unsigned short act_pos;
103 unsigned short response; // Equals to req_pos when the move is done
104 octet flags; // Zero when everything OK, otherwise see CAN_CRANE_FLAG_*
118 // camera error state codes (bitwise disjuntive)
119 const error ERR_NO_VIDEO = 0x01;
120 const error ERR_NO_FRAME = 0x02;
124 boolean target_valid;
129 /** Command from display - see uoled.h/UDE_recieve_cmd_t */