Thunderbots Project
Loading...
Searching...
No Matches
PenaltyKickEnemyPlayFSM Struct Reference

Classes

struct  ControlParams
 

Public Member Functions

DEFINE_PLAY_UPDATE_STRUCT_WITH_CONTROL_AND_COMMON_PARAMS PenaltyKickEnemyPlayFSM (TbotsProto::AiConfig ai_config)
 
void setupPosition (const Update &event)
 
void defendKick (const Update &event)
 
bool setupPositionDone (const Update &event)
 
auto operator() ()
 

Constructor & Destructor Documentation

◆ PenaltyKickEnemyPlayFSM()

PenaltyKickEnemyPlayFSM ( TbotsProto::AiConfig  ai_config)
explicit

Creates a penalty kick enemy play FSM

Parameters
ai_configthe play config for this play FSM

Member Function Documentation

◆ defendKick()

void defendKick ( const Update &  event)

Action to make the defending goalkeeper defend against the enemy penalty kick

Parameters
eventthe FSM event

◆ setupPosition()

void setupPosition ( const Update &  event)

Action to set up the robots in position to start the enemy penalty kick

Parameters
eventthe FSM event

◆ setupPositionDone()

bool setupPositionDone ( const Update &  event)

Guard to check if robots are in position to start the enemy penalty kick

Parameters
eventthe FSM event
Returns
whether the robots have gotten into position to start the enemy penalty kick

The documentation for this struct was generated from the following files: