diff --git a/tesseract_time_parameterization/totg/src/time_optimal_trajectory_generation.cpp b/tesseract_time_parameterization/totg/src/time_optimal_trajectory_generation.cpp index c254e24f7d..242a59fef8 100644 --- a/tesseract_time_parameterization/totg/src/time_optimal_trajectory_generation.cpp +++ b/tesseract_time_parameterization/totg/src/time_optimal_trajectory_generation.cpp @@ -956,7 +956,7 @@ bool Trajectory::assignData(TrajectoryContainer& trajectory, const std::vector prev_time)) - time = prev_time + 1e-16; + time = prev_time + 1e-8; path_data = getPathData(time); uv = getVelocity(path_data).head(trajectory.dof()); @@ -967,7 +967,10 @@ bool Trajectory::assignData(TrajectoryContainer& trajectory, const std::vector prev_time)) + time = prev_time + 1e-8; + + path_data = getPathData(time); uv = getVelocity(path_data).head(trajectory.dof()); ua = getAcceleration(path_data).head(trajectory.dof()); trajectory.setData((trajectory.size() - 1), uv, ua, time);