ardupilot/libraries/SITL/examples/Webots
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
..
controllers
plugins/physics/sitl_physics_env
worlds WEBOTS_SITL: adjust_params model 2021-11-16 13:30:12 +11:00
.gitignore SITL: Webots2021b Compatible 2021-08-24 07:45:41 +10:00
dronePlus.sh
droneTricopter.sh treewide: fix shebangs - /bin/bash -> /usr/bin/env bash 2024-02-13 11:36:23 +11:00
droneTwoTricopters.sh treewide: fix shebangs - /bin/bash -> /usr/bin/env bash 2024-02-13 11:36:23 +11:00
droneX_TwoDrones.sh
droneX.sh
mission_pyramids.plan
mission_test_sitl.plan SITL: add Webots support and examples 2019-08-19 19:36:25 +10:00
pyramids_droneX_twoDrones.sh
pyramids_droneX.sh
quadPlus2.parm
quadPlus.parm
quadX2.parm
quadX.parm
README.md update to new files names 2021-08-24 07:45:41 +10:00
rover.parm
rover.sh
tricopter2.parm
tricopter.parm

Using SITL with Webots

Webots is an open source robot simulator that provides a complete development environment to model, program and simulate robots. Thousands of institutions worldwide use it for R&D and teaching. Webots has been codeveloped by the Swiss Federal Institute of Technology in Lausanne, thoroughly tested, well documented and continuously maintained since 1996.

Installing Webots

Please check this page. The steps is very easy and straight forward.

Running Simulator

1- open webots and open file libraries/SITL/examples/Webots/worlds/webots_quadPlus.wbt 2- press "run" button. 3- run ./libraries/SITL/examples/Webots/dronePlus.sh

please note that to re-run the simulator you need to stop ardupilot SITL then stop webots simulator "stop button". then press "run" button on webots and then rerun ardupilot SITL.

Simulation using Map Street

You can use OpenStreetMaps with Webots, it is fairly straight forward. This is a very nice sample ./libraries/SITL/examples/Webots/worlds/pyramids_droneX.wbt, and you need to run SITL using ./libraries/SITL/examples/Webots/pyramids_droneX.sh ![Watch the video] Flying at Giza Pyramids