Skip to content

Commit

Permalink
Fix including of moveit parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Nov 19, 2024
1 parent 8cc0eb1 commit be0865d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def launch_setup(context, *args, **kwargs):
"abb_irb1300_10_115_moveit_config", "config/kinematics.yaml"
)

joint_limits_yaml = {
"robot_description_planning": load_yaml("abb_irb1300_10_115_moveit_config", "config/joint_limits.yaml")
}

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
Expand All @@ -99,8 +103,8 @@ def launch_setup(context, *args, **kwargs):
"abb_irb1300_10_115_moveit_config", "config/moveit_controllers.yaml"
)
moveit_controllers = {
"moveit_simple_controller_manager": moveit_simple_controllers_yaml,
"moveit_controller_manager": "moveit_simple_controller_manager/MoveItSimpleControllerManager",
"moveit_simple_controller_manager": moveit_simple_controllers_yaml["moveit_simple_controller_manager"],
}

trajectory_execution = {
Expand All @@ -127,6 +131,7 @@ def launch_setup(context, *args, **kwargs):
robot_description,
robot_description_semantic,
kinematics_yaml,
joint_limits_yaml,
ompl_planning_pipeline_config,
trajectory_execution,
moveit_controllers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def launch_setup(context, *args, **kwargs):
"abb_irb910sc_3_45_moveit_config", "config/kinematics.yaml"
)

joint_limits_yaml = {
"robot_description_planning": load_yaml("abb_irb910sc_3_45_moveit_config", "config/joint_limits.yaml")
}

# Planning Functionality
ompl_planning_pipeline_config = {
"move_group": {
Expand All @@ -100,8 +104,8 @@ def launch_setup(context, *args, **kwargs):
"abb_irb910sc_3_45_moveit_config", "config/moveit_controllers.yaml"
)
moveit_controllers = {
"moveit_simple_controller_manager": moveit_simple_controllers_yaml,
"moveit_controller_manager": "moveit_simple_controller_manager/MoveItSimpleControllerManager",
"moveit_simple_controller_manager": moveit_simple_controllers_yaml["moveit_simple_controller_manager"],
}

trajectory_execution = {
Expand All @@ -128,6 +132,7 @@ def launch_setup(context, *args, **kwargs):
robot_description,
robot_description_semantic,
kinematics_yaml,
joint_limits_yaml,
ompl_planning_pipeline_config,
trajectory_execution,
moveit_controllers,
Expand Down
2 changes: 1 addition & 1 deletion nexus_motion_planner/launch/demo_planner_server.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def launch_setup(context, *args, **kwargs):
moveit_config_package.perform(context), "config/moveit_controllers.yaml"
)
moveit_controllers = {
"moveit_simple_controller_manager": moveit_simple_controllers_yaml,
"moveit_simple_controller_manager": moveit_simple_controllers_yaml["moveit_simple_controller_manager"],
"moveit_controller_manager": "moveit_simple_controller_manager/MoveItSimpleControllerManager",
}

Expand Down

0 comments on commit be0865d

Please sign in to comment.