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

Commit

Permalink
add referee.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralray committed Aug 7, 2020
1 parent a649f19 commit 9fcd4bb
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions consai2r2_description/include/consai2r2_description/referee.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// Copyright (c) 2020 SSL-Roots
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#ifndef CONSAI2R2_DESCRIPTION__REFEREE_HPP_
#define CONSAI2R2_DESCRIPTION__REFEREE_HPP_

namespace consai2r2
{

namespace referee
{

enum
{
HALT = 0,
STOP,
FORCE_START = 3,
OUR_KICKOFF_PREPARATION = 11,
OUR_KICKOFF_START,
OUR_PENALTY_PREPARATION,
OUR_PENALTY_START,
OUR_DIRECT_FREE,
OUR_INDIRECT_FREE,
OUR_TIMEOUT,
OUR_GOAL,
OUR_BALL_PLACEMENT,
THEIR_KICKOFF_PREPARATION = 21,
THEIR_KICKOFF_START,
THEIR_PENALTY_PREPARATION,
THEIR_PENALTY_START,
THEIR_DIRECT_FREE,
THEIR_INDIRECT_FREE,
THEIR_TIMEOUT,
THEIR_GOAL,
THEIR_BALL_PLACEMENT
};

} // namespace referee

} // namespace consai2r2

#endif // CONSAI2R2_DESCRIPTION__REFEREE_HPP_

0 comments on commit 9fcd4bb

Please sign in to comment.