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 lidar_type;
89 unsigned short data_lenght;
90 unsigned short data[681];
104 struct cl_sensor_cmd {
108 struct cl_sensor_status {
109 boolean pattern_match;
113 /** Status sent from actuators */
115 unsigned short act_pos;
116 unsigned short response; // Equals to req_pos when the move is done
117 octet flags; // Zero when everything OK, otherwise see CAN_LIFT_FLAG_*
137 // camera error state codes (bitwise disjuntive)
138 const error ERR_NO_VIDEO = 0x01;
139 const error ERR_NO_FRAME = 0x02;
147 boolean target_valid;
152 /** Command from display - see uoled.h/UDE_recieve_cmd_t */