Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bigprint
twins-controller
Commits
0e1855e1
Commit
0e1855e1
authored
Feb 10, 2021
by
Jayant Khatkar
Browse files
bugfix slow down on real hardware (
#18
)
parent
5968e1ba
Changes
1
Show whitespace changes
Inline
Side-by-side
src/utils/planning_tools.py
View file @
0e1855e1
...
...
@@ -84,4 +84,7 @@ def speed_multiplier(jtraj, multiplier):
elif
isinstance
(
jtraj
,
JointTrajectory
):
for
p
in
jtraj
.
points
:
p
.
time_from_start
=
p
.
time_from_start
*
multiplier
p
.
velocities
=
[]
p
.
accelerations
=
[]
p
.
effort
=
[]
return
jtraj
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment