ArduPilot / ArduPilot/apm_planner

parameter export adds too many trailing zeros.

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
550
Forks
483
PR merge metrics
No merged PRs in 30d

Description

.param files are messy to read due to all the trailing zeros.
To illustrate, I attached a meld comparison between a cleaner version (basically an export rounded to up to 8 decimals), and current output.

I assume this a 1-minute fix for somebody out there :)
![screenshot from 2018-05-01 22-06-25](https://user-images.githubusercontent.com/1468842/39491837-e6a6d122-4d8d-11e8-8836-e77359f47682.png)

Contributor guide

Open the contributing guide

Research direction

Start by locating the parameter export entry point that produces .param files and inspect how numeric values are formatted. Compare the current output with the cleaner example in the issue. Done means exported parameters avoid unnecessary trailing zeros while retaining up to 8 decimal places.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.