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

Inav 7.1.2 GPS issues with FlyFishRC M10 Mini GPS Module #10472

Open
roroid opened this issue Nov 18, 2024 · 16 comments
Open

Inav 7.1.2 GPS issues with FlyFishRC M10 Mini GPS Module #10472

roroid opened this issue Nov 18, 2024 · 16 comments

Comments

@roroid
Copy link

roroid commented Nov 18, 2024

Current Behavior

Not able to set GPS satelites to Galileo or Glonas
Not able to arm the vehicle, even if I have more than 10 satelites locked

ScreenRecording_11-18-2024.09-46-36_1.mov

Steps to Reproduce

See above video

Expected behavior

Able to setup Galileo or Glonas.
Arm with more then 6 satelites locked

Suggested solution(s)

if I configure the variable
gps_auto_config=off
system is working

Additional context

This is an old FC, Betaflight F4. I did not have this issue with a Speedeby Mini WING F405 on same INAV version with same type of GPS.
On the INAV Fixed Wing group some other users reported same problem

  • FC Board name and vendor:Betaflight F4
  • INAV version string:7.1.2
@mmosca
Copy link
Collaborator

mmosca commented Nov 18, 2024

Please post the output of status and/or try 8.0.0 RC1

@roroid
Copy link
Author

roroid commented Nov 18, 2024

# 
# Building AutoComplete Cache ... Done!
# 
# status
INAV/BETAFLIGHTF4 7.1.2 May 31 2024 / 21:59:42 (4e1e59eb)
GCC-10.3.1 20210824 (release)
System Uptime: 188 seconds
Current Time: 2024-11-18T15:48:10.949+00:00
Voltage: 0.55V (0S battery - NOT PRESENT)
CPU Clock=168MHz, GYRO=MPU6000, ACC=MPU6000
STM32 system clocks:
  SYSCLK = 168 MHz
  HCLK   = 168 MHz
  PCLK1  = 42 MHz
  PCLK2  = 84 MHz
Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=NONE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=OK
ESC Temperature(s): Motor Count = 2
ESC 0: 0°C, ESC 1: 0°C, 
Stack size: 6144, Stack address: 0x10010000, Heap available: 1828
I2C Errors: 45, config size: 10423, max available config: 131072
ADC channel usage:
   BATTERY : configured = ADC 2, used = ADC 2
      RSSI : configured = none, used = none
   CURRENT : configured = ADC 1, used = ADC 1
  AIRSPEED : configured = none, used = none
System load: 9, cycle time: 1014, PID rate: 986, RX rate: 9, System rate: 9
Arming disabled flags: NAV RX CLI
OSD: MSP DisplayPort: BetaFlight Compatability mode (HD) [53 x 20]
VTX: not detected
GPS: HW Version: UBLOX10 Proto: 34.00 Baud: 115200
  GNSS Capabilities:
    GNSS Provider active/default
    GPS 1/1
    Galileo 1/1
    BeiDou 1/0
    Glonass 0/0
    Max concurrent: 3

@roroid
Copy link
Author

roroid commented Nov 18, 2024

same on inav 8

INAV/BETAFLIGHTF4 8.0.0 Nov 15 2024 / 17:32:07 (5f78f962) dev
GCC-13.2.1 20231009
System Uptime: 16 seconds
Current Time: 2041-06-28T02:04:00.000+01:00
Voltage: 0.55V (0S battery - NOT PRESENT)
CPU Clock=168MHz, GYRO=MPU6000, ACC=MPU6000
STM32 system clocks:
  SYSCLK = 168 MHz
  HCLK   = 168 MHz
  PCLK1  = 42 MHz
  PCLK2  = 84 MHz
Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=NONE, RANGEFINDER=NONE, OPFLOW=NONE, GPS=OK
ESC Temperature(s): Motor Count = 2
ESC 0: 0°C, ESC 1: 0°C, 
Stack size: 6144, Stack address: 0x10010000, Heap available: 1828
I2C Errors: 50, config size: 13411, max available config: 131072
ADC channel usage:
   BATTERY : configured = ADC 2, used = ADC 2
      RSSI : configured = none, used = none
   CURRENT : configured = ADC 1, used = ADC 1
  AIRSPEED : configured = none, used = none
System load: 13, cycle time: 511, PID rate: 1956, RX rate: 9, System rate: 9
Arming disabled flags: NAV THR CMS
  WAITING FOR GPS FIX
