Decision Module
1.0
ICRA2020 AI Challenge Northwestern Polytechnical University Aoxiang Team Strategy Code
|
Go to the documentation of this file.
5 #ifndef ROBOTRTS_WS_ABSTRACT_COMMON_STRATEGY_H
6 #define ROBOTRTS_WS_ABSTRACT_COMMON_STRATEGY_H
8 #include "../blackboard/my_robot.h"
9 #include "../blackboard/blackboard.h"
38 std::shared_ptr<Blackboard> _p_blackboard_)
46 virtual void run() = 0;
61 #endif //ROBOTRTS_WS_ABSTRACT_COMMON_STRATEGY_H
@ keepDirectionDefendMove
Definition: abstract_common_strategy.h:35
std::shared_ptr< MyRobot > p_my_robot_
Definition: abstract_common_strategy.h:55
virtual bool CanExecuteMe()=0
@ IDLE
Idle state, state as default or after cancellation.
@ keepDirectionAttackMove
StrategyID
Definition: abstract_common_strategy.h:17
virtual StrategyID getID()=0
std::shared_ptr< Blackboard > p_blackboard_
Definition: abstract_common_strategy.h:56
Definition: behavior_test_node.h:14
virtual BehaviorState Update()=0
BehaviorState behavior_state_
Definition: abstract_common_strategy.h:57
BehaviorState
Behavior state.
Definition: behavior_state.h:11
AbstractCommonStrategy(std::shared_ptr< MyRobot > _p_my_robot_, std::shared_ptr< Blackboard > _p_blackboard_)
Definition: abstract_common_strategy.h:37