-
Notifications
You must be signed in to change notification settings - Fork 20.1k
Plane: always report the airspeed estimate being used in VFR hud #21729
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
base: master
Are you sure you want to change the base?
Conversation
|
does this match what we report in the OSD HUD? if USE=0 it still reports the sensor airspeed, I think...if type=0 then it reports the synthetic airspeed, I think... and this is what I think people flying with OSD want....you want to see the airspeed sensor as it cals even when not used... |
|
@Hwurzburg This does not change OSD. It looks like there there is the option to report airspeed sensors directly or the ahrs number. |
|
I know it does not change the OSD, but why would a GCS operator want something different than an FPV operator, is my point...maybe there should be an option for this for MAVLink like there is in OSD? |
|
The GCS user wants the best airspeed estimate, that should be the one the ahrs is using. The other airspeed sensors are reported via the scaled pressure message which the GCS could convert to airspeed. If its a question of seeing the sensor calibrate in flight there is a dedicated airspeed sensor calibration MAVLink message. Having said that a dedicated MAVLink airspeed message would be great, were still using named value float for the second sensor. |
|
This seems to be failing CI due to the airspeed sensor being rejected by the EKF and falling back to a bad wind estimate. |
|
need a AIRSPEED message, with instance, and type |
|
@tridge @hendjoshsr71 There is a airspeed message in development.xml. I would probably have done a smaller one getting rid of static pressure and type. Maybe changing But I guess its a starting point. Any thoughts? |
|
we could propose a change to AIRSPEED in development.xml that has:
|
|
I am subscribed to this one to prepare QGC when this goes to stable. Let me know if you want in QGC available more fields other than airspeed, etc. Thanks! |
Currently a unused airspeed sensor (
ARSPD_USE= 0) will be reported rather than the airspeed estimate that the vehicle is actually flying to. This changes to use the same criteria and index asahrs.airspeed_estimate, however as stated in the existing comment we do not constrain with wind max as we would via ahrs.I'm actually quite tempted to remove this extra case all together and always report the exact ahrs airspeed the vehicle is flying to, I think that is more important than reporting the exact airspeed measured, as it is included in other messages, sort of anyway (
SCALED_PRESSURE).