You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatically choose the number of waypoints passed to Ruckig at once #1439
The Ruckig trajectory smoother currently stretches the entire trajectory in time until all kinematic limits are obeyed. This works but it can slow the trajectory more than necessary. It's better to feed in just a few waypoints at once so only the waypoints needing it get stretched.
The downside of passing just a few waypoints at once is very long runtimes if the trajectory is very large. So, I think the number of waypoints passed to Ruckig should be chosen in a smarter way.
Attached is some code to feed in a configurable number of waypoints.
changed the title [-]Configure the number of waypoints passed to Ruckig at once[/-][+]Automatically choose the number of waypoints passed to Ruckig at once[/+]on Aug 4, 2022
Decided to test out the PR for adjustable waypoint batch sizes yesterday. Saw something interesting. Refer to the table below and the attached 2 CSV files showing all waypoints. You'll notice that when ruckig is run in batches, it can lengthen the trajectory an unexpected amount. It's unclear to me why. Any ideas? Note that I left the default arguments in runRuckigInBatches. Also note that both of these motions were Cartesian based. However, I've planned other cartesian based moves where this weird issue did not happen.
Activity
[-]Configure the number of waypoints passed to Ruckig at once[/-][+]Automatically choose the number of waypoints passed to Ruckig at once[/+]swiz23 commentedon Jan 6, 2023
Hi @AndyZe,
Decided to test out the PR for adjustable waypoint batch sizes yesterday. Saw something interesting. Refer to the table below and the attached 2 CSV files showing all waypoints. You'll notice that when ruckig is run in batches, it can lengthen the trajectory an unexpected amount. It's unclear to me why. Any ideas? Note that I left the default arguments in runRuckigInBatches. Also note that both of these motions were Cartesian based. However, I've planned other cartesian based moves where this weird issue did not happen.
Motion_1.txt
Motion_2.txt
@mechwiz, @nbbrooks, @JafarAbdi for better visibility.
AndyZe commentedon Feb 19, 2023
@swiz23 thanks for testing. I'll likely be looking into this soon. I'll open a new issue for this.
Closing this issue b/c it was completed by #1719
AndyZe commentedon Feb 19, 2023
New issue to track the bug noticed by @swiz23: #1960