iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3k stars 1.43k forks source link

Airspeed telemetry for CRSF #6200

Closed MrMap closed 2 years ago

MrMap commented 3 years ago

Current Behavior

Airspeed not available in OpenTX telemetry page - using TBS crossfire protocol and MATEK F765 Wing with digital Airspeed sensor. Airspeed available in OSD (so the sensor and FC have it)

Desired Behavior

I would like airspeed data to be injected into the CRSF telemetry data stream along with the multitude of data already available there

Suggested Solution

I suggest a feature - possibly in collaboration with the TBS dev team - alter the software to include airspeed, when airspeed sensor is available
Feature Requests without suggested solutions may not be addressed with the same level of urgency as those that have suggested solutions

Who does this impact? Who is this for?

Who is this for? Airplane users with OpenTX radios / TBS CRSF and a plane with airspeed sensor.

Additional context

Airspeed data into OpenTX telemetry is very useful as it is the primary parameter for flight dynamics. When present it can trigger warnings, add to useful log data and assist (e.g. voice reporting) in keeping desired speed with regard to situation - approach and landing in particular. As per today my system are on latest stable software releases of OpenTX, TBS tx module, TBS Diversity RX and F765 FC and iNav configurator

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

MrMap commented 3 years ago

I just noticed that Airspeed data gets logged in the Blackbox file - but only the raw values and there are no decoded values.

HenHan85 commented 3 years ago

when using the inav telemetry widget for OpenTX (Horus), the option to choose airspeed sensor (instead of GPS Speed) in the widget setting is not available. Quite sure because there is no telemetry sensor signal coming throug crsf, providing the airspeed sensor signal. Would be great to have it included for this purpose

https://github.com/iNavFlight/OpenTX-Telemetry-Widget

alexgalstyan commented 2 years ago

Hello, Is this issue was resolved ?

pnduffy commented 2 years ago

I tried getting airspeed telemetry with CRSF protocol, over ExpressLRS, but no airspeed selection is available in the LUA script. I didn't see if this was closed for a solution or not. Any comments?

Enggmaug commented 1 year ago

Hello,

I'm looking for the very same thing : Pitot data through ExpressLRS CRSF telemetry.

If I understand this page : it should be already possible... But I still don't see how... and I can't find anything in the wiki or documentation to achieve it.

uwe-air commented 1 month ago

Hi same here. PLEASE try to get this done. So i can get an stallwarning working .

pnduffy commented 1 month ago

I compiled a custom version of INav to get airspeed. Not sure if it's in the mainline yet.

MrD-RC commented 1 month ago

Hi same here. PLEASE try to get this done. So i can get an stallwarning working .

Airspeed shouldn't be used for stall warnings. Stalls can still happen at higher airspeeds. Stalls are caused by separation of airflow from the wing.

MrMap commented 1 month ago

Hi same here. PLEASE try to get this done. So i can get an stallwarning working .

Airspeed shouldn't be used for stall warnings. Stalls can still happen at higher airspeeds. Stalls are caused by separation of airflow from the wing.

It is correct that stall speed (Vs) is not a constant but a function of factors, e.g. weight, configuration and g-load. However, airspeed is the only speed relevant to flight dynamics, hence including it in the CRSF telemetry protocol is desirable and frankly, surprising that it did not make it´s way in from the beginning.

