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

Commit 562d7e8

Browse files
committed
Declare of the constants of referee_id in rosmsg file
1 parent f9a52d0 commit 562d7e8

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

consai2r2_msgs/msg/DecodedReferee.msg

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
11
# game status for consai2_game
22

3-
# ID : text
4-
# 0 : HALT
5-
# 1 : STOP
6-
# 2 : ---
7-
# 3 : FORCE_START
8-
# 11 : OUR_KICKOFF_PREPARATION
9-
# 12 : OUR_KICKOFF_START
10-
# 13 : OUR_PENALTY_PREPARATION
11-
# 14 : OUR_PENALTY_START
12-
# 15 : OUR_DIRECT_FREE
13-
# 16 : OUR_INDIRECT_FREE
14-
# 17 : OUR_TIMEOUT
15-
# 18 : OUR_GOAL
16-
# 19 : OUR_BALL_PLACEMENT
17-
# 20 : ---
18-
# 21 : THEIR_KICKOFF_PREPARATION
19-
# 22 : THEIR_KICKOFF_START
20-
# 23 : THEIR_PENALTY_PREPARATION
21-
# 24 : THEIR_PENALTY_START
22-
# 25 : THEIR_DIRECT_FREE
23-
# 26 : THEIR_INDIRECT_FREE
24-
# 27 : THEIR_TIMEOUT
25-
# 28 : THEIR_GOAL
26-
# 29 : THEIR_BALL_PLACEMENT
3+
# Declare of the constants of referee_id
4+
uint8 ID_HALT = 0
5+
uint8 ID_STOP = 1
6+
uint8 ID_FORCE_START = 3
7+
uint8 ID_OUR_KICKOFF_PREPARATION = 11
8+
uint8 ID_OUR_KICKOFF_START = 12
9+
uint8 ID_OUR_PENALTY_PREPARATION = 13
10+
uint8 ID_OUR_PENALTY_START = 14
11+
uint8 ID_OUR_DIRECT_FREE = 15
12+
uint8 ID_OUR_INDIRECT_FREE = 16
13+
uint8 ID_OUR_TIMEOUT = 17
14+
uint8 ID_OUR_GOAL = 18
15+
uint8 ID_OUR_BALL_PLACEMENT = 19
16+
uint8 ID_THEIR_KICKOFF_PREPARATION = 21
17+
uint8 ID_THEIR_KICKOFF_START = 22
18+
uint8 ID_THEIR_PENALTY_PREPARATION = 23
19+
uint8 ID_THEIR_PENALTY_START = 24
20+
uint8 ID_THEIR_DIRECT_FREE = 25
21+
uint8 ID_THEIR_INDIRECT_FREE = 26
22+
uint8 ID_THEIR_TIMEOUT = 27
23+
uint8 ID_THEIR_GOAL = 28
24+
uint8 ID_THEIR_BALL_PLACEMENT = 29
25+
2726

2827
uint8 referee_id
2928
string referee_text

0 commit comments

Comments
 (0)