mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Fix compiler warnings
This commit is contained in:
parent
7c66b85aa7
commit
08dbd54a4b
@ -126,7 +126,7 @@ void ExecuteTaskSolutionCapability::goalCallback(
|
||||
}
|
||||
|
||||
rclcpp_action::CancelResponse ExecuteTaskSolutionCapability::preemptCallback(
|
||||
const std::shared_ptr<rclcpp_action::ServerGoalHandle<ExecuteTaskSolutionAction>> goal_handle) {
|
||||
const std::shared_ptr<rclcpp_action::ServerGoalHandle<ExecuteTaskSolutionAction>> /*goal_handle*/) {
|
||||
if (context_->plan_execution_)
|
||||
context_->plan_execution_->stop();
|
||||
return rclcpp_action::CancelResponse::ACCEPT;
|
||||
|
||||
@ -69,8 +69,8 @@ private:
|
||||
preemptCallback(const std::shared_ptr<rclcpp_action::ServerGoalHandle<ExecuteTaskSolutionAction>> goal_handle);
|
||||
|
||||
/** Always accept the goal */
|
||||
rclcpp_action::GoalResponse handleNewGoal(const rclcpp_action::GoalUUID& uuid,
|
||||
const ExecuteTaskSolutionAction::Goal::ConstSharedPtr goal) const {
|
||||
rclcpp_action::GoalResponse handleNewGoal(const rclcpp_action::GoalUUID& /*uuid*/,
|
||||
const ExecuteTaskSolutionAction::Goal::ConstSharedPtr /*goal*/) const {
|
||||
return rclcpp_action::GoalResponse::ACCEPT_AND_EXECUTE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user