Skip to content

Commit 67683d8

Browse files
authored
IKFast tutorial: clarify where to run the commands
1 parent 6a6c015 commit 67683d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/ikfast/ikfast_tutorial.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ To facilitate copy-and-paste, we suggest to define the robot name as an environm
6666
export MYROBOT_NAME="panda"
6767

6868
OpenRAVE uses Collada instead of URDF to describe the robot. In order to automatically convert your robot's URDF to Collada, you need to provide the .urdf file.
69-
If your .urdf file is generated from `xacro <http://wiki.ros.org/xacro/>`_ files, you can generate the URDF using the following command: ::
69+
If your .urdf file is generated from `xacro <http://wiki.ros.org/xacro/>`_ files, you can generate the URDF in ``/tmp`` using the following command: ::
7070

71-
rosrun xacro xacro -o $MYROBOT_NAME.urdf $MYROBOT_NAME.urdf.xacro
71+
rosrun xacro xacro -o /tmp/$MYROBOT_NAME.urdf $MYROBOT_NAME.urdf.xacro
7272

7373
Select IK Type
7474
^^^^^^^^^^^^^^
@@ -83,11 +83,11 @@ The following instructions will assume you have chosen one ``<planning_group_nam
8383
Generate IKFast MoveIt plugin
8484
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8585

86-
To generate the IKFast MoveIt plugin, issue the following command: ::
86+
To generate the IKFast MoveIt plugin, issue the following command in the ``src`` folder of your catkin workspace: ::
8787

88-
rosrun moveit_kinematics auto_create_ikfast_moveit_plugin.sh --iktype Transform6D $MYROBOT_NAME.urdf <planning_group_name> <base_link> <eef_link>
88+
rosrun moveit_kinematics auto_create_ikfast_moveit_plugin.sh --iktype Transform6D /tmp/$MYROBOT_NAME.urdf <planning_group_name> <base_link> <eef_link>
8989

90-
Replace the last three positional parameters with the correct ``planning_group_name`` as well as the names of the base link and the end-effector link of your robot.
90+
Replace the last three positional parameters with the correct ``planning_group_name`` as well as the names of the base link and the end-effector link of your robot. If you don't refer to the temporary URDF generated above, please specify the full path to your URDF.
9191
The speed and success of this process will depend on the complexity of your robot. A typical 6 DOF manipulator with 3 intersecting axes at the base or wrist will take only a few minutes to generate the solver code. For a detailed explanation of the creation procedure and additional tweaks of the process, see `Tweaking the creation process`_.
9292

9393
The command above creates a new ROS package named ``$MYROBOT_NAME_<planning_group_name>_ikfast_plugin`` within the current folder.

0 commit comments

Comments
 (0)