Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
Declare of the constants of referee_id in rosmsg file
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralray committed Aug 9, 2020
1 parent f9a52d0 commit 562d7e8
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions consai2r2_msgs/msg/DecodedReferee.msg
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 562d7e8

Please sign in to comment.