Skip to content
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

mavparmdiff.py does not catch parameter differences #245

Closed
WickedShell opened this issue Nov 20, 2018 · 7 comments
Closed

mavparmdiff.py does not catch parameter differences #245

WickedShell opened this issue Nov 20, 2018 · 7 comments

Comments

@WickedShell
Copy link
Contributor

Parameter files from mavparms.py have differences which mavparmdiff.py does not detect. Included a trimmed version of the files. The difference I'm tracking in the uploaded files is ARSPD_OFFSET

parms.zip

@peterbarker
Copy link
Contributor

https://github.com/ArduPilot/pymavlink/blob/master/mavparm.py#L13 <- this is considered to be a volatile value and is explicitly excluded.

@WickedShell
Copy link
Contributor Author

That's pointlessly bad for a param comparison tool, as it breaks the main usage, detect differences. (In this case for example this offset is actually what I was looking for/expecting)

@peterbarker
Copy link
Contributor

peterbarker commented Nov 26, 2018 via email

@tridge
Copy link
Contributor

tridge commented Nov 26, 2018

I think we should have a command line option to not exclude the volatiles

@WickedShell
Copy link
Contributor Author

I guess the point is that they're always going to be different....

Not actually true for ARSPD_OFFSET which is why I was looking for it (among others originally).

I think we should have a command line option to not exclude the volatiles

That would work for me.

@peterbarker
Copy link
Contributor

#247

@WickedShell
Copy link
Contributor Author

This was done awhile ago as an opt in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants