-
Notifications
You must be signed in to change notification settings - Fork 98
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
Airflow/Wind Sensor #1349
base: sdf13
Are you sure you want to change the base?
Airflow/Wind Sensor #1349
Conversation
Copied Airspeed Sensor and renamed to Airflow - Also already added airflow code where airspeed is found made corresponding changes to fit airflow new index number for airflow sensor Added AirPressure header back Testing for airflow sensor implemented Add noise testing for airflow sensor Python implementation for Airflow Sensor Signed-off-by: henrykotze <[email protected]>
Signed-off-by: henrykotze <[email protected]>
Signed-off-by: henrykotze <[email protected]>
d9b58c4
to
dba65db
Compare
|
||
#include "sdf/AirFlow.hh" | ||
#include "sdf/parser.hh" | ||
|
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.
include "sdf/Noise.hh", "sdf/Element.hh", "sdf/Errors.hh"
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.
Is this necessary if its added in the /sdf/Airflow.hh header?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## sdf13 #1349 +/- ##
==========================================
- Coverage 87.58% 87.56% -0.02%
==========================================
Files 128 130 +2
Lines 17095 17184 +89
==========================================
+ Hits 14972 15048 +76
- Misses 2123 2136 +13 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Henry Kotzé <[email protected]>
Signed-off-by: henrykotze <[email protected]>
e1db4ce
to
9560bfc
Compare
🎉 New feature
Summary
This adds an airflow sensor. These sensors are generally used to measure wind and are ultrasonic devices, measuring the airflow speed and direction using the Doppler effect.
Here is some use cases of such sensors from a manufacturer sensor which we have used.
https://fttechnologies.com/case-studies.
This is part of a larger plan to support an airflow sensor in PX4. @dagar
The code is heavily based on the Airspeed Sensor: #1215 .
Test it
Test are added to ensure correct use.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.