Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
This page contains guidelines for Python source code for the Paparazzi project.
PEP8 is the de-facto code style guide for Python and covers the most important aspects.
There exists a command-line program, pep8, that can check your code for conformance.
Try to write python code so that it works with python2 (>=2.6) and python3. See e.g. supporting Python 2 and 3 without 2to3 conversion for details.
The most common things to keep in mind:
Basic example: