Skip to content

Commit 7e1bf7f

Browse files
set_hold_position on success
1 parent 6133afd commit 7e1bf7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

joint_trajectory_controller/src/joint_trajectory_controller.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ controller_interface::return_type JointTrajectoryController::update(
345345
{
346346
if (!outside_goal_tolerance)
347347
{
348+
set_hold_position();
348349
auto res = std::make_shared<FollowJTrajAction::Result>();
349350
res->set__error_code(FollowJTrajAction::Result::SUCCESSFUL);
350351
active_goal->setSucceeded(res);

0 commit comments

Comments
 (0)