urdf-viz

Visualize URDF(Unified Robot Description Format) file. urdf-viz is written by rust-lang.

Install

Install by cargo

If you are using rust-lang already and cargo is installed, you can install by cargo install.

Install urdf-viz

bash $ cargo install urdf-viz

(FYI) Install cargo

bash $ curl https://sh.rustup.rs -sSf | sh

and follow the instruction of the installer.

Install by download binary from github

If you don't want to install rust and cargo, you might be able to find binary for Ubuntu16.04 64bit here.

Command line

urdf_viewer command will be installed by cargo. It needs rosrun and rospack to resolve package:// in <mesh> tag, and it uses xacro to convert .xacro file into urdf file. It means you need $ source ~/catkin_ws/devel/setup.bash before using urdf_viewer.

bash $ urdf_viewer URDF_FILE.urdf

It is possible to use xacro file directly. It will be converted by rosrun xacro xacro inside of urdf_viewer.

bash $ urdf_viewer XACRO_FILE.urdf.xacro

For other options, please read the output of -h option.

bash $ urdf_viewer -h

GUI

In the GUI, you can

Garally

ubr1<em>1.png ubr1</em>2.png pepper<em>1.png pepper</em>2.png nao<em>1.png nao</em>2.png thormang3<em>1.png thormang3</em>2.png pr2<em>1.png pr2</em>2.png

Dependencies

urdf-viz is strongly depend on kiss3d, which is super easy to use, great 3D graphic engine.