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

Classes

struct  ControlParams
 

Public Member Functions

DEFINE_TACTIC_UPDATE_STRUCT_WITH_CONTROL_AND_COMMON_PARAMS void updateChip (const Update &event)
 
void updateGetBehindBall (const Update &event, boost::sml::back::process< GetBehindBallFSM::Update > processEvent)
 
bool ballChicked (const Update &event)
 
bool shouldRealignWithBall (const Update &event)
 
auto operator() ()
 

Member Function Documentation

◆ ballChicked()

bool ballChicked ( const Update &  event)

Guard that checks if the ball has been chicked

Parameters
eventChipFSM::Update event
Returns
if the ball has been chicked

◆ shouldRealignWithBall()

bool shouldRealignWithBall ( const Update &  event)

Guard that checks if the robot is aligned for the chip

Parameters
eventKickFSM::Update event
Returns
if the robot is aligned for the chip

◆ updateChip()

void updateChip ( const Update &  event)

Action that updates the MovePrimitive

Parameters
eventChipFSM::Update event

◆ updateGetBehindBall()

void updateGetBehindBall ( const Update &  event,
boost::sml::back::process< GetBehindBallFSM::Update >  processEvent 
)

Action that updates the GetBehindBallFSM

Parameters
eventChipFSM::Update event
processEventprocesses the GetBehindBallFSM::Update

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