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

all three gps sattelites get disabled when enabling BeiDou #1914

Open
tippfehlr opened this issue Dec 7, 2023 · 16 comments
Open

all three gps sattelites get disabled when enabling BeiDou #1914

tippfehlr opened this issue Dec 7, 2023 · 16 comments

Comments

@tippfehlr
Copy link

When I try to enable BeiDou Sattelites (CN) via GPS tab or cli, after rebooting all three, Galileo, BeiDou and Glonass are disabled again (in ui and in cli).

Steps to reproduce:

  1. enable Galileo and Glonass and reboot: works as expected
  2. enable BeiDou Sattelites and reboot: all three are disabled again

expected result:
all three stay activated


CONFIGURATOR: 7.0.0
FC FIRMWARE: 7.0.0 [SPEEDYBEEF405WING]
@tippfehlr
Copy link
Author

probably an issue with INAV itself.

@MrD-RC
Copy link
Collaborator

MrD-RC commented Dec 7, 2023

I’m sure this is expected behaviour. Either your GPS module doesn’t support having 4 GNSS. Or I believe I’ve read that BeiDou and GLONASS share something, that means they can’t be selected at the same time.

Maybe Configurator needs some kind of warning?

@mmosca could we get some clarification?

@tippfehlr tippfehlr reopened this Dec 7, 2023
@tippfehlr
Copy link
Author

Alright, reopened this one and closed the issue in inav.
If indeed glonass and BeiDou share something, maybe disable the other switch to indicate that only one is supported.

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023 via email

@MrD-RC
Copy link
Collaborator

MrD-RC commented Dec 8, 2023

I was meaning just an info box for explaining that. Not actually denying enabling certain clusters. Is that documented anywhere?

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023 via email

@tippfehlr
Copy link
Author

# status
INAV/SPEEDYBEEF405WING 7.0.0 Dec  5 2023 / 11:06:36 (895a4f31)
GCC-10.3.1 20210824 (release)
System Uptime: 44 seconds
Current Time: 2041-06-28T03:04:00.000+02:00
Voltage: 0.00V (0S battery - NOT PRESENT)
CPU Clock=168MHz, GYRO=ICM42605, ACC=ICM42605, BARO=SPL06
STM32 system clocks:
  SYSCLK = 168 MHz
  HCLK   = 168 MHz
  PCLK1  = 42 MHz
  PCLK2  = 84 MHz
Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=OK, RANGEFINDER=NONE, OPFLOW=NONE, GPS=OK
ESC Temperature(s): Motor Count = 2
ESC 0: 0°C, ESC 1: 0°C, 
SD card: Manufacturer 0x1b, 994816kB, 04/2008, v1.0, '00000'
Filesystem: Ready
Stack size: 6144, Stack address: 0x10010000, Heap available: 1728
I2C Errors: 0, config size: 9541, max available config: 131072
ADC channel usage:
   BATTERY : configured = ADC 1, used = ADC 1
      RSSI : configured = ADC 4, used = none
   CURRENT : configured = ADC 2, used = ADC 2
  AIRSPEED : configured = ADC 3, used = none
System load: 12, cycle time: 1035, PID rate: 966, RX rate: 9, System rate: 9
Arming disabled flags: NAV RX CLI
OSD: MAX7456 [30 x 16]
VTX: band: A, chan: 2, power: 1 (25 mW), freq: 5845 MHz
GPS: HW Version: UBLOX10 Proto: 34.09 Baud: 115200
  GNSS Capabilities:
    GNSS Provider active/default
    GPS 1/1
    Galileo 1/1
    BeiDou 0/1
    Glonass 1/0
    Max concurrent: 3

Max concurrent: 3

ok, so my gps (HGLRC M100 Mini) does indeed only do 3 at a time.
And BeiDou and Glonass don’t work at the same time, doesn’t matter is Galileo is enabled or not.

  • If this is confirmed, wouldn’t disabling the other switch make it clear?
  • And I don’t know if there are gps with less than 3 max concurrent gps systems, if yes maybe display used/max gps systems.
  • I’m in Europe/Germany, does it matter which one I activate? Or should I disable both?

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023 via email

@druckgott
Copy link

I have same problem. I have Config 7.0.0 and Inav 7.0.0.
Can only switch on 2 of 3:
grafik

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023

I was meaning just an info box for explaining that. Not actually denying enabling certain clusters. Is that documented anywhere?

That is probably ok. A basic warning that not all combinations of constellations may be supported by a particular GPS unit and that the settings will revert to default on invalid configurations would at least avoid more issues like this.

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023

I have same problem. I have Config 7.0.0 and Inav 7.0.0. Can only switch on 2 of 3: grafik

Normal, and expected. Just read the rest of the discussion.

@tippfehlr
Copy link
Author

I think showing the actual capabilities of the gps unit is much more user friendly than letting the user figure out what works and what doesn’t.
Is there a reason you are against disabling the options? The note can still be in the tooltips.

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023 via email

@tippfehlr
Copy link
Author

@mmosca I would just disable BeiDou/Glonass and (maybe) display a warning if Max concurrent is less than 3.

@mmosca
Copy link
Collaborator

mmosca commented Dec 8, 2023

@mmosca I would just disable BeiDou/Glonass and (maybe) display a warning if Max concurrent is less than 3.

You are assuming that combination is not valid in other gps models (current and future).

@tippfehlr
Copy link
Author

That is true, I was assuming that it was a limitation of the gnss itself (without having done research -_-)
A note is fine I guess

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

No branches or pull requests

4 participants