Skip to content

Creating MoveIt Plugins Example Launchfile Fix #712

@nhewitt99

Description

@nhewitt99

Description

Not sure if I'm missing something, but it seems like the launchfile included for the "Creating MoveIt Plugins" example (implementing a lerp planner) is incomplete. It only starts up one node, but the MoveIt Noetic docs explain that it should spin up the panda_moveit_config demo launchfile.

I have a proposed fix and wonder if I should put together a PR.

Your environment

Steps to reproduce

Running roslaunch moveit_tutorials lerp_example.launch yields Robot model not loaded, and the node dies.

Fix

It looks like the launchfile wasn't completed when it was committed. The following works as expected.

<launch>

  <include file="$(find panda_moveit_config)/launch/demo.launch">
    <arg name="pipeline" value="lerp"/>
  </include>

  <!-- Launch main node -->
  <node name="$(anon moveit_tutorials)" pkg="moveit_tutorials" type="lerp_example" respawn="false" output="screen">

    <!-- Robot-specific settings -->
    <rosparam file="$(find panda_moveit_config)/config/lerp_planning.yaml" command="load"/>
  </node>

</launch>

Expected behaviour

Running roslaunch moveit_tutorials lerp_example.launch should launch an rviz instance where a lerp planner is available for motion planning on a panda arm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions