-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
AP_Airspeed: Add support for new message #22709
Conversation
rebased. |
raw_press : get_differential_pressure(i), | ||
temperature : temperature, | ||
id : i, | ||
flags : (uint8_t)(healthy(i) | (use(i) << 1U)) |
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.
we need a flag for primary
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.
should be using an enum from the XML
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.
Now using enum. Not added primary, I would like to get this in without waiting for that.
AIRSPEED_SENSOR_FLAGS is not defined in the XML |
ed55bfe
to
5611b05
Compare
2624111
to
7f31bfb
Compare
3b804b9
to
656359c
Compare
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.
Let's not forget this one!
656359c
to
02830c3
Compare
Rebased and moved sending from airspeed lib to GCS MAVLINK. Tested manually that we get the message and it cycles through sensors. |
This adds support for the new airspeed message. It does not remove the old named value float, maybe we should have them both until we get GCS support.
We need a similar message for baro and then we can remove the three scaled pressure messages.