Skip to content
Snippets Groups Projects
Commit 0ad8ccaa authored by abubeck's avatar abubeck
Browse files

port of PR #157 to indigo

parent 76265461
Branches
Tags
No related merge requests found
...@@ -759,7 +759,7 @@ class URTrajectoryFollower(object): ...@@ -759,7 +759,7 @@ class URTrajectoryFollower(object):
# Inserts the current setpoint at the head of the trajectory # Inserts the current setpoint at the head of the trajectory
now = time.time() now = time.time()
point0 = sample_traj(self.traj, now) point0 = sample_traj(self.traj, now - self.traj_t0)
point0.time_from_start = rospy.Duration(0.0) point0.time_from_start = rospy.Duration(0.0)
goal_handle.get_goal().trajectory.points.insert(0, point0) goal_handle.get_goal().trajectory.points.insert(0, point0)
self.traj_t0 = now self.traj_t0 = now
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment