We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cd152 commit aef0ce0Copy full SHA for aef0ce0
joint_trajectory_controller/src/joint_trajectory_controller.cpp
@@ -204,7 +204,7 @@ controller_interface::return_type JointTrajectoryController::update(
204
// time_difference is
205
// - negative until first point is reached
206
// - counting from zero to time_from_start of next point
207
- double time_difference = time.seconds() - segment_time_from_start.seconds();
+ const double time_difference = time_data.uptime.seconds() - segment_time_from_start.seconds();
208
bool tolerance_violated_while_moving = false;
209
bool outside_goal_tolerance = false;
210
bool within_goal_time = true;
0 commit comments