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

add protection against setting wrong type of parameters #13101

Merged
merged 2 commits into from
Oct 14, 2019

Conversation

BazookaJoe1900
Copy link
Member

Describe problem solved by the proposed pull request
The ground control stations sends a param_set message with param_type on it. but the firmware doesn't really use or check it.
the type is set the ground station by using some ground knowledge, for example, in QGC it has the metadata by caching data from .px4 files. but, if the data doesn't match, it might send parameter using bad type.
that can be abit protected by not allowing to flash that parameters on the px4 side.

Copy link
Contributor

@julianoes julianoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@dagar dagar merged commit 3007b08 into PX4:master Oct 14, 2019
@BazookaJoe1900 BazookaJoe1900 deleted the pr-param_set_protection branch October 14, 2019 16:10
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

Successfully merging this pull request may close these issues.

3 participants