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 {
63 boolean start_condition;
66 struct robot_switches {
72 struct robot_bumpers {
75 boolean bumper_right_across;
76 boolean bumper_left_across;
77 boolean bumper_rear_left;
78 boolean bumper_rear_right;
88 unsigned short data[681];
92 unsigned short data[271];
112 unsigned short req_pos;
117 struct cl_sensor_cmd {
121 struct cl_sensor_status {
122 boolean pattern_match;
126 /** Status sent from actuators */
134 unsigned short act_pos;
135 unsigned short response; // Equals to req_pos when the move is done
136 octet flags; // Zero when everything OK, otherwise see CAN_LIFT_FLAG_*
156 // camera error state codes (bitwise disjuntive)
157 const error ERR_NO_VIDEO = 0x01;
158 const error ERR_NO_FRAME = 0x02;
166 boolean target_valid;
171 /** Command from display - see uoled.h/UDE_recieve_cmd_t */