unsigned short data[681];
};
+struct pos_short {
+ unsigned short left;
+ unsigned short right;
+};
+
+struct pos_octet {
+ octet left;
+ octet right;
/** Request for hokuyo pitch (angle) */
struct hokuyo_pitch {
/** Hokuyo angle (0..down, 255..up)*/
};
// Actuators
-struct vidle_cmd {
+struct jaws_cmd {
+ pos_short req_pos;
+ pos_octet speed;
+};
+
+struct lift_cmd {
unsigned short req_pos;
octet speed;
};
+
/** Status sent from actuators */
-struct vidle_status {
+struct jaws_status {
+ pos_short act_pos;
+ pos_short response;
+ pos_octet flags;
+};
+
+struct lift_status {
unsigned short act_pos;
unsigned short response; // Equals to req_pos when the move is done
- octet flags; // Zero when everything OK, otherwise see CAN_VIDLE_FLAG_*
+ octet flags; // Zero when everything OK, otherwise see CAN_VIDLE_FLAG_*
};
// FIXME: What's this??? M.S.
/* Definition of ORTE variables - input for roboortegen.pl */
-type=vidle_status topic=vidle_status deadline=0.5
-type=vidle_cmd topic=vidle_cmd
+type=jaws_status topic=jaws_status deadline=0.5
+type=jaws_cmd topic=jaws_cmd
+type=lift_status topic=lift_status deadline=0.5
+type=lift_cmd topic=lift_cmd
type=binary_data topic=binary_data
type=can_msg topic=can_msg
type=robot_pos topic=est_pos_odo