MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / Execute

Method Execute

roborts_decision/executor/chassis_executor.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void ChassisExecutor::Execute(const geometry_msgs::PoseStamped &goal){
20 execution_mode_ = ExcutionMode::GOAL_MODE;
21 global_planner_goal_.goal = goal;
22 global_planner_client_.sendGoal(global_planner_goal_,
23 GlobalActionClient::SimpleDoneCallback(),
24 GlobalActionClient::SimpleActiveCallback(),
25 boost::bind(&ChassisExecutor::GlobalPlannerFeedbackCallback, this, _1));
26}
27
28void ChassisExecutor::Execute(const geometry_msgs::Twist &twist){
29 if( execution_mode_ == ExcutionMode::GOAL_MODE){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected