Decision Module  1.0
ICRA2020 AI Challenge Northwestern Polytechnical University Aoxiang Team Strategy Code
toWorseOpp_shoot_strategy.h
Go to the documentation of this file.
1 //
2 // Created by lq on 2020/7/25.
3 //
4 
5 #ifndef ICRA_FIREFLY_ROBORTS_TOWORSEOPP_SHOOT_STRATEGY_H
6 #define ICRA_FIREFLY_ROBORTS_TOWORSEOPP_SHOOT_STRATEGY_H
7 
8 #include "../abstract_common_strategy.h"
9 
10 namespace roborts_decision {
11 
13 
14 public:
15  ToWorseOppShootStrategy(const std::shared_ptr<MyRobot> &pMyRobot, const std::shared_ptr<Blackboard> &pBlackboard);
16 
17  void run();
18 
20  // TODO
21  virtual bool CanExecuteMe() {
22  return true;
23  }
24  // TODO
25  virtual BehaviorState Update(){
27  }
28  // TODO
29  virtual void Reset(){
30 
31  }
32 
33 };
34 }
35 
36 #endif //ICRA_FIREFLY_ROBORTS_TOWORSEOPP_SHOOT_STRATEGY_H
roborts_decision::ToWorseOppShootStrategy::getID
StrategyID getID() override
Definition: toWorseOpp_shoot_strategy.h:19
roborts_decision::AbstractCommonStrategy
Definition: abstract_common_strategy.h:35
roborts_decision::ToWorseOppShootStrategy::run
void run()
Definition: toWorseOpp_shoot_strategy.cpp:12
roborts_decision::StrategyID
StrategyID
Definition: abstract_common_strategy.h:17
roborts_decision::ToWorseOppShootStrategy::CanExecuteMe
virtual bool CanExecuteMe()
Definition: toWorseOpp_shoot_strategy.h:21
roborts_decision::ToWorseOppShootStrategy::ToWorseOppShootStrategy
ToWorseOppShootStrategy(const std::shared_ptr< MyRobot > &pMyRobot, const std::shared_ptr< Blackboard > &pBlackboard)
Definition: toWorseOpp_shoot_strategy.cpp:7
roborts_decision
Definition: behavior_test_node.h:14
roborts_decision::ToWorseOppShootStrategy
Definition: toWorseOpp_shoot_strategy.h:12
roborts_decision::ToWorseOppShootStrategy::Update
virtual BehaviorState Update()
Definition: toWorseOpp_shoot_strategy.h:25
roborts_decision::ToWorseOppShootStrategy::Reset
virtual void Reset()
Definition: toWorseOpp_shoot_strategy.h:29
roborts_decision::BehaviorState::SUCCESS
@ SUCCESS
Success state as result.
roborts_decision::BehaviorState
BehaviorState
Behavior state.
Definition: behavior_state.h:11
roborts_decision::StrategyID::toWorseOppShoot
@ toWorseOppShoot