Thunderbots Project
Loading...
Searching...
No Matches
get_behind_ball_tactic.h
1#pragma once
2
3#include "software/ai/hl/stp/tactic/get_behind_ball/get_behind_ball_fsm.h"
4#include "software/ai/hl/stp/tactic/tactic.h"
5
11{
12 public:
16 explicit GetBehindBallTactic();
17
24 void updateControlParams(const Point& ball_location, Angle chick_direction);
25
26 void accept(TacticVisitor& visitor) const override;
27
28 DEFINE_TACTIC_DONE_AND_GET_FSM_STATE
29
30 private:
31 void updatePrimitive(const TacticUpdate& tactic_update, bool reset_fsm) override;
32
33 std::map<RobotId, std::unique_ptr<FSM<GetBehindBallFSM>>> fsm_map;
34
36};
Definition angle.h:15
Definition get_behind_ball_tactic.h:11
void accept(TacticVisitor &visitor) const override
Definition get_behind_ball_tactic.cpp:23
void updateControlParams(const Point &ball_location, Angle chick_direction)
Definition get_behind_ball_tactic.cpp:16
GetBehindBallTactic()
Definition get_behind_ball_tactic.cpp:5
Definition point.h:14
Definition tactic_visitor.h:39
Definition tactic.h:39
Definition get_behind_ball_fsm.h:13
Definition tactic_fsm.h:16