soccer_strategy.communication.game_controller_receiver.GameStateReceiver
- class soccer_strategy.communication.game_controller_receiver.GameStateReceiver[source]
Bases:
objectGet information about the GameState and publish to /robotx/game_state
Methods
__init__()answer_to_gamecontroller(peer)Answer the game controller information it requires :param peer: Don't know
on_new_gamestate(state)Publish information about the game state :param state: state of the game :return:
Runs the main loop and gets information from the game controller
Attributes
DEFAULT_LISTENING_HOSTGAME_CONTROLLER_ANSWER_PORTGAME_CONTROLLER_LISTEN_PORT- answer_to_gamecontroller(peer)[source]
Answer the game controller information it requires :param peer: Don’t know