Fawkes API Fawkes Development Version
|
Game state message. More...
#include <messages.h>
Public Attributes | |
uint32_t | game_state: 4 |
Current game state, can be freely chosen, worldinfo_gamestate_t provides recommended values for soccer games. | |
uint32_t | state_team: 2 |
Team the game state references. | |
uint32_t | score_cyan: 8 |
Score of team cyan. | |
uint32_t | score_magenta: 8 |
Score of team magenta. | |
uint32_t | our_team: 2 |
Our team color. | |
uint32_t | our_goal_color: 1 |
Our own goal color. | |
uint32_t | half: 1 |
Game time half. | |
uint32_t | reserved: 6 |
Reserved for future use. |
Game state message.
This message is sent by the refbox repeater to indicate the current game state.
Definition at line 228 of file messages.h.
Current game state, can be freely chosen, worldinfo_gamestate_t provides recommended values for soccer games.
Definition at line 229 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_gamestate().
Game time half.
Definition at line 237 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_half().
Our own goal color.
Definition at line 236 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_team_goal().
Our team color.
Definition at line 235 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_team_goal().
Reserved for future use.
Definition at line 238 of file messages.h.
Score of team cyan.
Definition at line 233 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_score().
Score of team magenta.
Definition at line 234 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_score().
Team the game state references.
Definition at line 232 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::set_gamestate().