Skip to content

Commit 5ea90f5

Browse files
committed
Further tune range
1 parent 130109d commit 5ea90f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ada_moveit/config/ompl_planning.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ request_adapters: >-
88
default_planner_request_adapters/FixWorkspaceBounds
99
# Based on Kinova's parameters: https://github.com/Kinovarobotics/kinova-ros/blob/noetic-devel/kinova_moveit/robot_configs/j2n6s300_moveit_config/config/ompl_planning.yaml
1010
planner_configs:
11+
# NOTE: In practice, MoveIt2 hybridizes and shortcuts by default:
12+
# https://github.com/moveit/moveit2/blob/e7872ebf92146bb80930ec98cf6c181e8384e99c/moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp#L81
1113
AnytimePathShortening:
1214
type: geometric::AnytimePathShortening
1315
shortcut: 1 # Attempt to shortcut all new solution paths
1416
hybridize: 1 # Compute hybrid solution trajectories
1517
max_hybrid_paths: 8 # Number of hybrid paths generated per iteration
1618
num_planners: 4 # The number of default planners to use for planning
17-
planners: "RRTConnect[intermediate_states=0 range=0.05]" # A comma-separated list of planner types (e.g., "PRM,EST,RRTConnect"Optionally, planner parameters can be passed to change the default:"PRM[max_nearest_neighbors=5],EST[goal_bias=.5],RRT[range=10. goal_bias=.1]"
19+
planners: "RRTConnect[range=0.01]" # A comma-separated list of planner types (e.g., "PRM,EST,RRTConnect"Optionally, planner parameters can be passed to change the default:"PRM[max_nearest_neighbors=5],EST[goal_bias=.5],RRT[range=10. goal_bias=.1]"
1820
SBLkConfigDefault:
1921
type: geometric::SBL
2022
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
@@ -47,7 +49,7 @@ planner_configs:
4749
RRTConnectkConfigDefault:
4850
type: geometric::RRTConnect
4951
intermediate_states: 0 # Whether to add intermediate states to the plan, default 0
50-
range: 0.05 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
52+
range: 0.01 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
5153
RRTstarkConfigDefault:
5254
type: geometric::RRTstar
5355
range: 3.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup() (in practice, for ADA, this default is ~7)

0 commit comments

Comments
 (0)