ArduPilot / ArduPilot/MissionPlanner

Dynamical settings cannot be restored with Parameters/Load from file

Open
#2,068 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

This affects parameters that are hidden by default. For example OSD2... subsettings are hided when OSD2_ENABLED = 0.

Example user has OSD2_ENABLED = 1 and many of OSD2... parameters are customized.
User saves a backup copy of his parameters by Save to file button.
Then let's suppose user wants to apply his saved parameters to a fresh board with a default settings (OSD2_ENABLED = 0, OSD2... nested parameters are not exists).
So after loading the parameter file and writing it to FC - only the OSD2_ENABLED is changed to 1. But all nested OSD2... parameters are not customized.

There are two problems here: load from file doesn't do a complete restoration; and user isn't notified that some parameters were not restored.

#### Version
MP 1.3.59 / AC 3.6.4

#### Platform
[ x ] All

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the Save to file and Load from file buttons with OSD2_ENABLED and hidden OSD2... parameters. Check how loading handles parameters that are absent while the feature is disabled. Done means all saved nested parameters are restored after enabling the feature, or the user is clearly notified about parameters that could not be restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.