Difference between revisions of "Day 5"

From Bambi
Jump to: navigation, search
(Created page with "= Log = # <code>MAV_CMD_NAV_TAKEOFF_LOCAL</code> is not support in px4 (command 24), so we are forced to use the one without _LOCAL = KML Parser Library for Python = To have...")
 
(KML Parser Library for Python)
Line 9: Line 9:
 
# <code>sudo pip install lxml</code>
 
# <code>sudo pip install lxml</code>
 
# <code>sudo pip install pykml</code>
 
# <code>sudo pip install pykml</code>
 +
 +
The KML file has been generated using [https://www.doogal.co.uk/polylines.php https://www.doogal.co.uk/polylines.php] and can be checked with [https://www.doogal.co.uk/KmlViewer.php https://www.doogal.co.uk/KmlViewer.php]

Revision as of 22:49, 8 August 2018

Log

  1. MAV_CMD_NAV_TAKEOFF_LOCAL is not support in px4 (command 24), so we are forced to use the one without _LOCAL

KML Parser Library for Python

To have some sample data easily available and customizable, it is convenient to use the .kml format. To be able to handle it in the python boundary border, we may use pyKml. To install we need:

  1. sudo apt-get install libxml2-dev libxslt-dev python-dev
  2. sudo pip install lxml
  3. sudo pip install pykml

The KML file has been generated using https://www.doogal.co.uk/polylines.php and can be checked with https://www.doogal.co.uk/KmlViewer.php