[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] experimental feature : persistent settings
From: |
antoine drouin |
Subject: |
[Paparazzi-devel] experimental feature : persistent settings |
Date: |
Fri, 25 Mar 2011 12:08:33 +0100 |
Hello World
We just added a new experimental feature to Paparazzi : you can now
save part or all of your "settings" to flash.
In order to do that you need to define the USE_PERMANENT_SETTINGS build flag
for example :
<firmware name="rotorcraft">
<define name="USE_PERMANENT_SETTINGS"/>
then you can mark a setting as persistent in your xml setting config, eg
<dl_setting var="nav_radius" MIN="-150" STEP="0.1" MAX="150"
module="navigation" unit="m" persistent="true" />
now you can trigger the writing to flash using... a setting
<dl_setting var="settings_store_now" min="0" step="1" max="1"
shortname ="store" handler="StoreSettings"
module="subsystems/settings"/>
Please refrain from doing this in flight as flash timings are probably
not compatible with the mainloop timing.
Eric is currently in the process of using this to implement a
"plugless" binding for spektrum.
Have fun and report
Poine
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] experimental feature : persistent settings,
antoine drouin <=