I am using RTK Moving Baseline configuration but I want to enable two gps modules to pass RTCM data internally rather then going through the FCU to increase relaibility. I also want to keep the GPS Auto-config. Both GPS’s are connected to FCU via UART1 on F9 Module.
I have modified AP_GPS_UBLOX.cpp to enable Rover UART2 to accept RTCM from Base UART1 (whic is also connected to FCU). Also disabled Rover UART1 to accept RTCM.
When I tested on the aircraft the GPS modules pass the RTCM internally and can get RTK fixed. The problem is the critical prearm message GPS 1 failing configuration checks. Following an Info message GPS1: u-blox RTK MB configuration 0x2000.
I am trying to understand what else I should modify on the ublox GPS driver to do the checks with accepting the modifications.
Seems it’d be extremely easy to just connect UART2 instead and avoid all this madness. If that’s impossible for reasons I don’t understand, you should look at the source for the option I mentioned to see how it’s implemented.
Pretty sure you’ll need both RTCM3 and UBX enabled on UART1 out, but I’m not sure the bandwidth is available to do that successfully. Using UART2 to communicate with a second device is the right answer, though I understand your board architecture is not set up for that.