fandhikazhr / simulatedDrone

How to playing simulated drone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simulatedDrone

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.

    Screenshot (331)

  • Step 3

    Simulation without python script.

    First open Actions tab.

    Screenshot from 2022-03-23 20-43-33

    And then Set Mode to Stabilize.

    Screenshot from 2022-03-23 20-47-11

    Click on Arm/Disarm button.

    Screenshot from 2022-03-23 20-51-38

    And you will see drone in armed position.

    Screenshot from 2022-03-23 20-54-45

    Right click on the map, and select TakeOff.

    Screenshot from 2022-03-23 20-56-42

    And enter the flying altitude of the drone, here I enter the number 5.

    Screenshot from 2022-03-23 21-00-55

Preview

Preview.Dronesimulated.mp4

About

How to playing simulated drone


Languages

Language:Python 100.0%