Skip to content

UCM-M143/dronekit-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

DroneKit-exercise

Open a terminal and then install dronekit

sudo apt-get install python-pip python-dev python-numpy
sudo pip install dronekit
sudo pip install dronekit-sitl
sudo pip install MAVProxy

Download dronekit source code with examples

cd /tmp
git clone https://github.com/dronekit/dronekit-python.git

Understand and run examples

Example: Vehicle State

Read following webpage to understand how it works http://python.dronekit.io/examples/vehicle_state.html

Use following command to run it

cd /tmp/dronekit-python/examples/vehicle_state
python vehicle_state.py

Example: Simple Go To (Copter)

Read following webpage to understand how it works http://python.dronekit.io/examples/simple_goto.html

Use following command to run it

cd /tmp/dronekit-python/examples/simple_goto
python simple_goto.py

Example: Mission Basic

Read following webpage to understand how it works http://python.dronekit.io/examples/mission_basic.html

Use following command to run it

cd /tmp/dronekit-python/examples/mission_basic
python mission_basic.py

Write your own program

Based on the Example: Vehicle State, modify it so that it only prints Global Location

Here is an screenshot of an example output
Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published