Skip to content

Commit

Permalink
Remove custom OMPL config
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
  • Loading branch information
luca-della-vedova committed Nov 19, 2024
1 parent ff23973 commit b89f839
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,8 @@ def launch_setup(context, *args, **kwargs):

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
"planning_plugins": ["ompl_interface/OMPLPlanner"],
"request_adapters": """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/ResolveConstraintFrames default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""",
"start_state_max_bounds_error": 0.1,
}
"move_group": load_yaml(moveit_config_package, "config/ompl_planning.yaml")
}
ompl_planning_yaml = load_yaml(
"abb_irb1300_10_115_moveit_config", "config/ompl_planning.yaml"
)
ompl_planning_pipeline_config["move_group"].update(ompl_planning_yaml)

# Trajectory Execution Functionality
moveit_simple_controllers_yaml = load_yaml(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,8 @@ def launch_setup(context, *args, **kwargs):

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
"planning_plugins": ["ompl_interface/OMPLPlanner"],
"request_adapters": """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/ResolveConstraintFrames default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""",
"start_state_max_bounds_error": 0.1,
}
"move_group": load_yaml(moveit_config_package, "config/ompl_planning.yaml")
}
ompl_planning_yaml = load_yaml(
"abb_irb910sc_3_45_moveit_config", "config/ompl_planning.yaml"
)
ompl_planning_pipeline_config["move_group"].update(ompl_planning_yaml)

# Trajectory Execution Functionality
moveit_simple_controllers_yaml = load_yaml(
Expand Down
10 changes: 1 addition & 9 deletions nexus_motion_planner/launch/demo_planner_server.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,8 @@ def launch_setup(context, *args, **kwargs):

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
"planning_plugins": ["ompl_interface/OMPLPlanner"],
"request_adapters": """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/ResolveConstraintFrames default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""",
"start_state_max_bounds_error": 0.1,
}
"move_group": load_yaml(moveit_config_package, "config/ompl_planning.yaml")
}
ompl_planning_yaml = load_yaml(
moveit_config_package.perform(context), "config/ompl_planning.yaml"
)
ompl_planning_pipeline_config["move_group"].update(ompl_planning_yaml)

# Trajectory Execution Functionality
moveit_simple_controllers_yaml = load_yaml(
Expand Down
10 changes: 1 addition & 9 deletions nexus_motion_planner/test/test_request.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,8 @@ def generate_test_description():

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
"planning_plugins": ["ompl_interface/OMPLPlanner"],
"request_adapters": """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/ResolveConstraintFrames default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""",
"start_state_max_bounds_error": 0.1,
}
"move_group": load_yaml(moveit_config_package, "config/ompl_planning.yaml")
}
ompl_planning_yaml = load_yaml(
moveit_config_package, "config/ompl_planning.yaml"
)
ompl_planning_pipeline_config["move_group"].update(ompl_planning_yaml)

# Trajectory Execution Functionality
moveit_simple_controllers_yaml = load_yaml(
Expand Down
10 changes: 1 addition & 9 deletions nexus_motion_planner/test/test_request_with_cache.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,8 @@ def generate_test_description():

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
"planning_plugins": ["ompl_interface/OMPLPlanner"],
"request_adapters": """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/ResolveConstraintFrames default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""",
"start_state_max_bounds_error": 0.1,
}
"move_group": load_yaml(moveit_config_package, "config/ompl_planning.yaml")
}
ompl_planning_yaml = load_yaml(
moveit_config_package, "config/ompl_planning.yaml"
)
ompl_planning_pipeline_config["move_group"].update(ompl_planning_yaml)

# Trajectory Execution Functionality
moveit_simple_controllers_yaml = load_yaml(
Expand Down

0 comments on commit b89f839

Please sign in to comment.