|
Thunderbots Project
|
#include <chip_tactic.h>


Public Member Functions | |
| ChipTactic () | |
| void | updateControlParams (const Point &chip_origin, const Angle &chip_direction, double chip_distance_meters) |
| void | updateControlParams (const Point &chip_origin, const Point &chip_target) |
| 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 |
The ChipTactic will move the assigned robot to the given chip origin and then chip the ball to the chip target.
|
explicit |
Creates a new ChipTactic
|
overridevirtual |
| void updateControlParams | ( | const Point & | chip_origin, |
| const Angle & | chip_direction, | ||
| double | chip_distance_meters | ||
| ) |
Updates the params for this tactic that cannot be derived from the world
| chip_origin | The location where the chip will be taken |
| chip_direction | The direction the Robot will chip in |
| chip_distance_meters | The distance between the starting location of the chip and the location of the first bounce |
Updates the control parameters for this ChipTactic.
| chip_origin | The location where the chip will be taken |
| chip_direction | The direction the Robot will chip in |