personalrobotics / ada_ros2

ROS2 Hardware Interface and Description for the ADA Robot
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Modify RRT* `range` #17

Closed amalnanavati closed 1 year ago

amalnanavati commented 1 year ago

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: