Skip to content
Snippets Groups Projects
Commit 0e1855e1 authored by Jayant Khatkar's avatar Jayant Khatkar
Browse files

bugfix slow down on real hardware (#18)

parent 5968e1ba
Branches
No related merge requests found
...@@ -84,4 +84,7 @@ def speed_multiplier(jtraj, multiplier): ...@@ -84,4 +84,7 @@ def speed_multiplier(jtraj, multiplier):
elif isinstance(jtraj, JointTrajectory): elif isinstance(jtraj, JointTrajectory):
for p in jtraj.points: for p in jtraj.points:
p.time_from_start = p.time_from_start*multiplier p.time_from_start = p.time_from_start*multiplier
p.velocities = []
p.accelerations = []
p.effort = []
return jtraj return jtraj
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