-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parameter system and storing vehicle generated data #8570
Comments
The backup could be made via the normal parameters + a binary blob for internal data. It does not have to be all parameters. Alternatively they can be sent on request to the ground station. In this case I like the |
I'd still like to consider this. |
This is somewhat relevant to the parameter lock idea. #12429 |
Some of this has improved with volatile parameters, but I'd still like to consider storing this data differently. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Oh this was mentioned above already! |
The parameter system is primarily used for user configuration of the vehicle. It's also used as storage for several onboard systems like calculated sensor calibration values, storing vehicle flight time, auto incrementing UUID, storing EKF learned bias. These parameters are treated the same as any other parameter, including syncing to the ground, and user editable.
I believe we need a separate area for storing this type of data. Hand editing these parameters doesn't make any sense and only provides another avenue for invalidating a system configuration. Syncing these parameters to the ground wastes time. When they change vehicle side (some every disarm) they break the mavlink param HASH_CHECK mechanism, ensuring the next vehicle connection will require a potentially much longer full parameter sync. Some of these parameters aren't even human readable and need to be reassembled (like flight time). These clutter the param system wasting flash space on the autopilot and they don't scale well with the variability in sensor calibration requirements. Mixing these in with regular user editable parameters increases the need for filtering in the ground control station. These parameters represent nearly 1/3rd of the the active parameters in a typical system.
Separating them could be as simple as prepending a character to treat them as private (~) and no longer sync them to the ground, or we could consider having a secondary internal only storage space. We could also think about storing the entire calibration struct at once instead of splitting a sensor calibration into many manually defined parameters.
Relevant parameters.
Questions/concerns
What are the downsides to this approach?
#8568 (comment)
#8569 (comment)
The text was updated successfully, but these errors were encountered: