iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.08k stars 1.46k forks source link

BZGNSS GPS modules only running at max 5Hz #8778

Closed Pairan closed 1 year ago

Pairan commented 1 year ago

Currently the new M10 GPS modules from BZGNSS (e.g. BZ-121, BZ-181, BZ-251) only run at 5Hz although they are capable of 10Hz refresh rate (when not ALL systems activated if I read right). The GPS units are defined as this:

INAV works fine with these units just cant get up at 10Hz by now as it seams ...

grafik

Current Behavior

INAV (5.1) operates these GPS units at max 5Hz

Steps to Reproduce

  1. connect the GPS unit accordingly
  2. set UBLOX7 protocol
  3. take a look at the refresh rate

Expected behavior

I would like to get it up at 10Hz like on the older modules (Beitian BN-180). After having set the rates to 10Hz in U-Center (2) and saving it to flash, it gets reset after INAV has booted up. ... am I doing anything wrong here? grafik After INAV has booted up, the refresh rate is back at 5Hz / 200ms

Suggested solution(s)

Set the GPS refresh rate up to 10Hz instead of 5Hz

Additional context

Perhaps the setup for the GPS units have changed with M10 chips

INAV/MATEKF405SE 5.1.0 Aug 19 2022 / 12:05:31 (76f22b25)

GCC-10.2.1 20201103 (release)

grafik

stronnag commented 1 year ago

The setting for M10 is by design. Not being limited to 16 satellites is considered more important than 10Hz.

stronnag commented 1 year ago

See #6269

Pairan commented 1 year ago

Thanks for the update, mate ... wasn't aware of it!