Webots¶
What is Webots¶
Since Webots 8, a module named nao_qi is available for the owners of a Webots for NAO license. It provides predefined NAO simulations and with their ready-to-use controllers.
Warning
Webots for NAO license owners only have access to a subset of Webots features. They cannot use other robots nor create new robot controllers.
Installing Webots¶
To install Webots:
Step | Action |
---|---|
Retrieve the installer Webots 8 for your operating system:
You can download the latest release from SoftBank Robotics Community website. For further details, see: Downloading & Installing SoftBank Robotics Software. |
|
Uninstall completely any old version of Webots. | |
Launch the installer then follow the step-by-step instructions. For further details or in case of trouble, see the Chapter 1: Installing Webots in Webots online user guide here: http://www.cyberbotics.com/guide/ |
Getting started¶
Launching a simulated robot¶
Step | Action |
---|---|
Launch Webots. | |
Choose File > Open Sample World... and select the entry |
Connecting Choregraphe to the simulated robot¶
Testing a behavior in Webots¶
Monitoring the simulated NAO¶
Step | Action |
---|---|
In Webots, double-click the robot. The panel below appears. |
|
Choose one of the tabs and select the data you want to monitor. |
Customizing NAO’s worlds¶
Adding an object¶
Let’s add a table, for example:
Moving objects¶
Let’s play with objects in order to learn how to move them.
NAO and Webots¶
Read the Section 8.2 Using the NAO robot of the Webots user guide to learn more about managing one or several NAOs using Webots.
Tips¶
I can’t see my simulated robot in the Choregraphe Browse robots panel.¶
Make sure the simulation is not stopped in Webots.
Troubleshooting¶
If the simulation is slow, you will have a warning displayed in the console of Webots:
A possible approach to improve the simulation is to reduce the number of frames sent to NAOs cameras by changing the “FPS” field of the “WorldInfo” node in the Scene Tree:
Try some low values (e.g. 1, 5 or 10) to speed up the simulation.