Fawkes API
Fawkes Development Version
|
24 #ifndef _REFBOXCOMM_ENUMS_H_
25 #define _REFBOXCOMM_ENUMS_H_
const char * worldinfo_penalty_tostring(worldinfo_penalty_t penalty)
Convert penalty to a string.
const char * worldinfo_gamestate_team_tostring(worldinfo_gamestate_team_t team)
Convert gamestate team to a string.
@ TEAM_MAGENTA
Magenta team.
const char * worldinfo_spl_gamestate_tostring(worldinfo_spl_gamestate_t gamestate)
Convert MSL gamestate to a string.
worldinfo_spl_gamestate_t
Game states for RoboCup SPL.
@ GS_PENALTY
Penalty kick.
@ PENALTY_REQ_FOR_PICKUP
Robot was requested for pick up.
@ GS_CORNER_KICK
Corner kick.
@ GS_SPL_SET
Wait for kick-off.
@ PENALTY_ILLEGAL_DEFENSE
Illegal defense.
@ GOAL_YELLOW
Yellow goal.
@ TEAM_NONE
No team, not team-specific.
@ GS_FROZEN
Frozen, nothing moves.
const char * worldinfo_gamestate_half_tostring(worldinfo_gamestate_half_t half)
Convert half time to a string.
const char * worldinfo_gamestate_goalcolor_tostring(worldinfo_gamestate_goalcolor_t goal_color)
Convert goal color to a string.
@ HALF_SECOND
Second half.
worldinfo_penalty_t
Robot penalty code.
worldinfo_gamestate_goalcolor_t
Goal color.
@ GS_SPL_FINISHED
Corner kick.
worldinfo_gamestate_team_t
Team.
@ PENALTY_DAMAGE
Robot is damaged.
@ PENALTY_OBSTRUCTION
Robot obstructs path way.
@ PENALTY_NONE
No penalty.
const char * worldinfo_msl_gamestate_tostring(worldinfo_msl_gamestate_t gamestate)
Convert MSL gamestate to a string.
worldinfo_gamestate_half_t
Game time half.
@ PENALTY_PLAYER_PUSHING
Robot pushed a player.
worldinfo_msl_gamestate_t
Game states for RoboCup MSL.
@ PENALTY_MANUAL
Manually penalized.
@ PENALTY_ILLEGAL_DEFENDER
Robot is an illegal defender.
@ PENALTY_GOALIE_PUSHING
Robot pushed the goalie.
@ GS_DROP_BALL
Referee drops ball, both teams can wrestle for the ball.
@ PENALTY_BALL_HOLDING
Robot hold the ball.
@ GS_PLAY
Play, normal play.
@ GS_SPL_READY
Move to kick-off positions.
@ PENALTY_LEAVING
Robot has to leave.
@ GS_SPL_INITIAL
Initial setup phase.