Dronekit setup, simulation and visualization on Mission Planner

Tiziano Fiorenzani
Tiziano Fiorenzani
120.9 هزار بار بازدید - 7 سال پیش - Setup a Virtual Machine (VM)
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 How to use SITL in Mission Planner fo...

*******************************

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:
https://teespring.com/stores/geekmeup

** Enroll in the Class ZERO to DRONE PROGRAMMER: Become a DRONE PROGRAMMER | Coupon to...  ***


For more information on how to setup dronekit and other examples: http://python.dronekit.io/

The python code is available at: https://github.com/dronekit/dronekit-...

Find the next video here: Dronekit setup, simulation and visual...

*** JOIN THE FACEBOOK COMMUNITY: Facebook: tizianotutorials
7 سال پیش در تاریخ 1396/06/22 منتشر شده است.
120,908 بـار بازدید شده
... بیشتر