Skip to content

Commit

Permalink
Set time of success position
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 28, 2023
1 parent 012bca4 commit 77cff4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1475,6 +1475,7 @@ JointTrajectoryController::set_success_trajectory_point()
// set last command to be repeated at success, no matter if it has nonzero velocity or
// acceleration
hold_position_msg_ptr_->points[0] = traj_external_point_ptr_->get_trajectory_msg()->points.back();
hold_position_msg_ptr_->points[0].time_from_start = rclcpp::Duration(0, 0);

// set flag, otherwise tolerances will be checked with success_trajectory_point too
rt_is_holding_.writeFromNonRT(true);
Expand Down

0 comments on commit 77cff4e

Please sign in to comment.