Though stall speed can vary, using airspeed as a low speed warning is a great idea. This warning indicates that you are flying with low margin to stall speed promt the pilot to take proper action. Typical situation is final approach with an aircraft. On my Avanti S I have my radio read the airspeed repeating every few seconds during final approach (using FrSky RX and FrSky series sensor.

I even made a setup in Edge TX adapting the gyro gain to the airspeed, hence optimizing the gyro performance all over the speed range. Airspeed is not only useful, it´s central.

sensei-hacker commented 1 month ago

It is correct that stall speed (Vs) is not a constant but a function of factors, e.g. weight, configuration and g-load. However, airspeed is the only speed relevant to flight dynamics, hence including it in the CRSF telemetry protocol is desirable

Yes, airspeed is an important parameter if you were trained as / like a full size pilot.

It is ALSO important to understand that you can stall at any speed. Someone who thinks the plane won't stall until a particular speed is also a person whose planes keep inexplicably dropping out of the sky during base turn.

OptimusTi commented 1 month ago

Airspeed is not in the CRSF protocol. Please reach out to TBS to add it.

MrMap commented 1 month ago

It is correct that stall speed (Vs) is not a constant but a function of factors, e.g. weight, configuration and g-load. However, airspeed is the only speed relevant to flight dynamics, hence including it in the CRSF telemetry protocol is desirable

Yes, airspeed is an important parameter if you were trained as / like a full size pilot.

It is ALSO important to understand that you can stall at any speed. Someone who thinks the plane won't stall until a particular speed is also a person whose planes keep inexplicably dropping out of the sky during base turn.

Yes, good point - but not a reason against having airspeed in the CRSF telemetry protocol.

On a side note, AOA - Angle Of Attack - is a very useful parameter to monitor while staying out of stall trouble. Unfortunately I have never seen such a sensor for RC use. Maybe too mechanically messy and expensive to translate into RC plane size. But it would be cool.

pnduffy commented 1 month ago

GA planes have color-coded airspeed indicators showing stall region. It's not an absolute indicator of stall, but during takeoff and landings where the wings are typically level and the angle of attack is not excessive, it's a good indicator. AOA can be detected by the accelerometer if it's calibrated correctly.

sensei-hacker commented 1 month ago

Unfortunately I have never seen such a sensor for RC use

I have designed a couple. Both an AoA indicator and a direct stall sensor such as you often see on light aircraft. I can send you the STL if you would like to try it out.

sensei-hacker commented 1 month ago

Unfortunately I have never seen such a sensor for RC use.

I've designed a couple. Both AoA and an actual stall sensor. I can send you the STL if you would like to try it out. This style often seem on GA aircraft is probably the simplest and most reliable.

main-qimg-b58275a285c34bc119c06df1037783c4-lq (2)

It's just a toggle switch, which flips up when the stagnation point falls below the set point (meaning the AoA is higher than the selected setting).

For RC use, low friction is required, so I designed it with a cheap Hall sensor for frictionless switching. The same mechanism turned backwards with a longer vane is an AoA sensor.

uwe-air commented 1 month ago

Hi i got my ATPL 20 Years ago. We use in the Aircraft for the Stallcomputer a mix of :AOA, Speed , flap-setting, Bankangle , Altitude......20millon dots ........etc . Way to complicated to implement this in a hobby modell plane. BUT for what doe we use it in our model?? I dont care to get a stall in a turn with the model, just add 10-15 kt . But when i fly nearly straight for landing than the airspeed for level flight is well enogh to use in a model. ( ps the stallspeed dont care about the waight !!!! Its a matter of (non) turbulent airflow on your wing .)

round about: Vstall at 60gegree bank =Vs x1,5

@ sensei-hacker :brilliant don those we had in the fligtshool on the most of the light Aircrafts

james-au commented 4 weeks ago

We definitely need airspeed telemetry to set our min/max alarms. Every scalar telemetry value should have user settable alarms.

There are also "overspeed" conditions (like during a dive) as oscillations can snap a wing quite quickly (been there done that).

On the low end of speed, it's not too uncommon to get distracted with the FPV views and other aspects of flight to forget about a low throttle position. Especially as digital FPV video does not include audio transmission so the pilot can't even audibly monitor motor throttle as we did with analog FPV. A "low air speed" alert can save FPV lives!

If iNav is the fixed wing flight controller, it needs to allow us to set the following speed limits and warnings

image

See the short video from Humble Aviation: https://www.youtube.com/watch?v=l-CzggqNyV0

james-au commented 4 weeks ago

Hi same here. PLEASE try to get this done. So i can get an stallwarning working .

Airspeed shouldn't be used for stall warnings. Stalls can still happen at higher airspeeds. Stalls are caused by separation of airflow from the wing.

The warning on screen can be displayed as "LOW AIRSPEED" flashed on screen or voice WAV file on the radio.

james-au commented 4 weeks ago

I compiled a custom version of INav to get airspeed. Not sure if it's in the mainline yet.

Excellent. Can you send me a link to the branch/pull request/diff for this change?