Skip to content

Commit 8695def

Browse files
committed
ExecuteTaskSolutionCapability: Rename goalCallback() -> execCallback()
1 parent a75d50e commit 8695def

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

capabilities/src/execute_task_solution_capability.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ void ExecuteTaskSolutionCapability::initialize() {
8585
// configure the action server
8686
as_.reset(new actionlib::SimpleActionServer<moveit_task_constructor_msgs::ExecuteTaskSolutionAction>(
8787
root_node_handle_, "execute_task_solution",
88-
std::bind(&ExecuteTaskSolutionCapability::goalCallback, this, std::placeholders::_1), false));
88+
std::bind(&ExecuteTaskSolutionCapability::execCallback, this, std::placeholders::_1), false));
8989
as_->registerPreemptCallback(std::bind(&ExecuteTaskSolutionCapability::preemptCallback, this));
9090
as_->start();
9191
}
9292

93-
void ExecuteTaskSolutionCapability::goalCallback(
93+
void ExecuteTaskSolutionCapability::execCallback(
9494
const moveit_task_constructor_msgs::ExecuteTaskSolutionGoalConstPtr& goal) {
9595
moveit_task_constructor_msgs::ExecuteTaskSolutionResult result;
9696

capabilities/src/execute_task_solution_capability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ExecuteTaskSolutionCapability : public MoveGroupCapability
6161
bool constructMotionPlan(const moveit_task_constructor_msgs::Solution& solution,
6262
plan_execution::ExecutableMotionPlan& plan);
6363

64-
void goalCallback(const moveit_task_constructor_msgs::ExecuteTaskSolutionGoalConstPtr& goal);
64+
void execCallback(const moveit_task_constructor_msgs::ExecuteTaskSolutionGoalConstPtr& goal);
6565
void preemptCallback();
6666

6767
std::unique_ptr<actionlib::SimpleActionServer<moveit_task_constructor_msgs::ExecuteTaskSolutionAction>> as_;

0 commit comments

Comments
 (0)