OSD: MSP DisplayPort [30 x 16]
VTX: not detected
GPS: HW Version: UBLOX10 Proto: 34.00 Baud: 115200
  SATS: 0
  HDOP:  99.990
  EPH :  99.990 m
  EPV :  99.990 m
  GNSS Capabilities:
    GNSS Provider active/default
    GPS 1/1
    Galileo 1/1
    BeiDou 1/0
    Glonass 0/0
    Max concurrent: 3

@sensei-hacker
Copy link
Collaborator

First, you'll want to use "UBLOX7" protocol. That's for N7M or newer. You can first check if just doing that solves your issue.

If not, the next thing is if you manually changed any settings on the GPS using U-Center, go back to U-Center and click the button to reset to defaults. The M10 is very limited hardware - only one single receiver front end, for example. So each channel can only be used by one constellation. If you have a different constellation set to use the channel that INAV is trying to configure for that channel, it'll be a conflict and not work.

@roroid
Copy link
Author

roroid commented Nov 19, 2024

First, you'll want to use "UBLOX7" protocol. That's for N7M or newer. You can first check if just doing that solves your issue.

If not, the next thing is if you manually changed any settings on the GPS using U-Center, go back to U-Center and click the button to reset to defaults. The M10 is very limited hardware - only one single receiver front end, for example. So each channel can only be used by one constellation. If you have a different constellation set to use the channel that INAV is trying to configure for that channel, it'll be a conflict and not work.

I’ve also tried using the u-blox 7, but I’m still unable to configure constellations, and the settings keep resetting after each reboot. I know this GPS supports two constellations, as I have the same model on three other aircraft without any issues. This is the first time I’m using the u-blox 7 on my vehicles, though.

In the meantime, I applied the M10 hack to it, set it up on the u-blox 7, and modified the serial connection so it’s powered by the battery. At least now I can get the vehicle to arm.

@sensei-hacker
Copy link
Collaborator

sensei-hacker commented Nov 19, 2024

I know this GPS supports two constellations

It supports all four constellations concurrently, with our configuration which is built into INAV.

That's done by using a different channel for each constellation, since the M10 has only one receiver. Unlike and M8 or M9, which can use the high-precision channels for all constellations. If you try to use the same channel for two different constellations in an M10 that won't work, because on the M10 they all have to share the same receiver. If you're going to do your own manual configuration rather than letting INAV do it, you have to choose which constellation gets the better channel.

Mixing our recipe, which works well, with another recipe you found on a forum somewhere is like mixing a recipe for chocolate cake with a recipe for chicken soup. You end up with chocolate chicken cake, which isn't likely to be very good.

Using my config works well. Manually configuring it based on some forum post you found may also work fine. Mixing the two together just makes a mess.

@roroid
Copy link
Author

roroid commented Nov 19, 2024

I don't think i follow you. I want to setup Galileo, and I'm not able because the settings are getting reset. I'm not trying to mix any settings.

@imotep33
Copy link

Hello, i'm having exactly the same issue. I use this model of GPS on a speedybee F405 MINI wing flight controller.
I can't set up the Galileo satellites ON. I only have the GPS satellites working.
I also tried to use Ublox or Ublox7 protocol and there is no difference.

I have exactly the same GPS on a matek F411 WTE and Inav 6. it's working perfectly and the Galileo satellites are ON

@sensei-hacker
Copy link
Collaborator

I don't think i follow you. I want to setup Galileo, and I'm not able because the settings are getting reset. I'm not trying to mix any settings.

What exactly do you mean when you say ", I applied the M10 hack to it"? What exactly did you do?

@sensei-hacker
Copy link
Collaborator

Hello, i'm having exactly the same issue. I use this model of GPS on a speedybee F405 MINI wing flight controller. I can't set up the Galileo satellites ON. I only have the GPS satellites working. I also tried to use Ublox or Ublox7 protocol and there is no difference.

I have exactly the same GPS on a matek F411 WTE and Inav 6. it's working perfectly and the Galileo satellites are ON

If you indeed have exactly the same problem, you tried to do some kind of "hack" to it? Probably using U-Center?

@imotep33
Copy link

Hello, i'm having exactly the same issue. I use this model of GPS on a speedybee F405 MINI wing flight controller. I can't set up the Galileo satellites ON. I only have the GPS satellites working. I also tried to use Ublox or Ublox7 protocol and there is no difference.
I have exactly the same GPS on a matek F411 WTE and Inav 6. it's working perfectly and the Galileo satellites are ON

