-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
Tools: Extract parameter default values from an ArduPilot .bin log file #26057
Tools: Extract parameter default values from an ArduPilot .bin log file #26057
Conversation
To run coverage do:
|
we don't gather coverage for python code for now. Adding it should quite simple, generate the coverage report and put it in the upload directory for coveralls. Then it should appears online. |
Thanks Pierre, My question is how to integrate the unit tests so that they run every time the Coverage information is just a cherry on top. Nice but not important now. |
I don't think its a good idea to provide defaults files, this makes it harder for us to change the defaults going forward as users will now have out of date files they will be comparing to. The defaults are also only valid in the particular configuration that the parameters are in. So the defaults are only correct with the context of the set parameter values. What problem is this trying to solve? Mission planner now shows the defaults for all parameters in its full list. |
I am trying to solve the problem of managing (without MP) multiple sets of parameters for multiple vehicles. I do not think that generating But I do need to get them in a machine readable format so that I can automate their management. This is the reason for this script. |
I agree with @IamPete1 about providing defaults files - but this does not do that - it just makes it easier to get at them which seems ok to me |
78623d9
to
9d8eb40
Compare
All checks pass |
4a0c430
to
b76d095
Compare
b76d095
to
3595150
Compare
3595150
to
81473df
Compare
f69cb41
to
0d8af88
Compare
0d8af88
to
d71d10a
Compare
59fe041
to
6f0fcce
Compare
Tests pass. |
Supports Mission Planner, MAVProxy and QGCS file format output Contains unittests with 95% coverage Amilcar do Carmo Lucas, IAV GmbH
6f0fcce
to
0a29315
Compare
Contains unittests with 96% coverage
@peterbarker how should I integrate the unittests with the autotest suite?