]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
types: Add match time type to orte.
authorMichal Vokac <vokac.m@gmail.com>
Tue, 24 May 2011 00:15:44 +0000 (02:15 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Tue, 24 May 2011 00:15:44 +0000 (02:15 +0200)
src/types/robottype.idl
src/types/robottype.ortegen

index 92c5c301c9151436b5416d0f39b82b2fa96642a7..9943f091c75379fb60fc2f626329b372c23f67ae 100644 (file)
@@ -122,6 +122,10 @@ struct lift_status {
        octet flags;             // Zero when everything OK, otherwise see CAN_LIFT_FLAG_*
 };
 
+struct match_time {
+       double time;
+};
+
 // FIXME: What's this??? M.S.
 struct binary_data {
     octet data;
index a0a8e4fffabdd0f6fb82785674e1990f957e6f53..2bcf46984d37fae1b475e9fe709d489534ce3538 100644 (file)
@@ -4,6 +4,7 @@ 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=match_time        topic=match_time        deadline=0.5
 type=binary_data       topic=binary_data
 type=can_msg           topic=can_msg
 type=robot_pos         topic=est_pos_odo