If you indeed have exactly the same problem, you tried to do some kind of "hack" to it? Probably using U-Center?

hum, no. I don't know how to do it I a preferred to spinelessly downgrade to inav 6.1.1 and Galileo works fine on this version.

@roroid
Copy link
Author

roroid commented Dec 3, 2024

I don't think i follow you. I want to setup Galileo, and I'm not able because the settings are getting reset. I'm not trying to mix any settings.

What exactly do you mean when you say ", I applied the M10 hack to it"? What exactly did you do?

What is writen here.

https://iflight-rc.eu/blogs/news/m10-gps-3d-fix-enhancement?gad_source=1&gclid=CjwKCAiA9bq6BhAKEiwAH6bqoCNzhX-oZ7AIqF6fMruQxLgygtqmLqYrekVkk1vZHI_tSTznM-pMlxoChKkQAvD_BwE

@sensei-hacker
Copy link
Collaborator

sensei-hacker commented Dec 3, 2024

Okay so you

I don't think i follow you. I want to setup Galileo, and I'm not able because the settings are getting reset. I'm not trying to mix any settings.

What exactly do you mean when you say ", I applied the M10 hack to it"? What exactly did you do?

What is writen here.

https://iflight-rc.eu/blogs/news/m10-gps-3d-fix-enhancement?gad_source=1&gclid=CjwKCAiA9bq6BhAKEiwAH6bqoCNzhX-oZ7AIqF6fMruQxLgygtqmLqYrekVkk1vZHI_tSTznM-pMlxoChKkQAvD_BwE

Okay so you applied a bunch of settings from someone who writes "Some cryptic stuff should appear, not sure why but it does. .... Select every available checkbox option ... " In other words, they don't really know what they're doing, and clearly you don't know what you did.

Part of what's in those settings is it tells the module to update every 1 millisecond - 1,000 times per second.
The chip is actually capable of updating 10 times per second.

The suggestion remains the same - reset to defaults in UCenter to get the module back into a sane state, then let INAV configure it as required. Alternatively, you could restore the backup of the factory settings that you saved before making changes. Or maybe the person writing that post didn't know you should save a backup before making changes, so you don't have a backup? To restore your module to a reasonable state, go to View -> Configuration View, select “CFG (Configuration)” on the left, select “Revert to default configuration” on the right, and press “Send” at the bottom.

@roroid
Copy link
Author

roroid commented Dec 3, 2024

Okay so you

I don't think i follow you. I want to setup Galileo, and I'm not able because the settings are getting reset. I'm not trying to mix any settings.

What exactly do you mean when you say ", I applied the M10 hack to it"? What exactly did you do?

What is writen here.

https://iflight-rc.eu/blogs/news/m10-gps-3d-fix-enhancement?gad_source=1&gclid=CjwKCAiA9bq6BhAKEiwAH6bqoCNzhX-oZ7AIqF6fMruQxLgygtqmLqYrekVkk1vZHI_tSTznM-pMlxoChKkQAvD_BwE

Okay so you applied a bunch of settings from someone who writes "Some cryptic stuff should appear, not sure why but it does. .... Select every available checkbox option ... " In other words, they don't really know what they're doing, and clearly you don't know what you did.

Part of what's in those settings is it tells the module to update every 1 millisecond - 1,000 times per second.

The chip is actually capable of updating 10 times per second.

The suggestion remains the same - reset to defaults in UCenter to get the module back into a sane state, then let INAV configure it as required. Alternatively, you could restore the backup of the factory settings that you saved before making changes. Or maybe the person writing that post didn't know you should save a backup before making changes, so you don't have a backup? To restore your module to a reasonable state, go to View -> Configuration View, select “CFG (Configuration)” on the left, select “Revert to default configuration” on the right, and press “Send” at the bottom.

Exactly, and the cryptic stuff made it work. Without the cryptic stuff, I had 12 satellites and could not arm. Still, to avoid losing track of where we began, I’m still not able to select Galileo, with or without the cryptic stuff.

@sensei-hacker
Copy link
Collaborator

Still, to avoid losing track of where we began I’m still not able to select Galileo

And you probably won't be able to until you reset the module to a sane state.

@roroid
Copy link
Author

roroid commented Dec 3, 2024

Still, to avoid losing track of where we began I’m still not able to select Galileo

And you probably won't be able to until you reset the module to a sane state.

Ok. Seems that I'm speaking American and you are understanding English.

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