Repository navigation
Faster first solutions and small fixes for G-RRT* - #127
Merged
Merged
Conversation
Member
|
Awesome, thank you! I'll see if I can get this reviewed today. |
claytonwramsey
approved these changes
Nov 24, 2026
claytonwramsey
left a comment
Member
There was a problem hiding this comment.
good work! My only request is that you can now add yourself to the README and bibliography.
This repository now has a bunch of papers in it too... at some point in the future it might be wise to start factoring citations out into a different file, or to their relevant spot in the source code.
mlsdpk
force-pushed
the
grrtstar-perf-fixes
branch
from
November 24, 2026 20:29
3a2e3c2 to
efeb78a
Compare
Contributor
Author
|
Thanks! I added G-RRT* to the README and the bibliography, and also updated the AORRTC citation to the published RA-L issue. Looks like format checking is failing but I think the failure is from main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey guys, a few follow-ups to G-RRT* from #95. Everything is in
grrtstar.hh, and the algorithm and its default settings stay the same.solve()used to zero-fill sixmax_samplesarrays on every call (about 42 MB with the Python default of 10^6), which often took longer than the planning itself. Those arrays now grow with the trees, so the first solution shows up much sooner.I ran it against RRT-Connect, AORRTC, FCIT* and the existing G-RRT* of VAMP on every MotionBenchMaker problem for Panda, UR5 and Fetch and on a subset for Baxter. The first solution now comes in about 0.1 ms instead of about 4 ms on Panda and UR5, and convergence stays the same or gets better on every robot.
Here are a few of its solutions, from easier to harder problems. Each panel plays the first solution and then the best one within the time budget, both after simplification.
A few more things.
validate_motioncan accept motions that collide (Python/WASMvalidate_motionchecks at resolution 1 instead ofRobot::resolution, so it accepts colliding motions #126). I tried checking atRobot::resolutionin Python bindings and those motions get rejected, so that should take care of the collisions people see when checking paths from Python.grrtstar.hh. If this one goes in first, feat: Non-Euclidean robots and traced distance/interpolation #119 will need these changes merged in. Note that the straight-line shortcut returns early because a valid straight line is optimal under the Euclidean metric, which may not be true for a non-Euclidean robot.