Rename param files#1647
Draft
amilcarlucas wants to merge 9 commits into
Draft
Conversation
…rsion 1 before filesystem init - Introduce backend_filesystem_migration.py - Adds format-version migration support for legacy vehicle projects - Handles parameter extraction from old files into new step files - Creates new fixed-content parameter files - Removes obsolete legacy files - Updates vehicle_components.json format version after migration - Integrate migration into startup in __main__.py - Run migrate_vehicle_project_if_needed(state.args.vehicle_dir) before LocalFilesystem creation - Ensures renamed/split parameter files exist before local filesystem initialization Update step metadata in JSON: - configuration_steps_ArduCopter.json - Add new step entries for migrated files (04_imu_temperature_calibration_finish.param, 07_remote_controller_controller.param, 10_battery_monitor.param, 17_safety_setup.param, 14_logging.param, 26_pid_notch_filter_logging.param, 45_autotune_finish.param, 49_windspeed_estimation_finish.param, plus others) - Adjust derived/forced/delete parameter logic for new step placement Testing / validation notes: - backend_filesystem_migration.py compiles successfully - Updated JSON files parse correctly This commit makes legacy vehicle project upgrades automatic and consistent with the new parameter file layout and step metadata.
for more information, see https://pre-commit.ci
Contributor
☂️ Code Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
Contributor
Test Results 4 files 4 suites 41m 45s ⏱️ Results for commit 25b3ead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Re-organize the configuration steps
Parameters also moved between steps
Checklist
git commit --signoff)Testing
Describe how you tested these changes: