Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,27 @@
<description>Autotune yaw axis.</description>
</entry>
</enum>
<enum name="PREFLIGHT_STORAGE_PARAMETER_ACTION">
<description>
Actions for reading/writing parameters between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE.
(Commonly parameters are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)
</description>
<entry value="0" name="PARAM_READ_PERSISTENT">
<description>Read all parameters from persistent storage. Replaces values in volatile storage.</description>
</entry>
<entry value="1" name="PARAM_WRITE_PERSISTENT">
<description>Write all parameter values to persistent storage (flash/EEPROM)</description>
</entry>
<entry value="2" name="PARAM_RESET_FACTORY_DEFAULT">
<description>Reset parameters to default values (such as sensor calibration, safety settings, and so on). Note that a flight stack may choose not to reset some parameters at their own discretion (such as those that are locked or expected to persist for the vehicle lifetime).</description>
</entry>
<entry value="3" name="PARAM_RESET_SENSOR_DEFAULT">
<description>Reset only sensor calibration parameters to factory defaults (or firmware default if not available)</description>
</entry>
<entry value="4" name="PARAM_RESET_ALL_DEFAULT">
<description>Reset all parameters to default values.</description>
</entry>
</enum>
<enum name="PREFLIGHT_STORAGE_MISSION_ACTION">
<description>
Actions for reading and writing plan information (mission, rally points, geofence) between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE.
Expand Down Expand Up @@ -1750,7 +1771,7 @@
</entry>
<entry value="245" name="MAV_CMD_PREFLIGHT_STORAGE" hasLocation="false" isDestination="false">
<description>Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.</description>
<param index="1" label="Parameter Storage" minValue="0" maxValue="2" increment="1">Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults</param>
<param index="1" label="Parameter Storage" enum="PREFLIGHT_STORAGE_PARAMETER_ACTION">Action to perform on the persistent parameter storage</param>
<param index="2" label="Mission Storage" enum="PREFLIGHT_STORAGE_MISSION_ACTION">Action to perform on the persistent mission storage</param>
<param index="3" label="Logging Rate" units="Hz" minValue="-1" increment="1">Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, &gt; 1: logging rate (e.g. set to 1000 for 1000 Hz logging)</param>
<param index="4">Reserved</param>
Expand Down