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

Commit 9fcd4bb

Browse files
committed
add referee.hpp
1 parent a649f19 commit 9fcd4bb

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

  • consai2r2_description/include/consai2r2_description
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// Copyright (c) 2020 SSL-Roots
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16+
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
21+
#ifndef CONSAI2R2_DESCRIPTION__REFEREE_HPP_
22+
#define CONSAI2R2_DESCRIPTION__REFEREE_HPP_
23+
24+
namespace consai2r2
25+
{
26+
27+
namespace referee
28+
{
29+
30+
enum
31+
{
32+
HALT = 0,
33+
STOP,
34+
FORCE_START = 3,
35+
OUR_KICKOFF_PREPARATION = 11,
36+
OUR_KICKOFF_START,
37+
OUR_PENALTY_PREPARATION,
38+
OUR_PENALTY_START,
39+
OUR_DIRECT_FREE,
40+
OUR_INDIRECT_FREE,
41+
OUR_TIMEOUT,
42+
OUR_GOAL,
43+
OUR_BALL_PLACEMENT,
44+
THEIR_KICKOFF_PREPARATION = 21,
45+
THEIR_KICKOFF_START,
46+
THEIR_PENALTY_PREPARATION,
47+
THEIR_PENALTY_START,
48+
THEIR_DIRECT_FREE,
49+
THEIR_INDIRECT_FREE,
50+
THEIR_TIMEOUT,
51+
THEIR_GOAL,
52+
THEIR_BALL_PLACEMENT
53+
};
54+
55+
} // namespace referee
56+
57+
} // namespace consai2r2
58+
59+
#endif // CONSAI2R2_DESCRIPTION__REFEREE_HPP_

0 commit comments

Comments
 (0)