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

Standardize land_detector module class variable naming #12339

Merged
merged 5 commits into from
Jun 26, 2019

Conversation

mcsauder
Copy link
Contributor

Describe problem solved by the proposed pull request
The class member variable naming in the land_detector module varies from class to class and within classes. Non-standard application of a general convention leads to code rot.

This PR standardizes class variable naming with an easily identifiable pattern that is not ambiguous and easily followed for all readers.

Only naming is changed by this PR, no logic is impacted.

Test data / coverage
Flight tests to exercise the LandDetector and MulticopterLandDetector classes on a 250 quad with pixhawk mini 4:

  1. https://review.px4.io/plot_app?log=84ec2d82-99ac-49a2-84bf-9b45145d8a29
  2. https://review.px4.io/plot_app?log=fc0e591d-e317-420e-8654-c2b9e777f697
  3. https://review.px4.io/plot_app?log=3ffb92bc-5c91-4278-a4e2-c625e9f1b8fd

All tests perform identical to PX4:master and perform as expected.

Additional context
This PR streamlines remaining work for #9756 and minimizes the diff in #11857 .
@dagar , @bkueng .

Please let me know if you have any questions on this PR. Thanks!

@mcsauder
Copy link
Contributor Author

Thank you @dagar !

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

Successfully merging this pull request may close these issues.

2 participants