inav icon indicating copy to clipboard operation
inav copied to clipboard

[FEATURE REQUEST] Use GPS Alt if there's no baro in the OSD

Open wx4cb opened this issue 8 years ago • 8 comments

Have a way of having the GPS altitude in the OSD instead if there's no baro onboard.

Same discussion here on the betaflight github: https://github.com/betaflight/betaflight/issues/4800

wx4cb avatar Dec 21 '17 18:12 wx4cb

I don't know if I get this Feature Request right, but I fly without Barometer (FW) and in fact have ALT in my OSD which only can be measure by the GPS which is installed!

In case you intended to archieve this ... ehm ... its done (for FW) ! :D

Pairan avatar Dec 22 '17 08:12 Pairan

hmm.... strange. i don't get altitude on my osd (unless im missing something) can you post a pic of your osd config screen. on mine all i get that says "gps" is speed heading lat/long HDOP course etc.

The only "altitude" one is checked, but i don't see a GPS Altitude

wx4cb avatar Dec 22 '17 09:12 wx4cb

scarab-osd has two separate altitude widgets:

  • "Altitude - shows the altitude from prime altitude source BARO is used else GPS"
  • "GPS altitude - display GPS altitude"

I wonder if we'd also prefer to have both in iNav - one showing the altitude FC uses for computation, and the second - raw reading from GPS to give pilot another view...?

krzysztofmatula avatar Dec 22 '17 11:12 krzysztofmatula

I'd like to have the option for Altitude MSL vs just AGL from launch. Obviously MSL would be from GPS. AGL can come from either.

Today in 1.8 I can display both the baro and GPS altitude AGL.

ShawnzAZ avatar Dec 29 '17 21:12 ShawnzAZ

@krzysztofmatula the issue with that is, they COULD be both the same if there's no baro. that was my reasoning behind, (in the betaflight thread i linked to) just leaving "altitude" in the current spot, and then adding the gps alt code into where it does all the computation and if there's a baro, use that if there's no baro then use the gps alt if it's there.

wx4cb avatar Dec 30 '17 13:12 wx4cb

INAV Altitude comes from position estimator. It merges all available sensors.

DzikuVx avatar Apr 25 '18 07:04 DzikuVx

@DzikuVx does this mean Altitude in OSD and Telemetry is coming from both Baro and GPS and the values are calculated together? If yes, is the mixup in the calculation of Altitude influenced by nav_w_z_baro_p and nav_w_z_gps_p? If not: Where can one set 'show altitude from [baro|gps] only?

Riffer avatar Oct 24 '18 09:10 Riffer

In "sensors" tab in configurator or in blackbox log

DzikuVx avatar Oct 24 '18 09:10 DzikuVx