Skip to content

Commit

Permalink
Fix goal time violated
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Nachtigall authored and fmauch committed Jul 3, 2024
1 parent 1fb38b8 commit 6890d6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ controller_interface::return_type JointTrajectoryController::update(
// time_difference is
// - negative until first point is reached
// - counting from zero to time_from_start of next point
double time_difference = time.seconds() - segment_time_from_start.seconds();
const double time_difference = time_data.uptime.seconds() - segment_time_from_start.seconds();
bool tolerance_violated_while_moving = false;
bool outside_goal_tolerance = false;
bool within_goal_time = true;
Expand Down

0 comments on commit 6890d6e

Please sign in to comment.