Skip to content

xacro to URDF

Raffaello Bonghi edited this page Jul 13, 2022 · 5 revisions

If you want to convert nanosaur .xacro file to URDF

Install

sudo apt install ros2-foxy-xacro

Convert

~/nanosaur_core/src/nanosaur_simulations/nanosaur_ignition/urdf
xacro nanosaur.ignition.xacro > nanosaur.ignition.urdf

Option convertion

If you want to add an extra option

xacro nanosaur.ignition.xacro covert_type:=realsense > nanosaur.ignition.urdf

Reference:

Clone this wiki locally