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 0830c6e commit 59aa7f3Copy full SHA for 59aa7f3
joint_trajectory_controller/src/joint_trajectory_controller.cpp
@@ -252,7 +252,7 @@ controller_interface::return_type JointTrajectoryController::update(
252
// time_difference is
253
// - negative until first point is reached
254
// - counting from zero to time_from_start of next point
255
- double time_difference = time.seconds() - segment_time_from_start.seconds();
+ const double time_difference = time_data.uptime.seconds() - segment_time_from_start.seconds();
256
bool tolerance_violated_while_moving = false;
257
bool outside_goal_tolerance = false;
258
bool within_goal_time = true;
0 commit comments