Skip to content

Tutorial Create Webots Robot

Darko Lukić edited this page Sep 1, 2021 · 17 revisions

Webots offers a huge number of high-quality premade robot models. However, if you want to create a new one from scratch for your ROS 2 application then Tutorial 6 is a great starting point. After you ensured the new robot model is working properly you can create a ROS 2 interface for it in a few simple steps:

  1. Change the robot's controller field value to <extern>.
  2. Save the world.
  3. Start the simulation.
  4. Execute ros2 run webots_ros2_driver driver

The driver node will attach to the Webots robot and create a ROS 2 interface for it.

For more details on how to improve the ROS 2 interface please follow the tutorial Creating a Custom Package.

Clone this wiki locally