-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(posfilter): Adds config model for Position Filtering #134
feat(posfilter): Adds config model for Position Filtering #134
Conversation
Added configuration model of 'PositionFilter' to 'configs.posfilter'. Allowing for configurations for position filtering routines. The configuration is also optional within the main config.
Added simple testing for position filter configuration 'roll_pitch_heading' path, as well as usage within main configuration via environment variables.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
=======================================
Coverage 43.39% 43.39%
=======================================
Files 15 15
Lines 613 613
=======================================
Hits 266 266
Misses 347 347 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added one comment if we can move common test set-up code to a pytest fixture
.
The creation of blank csv file and setting environment variable is now placed in 'root/conftest.py' file as fixtures so the code is DRY.
This is ready for your 2nd round of review. Thanks @aniketfadia96 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
This PR adds configuration pydantic model for future position filtering routine. At the moment, it adds a way to pass in the Roll Pitch Heading data.
Closes #129