|
Thunderbots Project
|


Public Member Functions | |
| PivotKickTactic (TbotsProto::AiConfig ai_config) | |
| DEFINE_TACTIC_DONE_AND_GET_FSM_STATE void | updateControlParams (const Point &kick_origin, const Angle &kick_direction, AutoChipOrKick auto_chip_or_kick) |
| void | accept (TacticVisitor &visitor) const override |
Public Member Functions inherited from Tactic | |
| Tactic (const std::set< RobotCapability > &capability_reqs_) | |
| virtual bool | done () const =0 |
| virtual std::string | getFSMState () const =0 |
| const std::set< RobotCapability > & | robotCapabilityRequirements () const |
| std::set< RobotCapability > & | mutableRobotCapabilityRequirements () |
| void | setLastExecutionRobot (std::optional< RobotId > last_execution_robot) |
| std::map< RobotId, std::shared_ptr< Primitive > > | get (const WorldPtr &world_ptr) |
Additional Inherited Members | |
Protected Attributes inherited from Tactic | |
| std::optional< RobotId > | last_execution_robot |
|
explicit |
Creates a new PivotKickTactic
| ai_config | The AI configuration |
|
overridevirtual |
| void updateControlParams | ( | const Point & | kick_origin, |
| const Angle & | kick_direction, | ||
| AutoChipOrKick | auto_chip_or_kick | ||
| ) |
Update control params for this tactic
| kick_origin | The location where the kick will be taken |
| kick_direction | The direction the Robot will kick in |
| auto_chip_or_kick | The command to autochip or autokick |