Skip to content

Using URDF or Xacro

Darko Lukić edited this page Oct 19, 2020 · 6 revisions

A tool that allows conversion from URDF or Xacro format is shipped with the webots_ros2 package. You can benefit from the tool to import by importing premade robot models to Webots.

URDF import

ros2 run webots_ros2_importer urdf2proto --input=/home/user/ros2_workspace/install/turtlebot3_description/share/turtlebot3_description/urdf/turtlebot3_burger.urdf --disable-mesh-optimization --output=Turtlebot3Burger.proto

Xacro import

ros2 run webots_ros2_importer xacro2proto /home/user/ros2_workspace/install/turtlebot3_description/share/turtlebot3_description/urdf/turtlebot3_burger.urdf.xacro --disable-mesh-optimization --output=Turtlebot3Burger.proto
Clone this wiki locally