|
From: | Gautier Hattenberger |
Subject: | [Paparazzi-devel] [feature] automatic flight plan variables |
Date: | Mon, 8 Feb 2016 18:21:51 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Dear all,A new feature have just been introduced (in master branch) in the flight plan language of Paparazzi: the possibility to declare some variables from the flight plan and to have them available in the datalink settings automatically.
This may be very interesting for users or developers using custom flight plans and that need to change some parameters such as setpoints or thresholds. Before that, it was required to (ab)use existing variables or create them on purpose (thus editing the source code). Now it can be done from the flight plan xml file with:
<variables> <variable var="my_var"/> ... </variables>The relevant commit is https://github.com/paparazzi/paparazzi/commit/579fdf4acd8686f18857ad65fd5b58fdf6e2eaf0 and the 'versatile' flight plan shows an example (https://github.com/paparazzi/paparazzi/commit/70e867cad7d46e47ef77ddeebeb75a3a1999d66c).
The documentation with the complete options (in particular, how to have it accessible as a setting) is in the wiki: http://wiki.paparazziuav.org/wiki/Flight_Plans#Variables
Happy flight plan editing! Gautier for the Paparazzi dev team
[Prev in Thread] | Current Thread | [Next in Thread] |