Uploaded September 2017 | Updated September 2026, 2 hours ago
Setup a Virtual Machine (VM) and set the internet connection as "Bridged". Open a terminal and install dronekit, dronekit-sitl and mavproxy using pip
********************************
NOTE: THIS SETUP IS OBSOLETE. IN ORDER TO INSTALL DRONEKIT DOWNLOAD THE REPOSITORY AND INSTALL FROM SOURCE:
sudo python setup.py build
sudo python setup.py install
dronekit--sitl is obsolete
Check this video for running sitl with Mission Planner youtu.be/o6o5IcTAwgM
*******************************
pip install mavproxy
pip install dronekit
pip install dronekit-sitl
Start the simulator with
dronekit-sitl copter
Share the connection with the localhost and external UDP (as your phone for example)
mavproxy.py --master tcp:127.0.0.1:5760 --out:127.0.0.1:14551 --out udp:(ip address):14550
On windows, open Mission Planner (or in your phone open Tower) and connect the UDP port 14550
In Linux, write your script and connect the vehicle to "udp:127.0.0.1:14550"
Enjoy
*** SHOP NOW at my store and help sustaining the channel:
teespring.com/stores/geekmeup
*** Enroll in the Class ZERO to DRONE PROGRAMMER: youtube.com/watch?v=wNw6OFxthpY ****
For more information on how to setup dronekit and other examples: python.dronekit.io
The python code is available at: github.com/dronekit/dronekit-python/blob/master/examples/simple_goto/simple_goto.py
Find the next video here: youtu.be/TFDWs_DG2QY
*** JOIN THE FACEBOOK COMMUNITY: facebook.com/tizianotutorials
Setup a Virtual Machine (VM) and set the internet connection as "Bridged". Open a terminal and install dronekit, dronekit-sitl and mavproxy using pip
********************************
NOTE: THIS SETUP IS OBSOLETE. IN ORDER TO INSTALL DRONEKIT DOWNLOAD THE REPOSITORY AND INSTALL FROM SOURCE:
sudo python setup.py build
sudo python setup.py install
dronekit--sitl is obsolete
Check this video for running sitl with Mission Planner youtu.be/o6o5IcTAwgM
*******************************
pip install mavproxy
pip install dronekit
pip install dronekit-sitl
Start the simulator with
dronekit-sitl copter
Share the connection with the localhost and external UDP (as your phone for example)
mavproxy.py --master tcp:127.0.0.1:5760 --out:127.0.0.1:14551 --out udp:(ip address):14550
On windows, open Mission Planner (or in your phone open Tower) and connect the UDP port 14550
In Linux, write your script and connect the vehicle to "udp:127.0.0.1:14550"
Enjoy
*** SHOP NOW at my store and help sustaining the channel:
teespring.com/stores/geekmeup
*** Enroll in the Class ZERO to DRONE PROGRAMMER: youtube.com/watch?v=wNw6OFxthpY ****
For more information on how to setup dronekit and other examples: python.dronekit.io
The python code is available at: github.com/dronekit/dronekit-python/blob/master/examples/simple_goto/simple_goto.py
Find the next video here: youtu.be/TFDWs_DG2QY
*** JOIN THE FACEBOOK COMMUNITY: facebook.com/tizianotutorials










