How to playing simulated drone
-
Step 1
dronekit-sitl copter --home=-7.833720493928131,110.38309035134006,0,0
--home=x,y,0,0
for set home location--speedup 5
for set speed throtle to 5, default speed is 1 -
Step 2
On Windows
MAVProxy --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --out 127.0.0.1:14552
On Linux
mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --out 127.0.0.1:14552
And you will see Mission Planner automatically connects to drone simulation.
-
Step 3
Simulation without python script.
First open
Actions
tab.And then Set Mode to
Stabilize
.Click on
Arm/Disarm
button.And you will see drone in armed position.
Right click on the map, and select
TakeOff
.And enter the flying altitude of the drone, here I enter the number 5.