ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

AP_GPS: support GPSx_GNSS_MODE for F9P

Open andyp1per opened this issue 1 year ago • 1 comments

This provides limited support for the GPSx_GNSS_MODE parameter. Specifically it allows you to turn off and on the SBAS. Galileo, Beidou and Glonass constellations. All signals for these constellations are left at the defaults. GPS and QZSS are left enabled as recommended and cannot be changed.

This PR also fixes 2 bugs in the UBLOX driver:

  • Extensions are actually 30*N bytes for N extensions. Previously the buffer was sized too small meaning that extensions could be missed.
  • 1 byte configuration items only use the LSB, so the other 7 bits need to masked out when checking that a configuration item is enabled or disabled

andyp1per avatar Apr 29 '24 14:04 andyp1per

I have verified that all the allowed configurations work.

andyp1per avatar Apr 30 '24 13:04 andyp1per

Hey @andyp1per is it possible to look at F10N too? This module doesn't support GLONASS and sometimes very randomly I get GPS still configuring.

MallikarjunSE avatar May 22 '24 13:05 MallikarjunSE

Hi @MallikarjunSE this work was sponsored by LightDyamix and I am done at this point. There are many enhancements that could be considered - including M10 support. Happy to look at this on a commercial basis, but I would need a sample as well to get it working. Cheers Andy

andyp1per avatar May 22 '24 14:05 andyp1per

@MallikarjunSE I can test the F10N you sent me

tridge avatar May 23 '24 06:05 tridge

@MallikarjunSE I can test the F10N you sent me

Thanks @tridge

MallikarjunSE avatar May 23 '24 07:05 MallikarjunSE