Simulation using Offboard Control
Run simulations in Offboard mode.
Firstly, follow this page to put the drone in offboard control mode through PX4:
Enable Offboard Mode in PX4The following page shows how to run the drone in offboard control using ROS:
To run a simulation using Gazebo, enter the following commands in your terminal:
cd <path_to_Firmware>/Firmware
make posix_sitl_default gazebo

This will bring up the PX4 shell:
[init] shell id: 140735313310464
[init] task name: px4
______ __ __ ___
| ___ \ \ \ / / / |
| |_/ / \ V / / /| |
| __/ / \ / /_| |
| | / /^\ \ \___ |
\_| \/ \/ |_/
px4 starting.
pxh>
For further instructions follow this page:
Last updated
Was this helpful?