From 562d7e878a2e816a37b53087c8a0413da77b4f65 Mon Sep 17 00:00:00 2001 From: Kentaro Tanaka Date: Sun, 9 Aug 2020 10:13:43 +0900 Subject: [PATCH] Declare of the constants of referee_id in rosmsg file --- consai2r2_msgs/msg/DecodedReferee.msg | 47 +++++++++++++-------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/consai2r2_msgs/msg/DecodedReferee.msg b/consai2r2_msgs/msg/DecodedReferee.msg index 57a6d82..b8002dd 100755 --- a/consai2r2_msgs/msg/DecodedReferee.msg +++ b/consai2r2_msgs/msg/DecodedReferee.msg @@ -1,29 +1,28 @@ # game status for consai2_game -# ID : text -# 0 : HALT -# 1 : STOP -# 2 : --- -# 3 : FORCE_START -# 11 : OUR_KICKOFF_PREPARATION -# 12 : OUR_KICKOFF_START -# 13 : OUR_PENALTY_PREPARATION -# 14 : OUR_PENALTY_START -# 15 : OUR_DIRECT_FREE -# 16 : OUR_INDIRECT_FREE -# 17 : OUR_TIMEOUT -# 18 : OUR_GOAL -# 19 : OUR_BALL_PLACEMENT -# 20 : --- -# 21 : THEIR_KICKOFF_PREPARATION -# 22 : THEIR_KICKOFF_START -# 23 : THEIR_PENALTY_PREPARATION -# 24 : THEIR_PENALTY_START -# 25 : THEIR_DIRECT_FREE -# 26 : THEIR_INDIRECT_FREE -# 27 : THEIR_TIMEOUT -# 28 : THEIR_GOAL -# 29 : THEIR_BALL_PLACEMENT +# Declare of the constants of referee_id +uint8 ID_HALT = 0 +uint8 ID_STOP = 1 +uint8 ID_FORCE_START = 3 +uint8 ID_OUR_KICKOFF_PREPARATION = 11 +uint8 ID_OUR_KICKOFF_START = 12 +uint8 ID_OUR_PENALTY_PREPARATION = 13 +uint8 ID_OUR_PENALTY_START = 14 +uint8 ID_OUR_DIRECT_FREE = 15 +uint8 ID_OUR_INDIRECT_FREE = 16 +uint8 ID_OUR_TIMEOUT = 17 +uint8 ID_OUR_GOAL = 18 +uint8 ID_OUR_BALL_PLACEMENT = 19 +uint8 ID_THEIR_KICKOFF_PREPARATION = 21 +uint8 ID_THEIR_KICKOFF_START = 22 +uint8 ID_THEIR_PENALTY_PREPARATION = 23 +uint8 ID_THEIR_PENALTY_START = 24 +uint8 ID_THEIR_DIRECT_FREE = 25 +uint8 ID_THEIR_INDIRECT_FREE = 26 +uint8 ID_THEIR_TIMEOUT = 27 +uint8 ID_THEIR_GOAL = 28 +uint8 ID_THEIR_BALL_PLACEMENT = 29 + uint8 referee_id string referee_text