Skip to content

Commit

Permalink
Automatically acknowledge after /toggle_grip
Browse files Browse the repository at this point in the history
This should avoid that users need to do that in between calls to
/toggle_grip.
  • Loading branch information
stefanscherzinger committed Oct 18, 2024
1 parent fa5679b commit d313371
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ void SchunkGripperNode::toggle_grip_srv(const std::shared_ptr<std_srvs::srv::Tri
RCLCPP_WARN(this->get_logger(),"COMMAND FAILED");
res->success = false;
}
acknowledge();
last_command = 0;
gripper_updater->force_update();
finishedCommand();
Expand Down

0 comments on commit d313371

Please sign in to comment.