-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Current Behavior
Using INAV 6.1 RC1 with the OSD set to imperial units, altitude displays in feet below 1000 feet and in miles over 1000 feet. I have observed this in both the relative altitude display above your home location and the absolute MSL altitude display.
Steps to Reproduce
- Flash INAV 6.1 RC1
- Set OSD to imperial units and turn on both relative and MSL altitude. My OSD mode was BF43COMPAT with a DJI O3 system and DJI Goggles V2, but I don't think this is unique to that.
- Fly the model to over 1000 feet, or launch from an MSL altitude over 1000 feet.
- Altitude displays are in miles over 1000 feet altitude.
Expected behavior
Altitude should always display in feet when using imperial units. This is correct in INAV 6.0.
Suggested solution(s)
Change all OSD altitude displays to always display in feet with imperial units. Only lateral distance should switch to miles.
Additional context
set osd_video_system = BF43COMPAT
set osd_units = IMPERIAL
set osd_time_alarm = 0
set osd_alt_alarm = 0
set osd_dist_alarm = 0
set osd_neg_alt_alarm = 0
set osd_link_quality_alarm = 50
set osd_rssi_dbm_alarm = -100
set osd_switch_indicators_align_left = OFF
osd_layout 0 0 27 2 H
osd_layout 0 1 0 14 V
osd_layout 0 2 0 0 V
osd_layout 0 3 8 6 V
osd_layout 0 4 8 6 V
osd_layout 0 6 24 14 V
osd_layout 0 7 14 13 V
osd_layout 0 9 14 15 V
osd_layout 0 11 7 15 V
osd_layout 0 12 5 14 V
osd_layout 0 13 3 8 H
osd_layout 0 14 0 1 V
osd_layout 0 15 23 8 V
osd_layout 0 20 12 0 V
osd_layout 0 21 1 0 V
osd_layout 0 22 15 2 V
osd_layout 0 23 0 2 V
osd_layout 0 24 6 1 V
osd_layout 0 26 24 11 V
osd_layout 0 28 24 15 H
osd_layout 0 29 16 2 H
osd_layout 0 30 2 3 V
osd_layout 0 34 11 1 V
osd_layout 0 37 0 12 H
osd_layout 0 38 0 15 V
osd_layout 0 40 24 13 V
osd_layout 0 43 0 0 V
osd_layout 0 85 3 8 V
osd_layout 0 96 25 6 V
osd_layout 0 100 14 14 H
osd_layout 0 108 17 2 H
osd_layout 0 109 24 0 V
osd_layout 0 110 26 1 V
osd_layout 0 111 25 4 H
osd_layout 0 112 25 2 V
osd_layout 0 128 0 11 V
- FC Board name and vendor: INAV/MATEKF405TE_SD 6.1.0 Apr 21 2023 / 17:48:27 (2d7a057)
- INAV version string: GCC-10.2.1 20201103 (release)