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_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_STRATEGY_STRATEGY_EXECUTE_H_
6 #define ROBOTRTS_WS_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_STRATEGY_STRATEGY_EXECUTE_H_
28 explicit StrategyExecute(
const ros::NodeHandle &nh = ros::NodeHandle(
"~"));
51 #endif //ROBOTRTS_WS_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_STRATEGY_STRATEGY_EXECUTE_H_
std::shared_ptr< Blackboard > p_blackboard_
Definition: strategy_execute.h:37
StrategyExecute(const ros::NodeHandle &nh=ros::NodeHandle("~"))
the constructor
Definition: strategy_execute.cpp:11
static std::shared_ptr< StrategyExecute > GetStrategyExecute()
Definition: strategy_execute.cpp:117
void ChooseStrategyToExceed(const std::shared_ptr< MyRobot > &p_my_robot, int data)
Convert the strategy id to specific strategy.
Definition: strategy_execute.cpp:20
~StrategyExecute()=default
ros::Subscriber next_decision_sub_
Definition: strategy_execute.h:40
static std::shared_ptr< StrategyExecute > p_strategy_execute_
Definition: strategy_execute.h:42
Definition: behavior_test_node.h:14
Definition: blackboard_common.h:13
void NextDecisionCallBack(const std_msgs::Int32::ConstPtr &msg)
Definition: strategy_execute.cpp:99
Definition: strategy_execute.h:25
ros::NodeHandle nh_
Definition: strategy_execute.h:39