Skip to content
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

do not remove nav modes if connected by usb #9913

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

RomanLut
Copy link
Contributor

@RomanLut RomanLut commented Apr 9, 2024

If flight controller is connected by usb, without battery, some sensors like BARO, MAG, GPS may not be powered and have "failure" state.
It should not be possible to enable navigation modes with failed sensors, but it should still be possible to configure ranges in the Modes tab. Otherwise users loose nav modes ranges while changing settings in the configurator.

Is:

  • navigaton modes are still present in Modes tab if airplane is connected by usb ✔️
  • navigation modes are removed from Modes tab if quadcopter is connected by usb ❌

Should:

  • navigation modes should still be present in configurator if baro is in failed state

Solves iNavFlight/inav-configurator#1646

Temporary workaround:
set inav_use_gps_no_baro=on

@DzikuVx
Copy link
Member

DzikuVx commented Apr 9, 2024

Perfect!

@DzikuVx DzikuVx added this to the 8.0 milestone Apr 9, 2024
@DzikuVx DzikuVx merged commit 8fac354 into iNavFlight:master Apr 9, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants