Skip to content

Commit

Permalink
Added a launch file and modified the documentation so it's easier to …
Browse files Browse the repository at this point in the history
…run the MoveIt Python example (#53)
  • Loading branch information
alexvannobel authored Nov 12, 2019
1 parent 5fe92ca commit 1f1c29b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions kortex_examples/launch/moveit_example.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<launch>

<!-- Robot namespace -->
<arg name="robot_name" default="my_gen3"/>

<!-- Launch the example in that namespace -->
<node name="moveit_example" pkg="kortex_examples" type="example_move_it_trajectories.py" ns="$(arg robot_name)" output="screen"/>

</launch>
4 changes: 2 additions & 2 deletions kortex_examples/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ If you started the `kortex_driver` node in a non-default namespace (not **my_gen

The example looks for advertised services and topics in the **my_gen3** namespace by default.

To run the example: `rosrun kortex_examples example_move_it_trajectories.py`
To run the example: `roslaunch kortex_examples moveit_example.launch`

If you started the `kortex_driver` node in a non-default namespace (not **my_gen3**), you will have to supply the node your own namespace in the command line :

`rosrun kortex_examples example_full_arm_movement_cpp __ns:=<your_own_namespace>`
`roslaunch kortex_examples moveit_example.launch robot_name:=<your_own_namespace>`

0 comments on commit 1f1c29b

Please sign in to comment.