sudo apt-get install python-pip python-dev python-numpy
sudo pip install dronekit
sudo pip install dronekit-sitl
sudo pip install MAVProxy
cd /tmp
git clone https://github.com/dronekit/dronekit-python.git
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
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
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
Based on the Example: Vehicle State
, modify it so that it only prints Global Location