Skip to content

Commit 950a83b

Browse files
committed
Add Anytime Path Shortening
1 parent 12c5456 commit 950a83b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ada_moveit/config/ompl_planning.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ request_adapters: >-
1111
default_planner_request_adapters/FixWorkspaceBounds
1212
# 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
1313
planner_configs:
14+
AnytimePathShortening:
15+
type: geometric::AnytimePathShortening
16+
shortcut: 1 # Attempt to shortcut all new solution paths
17+
hybridize: 1 # Compute hybrid solution trajectories
18+
max_hybrid_paths: 24 # Number of hybrid paths generated per iteration
19+
num_planners: 4 # The number of default planners to use for planning
20+
planners: "RRTConnect" # 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]"
1421
SBLkConfigDefault:
1522
type: geometric::SBL
1623
range: 0.0 # Max motion added to tree. ==> maxDistance_ default: 0.0, if 0.0, set on setup()
@@ -68,6 +75,7 @@ jaco_arm:
6875
enforce_constrained_state_space: true
6976
projection_evaluator: joints(j2n6s200_joint_1,j2n6s200_joint_2)
7077
planner_configs:
78+
- AnytimePathShortening
7179
- SBLkConfigDefault
7280
- ESTkConfigDefault
7381
- LBKPIECEkConfigDefault

0 commit comments

Comments
 (0)