How to create URDF models for Franka robots

First, clone the franka_description repository:

git clone https://github.com/frankaemika/franka_description.git

After that, use the scripts/create_urdf.sh script to create the URDFs.

You need to make different choices here:

Furthermore, you can add the --with-sc flag to include the self-collision model in the URDF. This is always recommended.

Also, you have to choose how to load the 3D geometry meshes which make up the URDF geometry:

The image will use a ROS docker image to build the models, so you need to install Docker, but you don’t need to install anything else.

The resulting URDFs will be saved in the urdfs subdirectory of the repository.

Example commands:

How to create a Franka Research 3 URDF (no end-effector)

# This will create urdfs/fr3.urdf
./scripts/create_urdf.sh fr3 --with-sc --robot-ee none

How to create a Franka Research 3 URDF with the Franka Hand end-effector

# This will create urdfs/fr3.urdf
./scripts/create_urdf.sh fr3 --with-sc --robot-ee franka_hand