|
Thunderbots Project
|
#include <receiver_tactic.h>


Public Member Functions | |
| ReceiverTactic (const TbotsProto::ReceiverTacticConfig &receiver_config) | |
| void | updateControlParams (std::optional< Pass > updated_pass, bool disable_one_touch_shot=false) |
| 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 |
This tactic is for a robot receiving a pass.
Note that this tactic does not take into account the time the pass should occur at, it simply tries to move to the best position to receive the pass as possible
|
explicit |
Creates a new ReceiverTactic
| receiver_config | The config to fetch parameters from |
|
overridevirtual |
| void updateControlParams | ( | std::optional< Pass > | updated_pass, |
| bool | disable_one_touch_shot = false |
||
| ) |
Updates the control parameters for this ReceiverTactic.
| updated_pass | The pass this tactic should try to receive |
| disable_one_touch_shot | If set to true, the receiver will not perform a one-touch The robot will simply receive and dribble. |