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.
Description
Motivated by ada_feeding#72.
Earlier, the
range
for RRT* was set to 0.0 which, internally in OMPL, ended up being set to 7.079055 for ADA (determined through the debug logs). This resulted in some plans that made needlessly large motions, like reaching across the user and overshooting in order to go from the resting configuration to the staging configuration.Smaller
range
increases planning time, but results in more concise motions.range: 3.5
had better motions but some still overshot.range: 1.75
had good motions, but often failed to find a plan within 2-2.5 secs.range: 2.5
empirically seemed like a good compromise.This PR also updates the moveit configuration to handle workspace bounds ada_feeding#82, by making the initial position the home position, and rotating MoveIt to have visibility inside the walls.
Further Improving Plan Quality
As an aside, here are some tuning steps we should consider doing in the future to further improve planning:
ExactSolution
. If that empirically results in similar plans, then stick with that and bump up the planning time, so that the planner returns as soon as it finds a solution as opposed to continuing to optimize as long as it has time.