Pixhawk / Ardupilot + Reach integration, no HDOP or satcount

Take a look at:

GCS_MAVLINK::try_send_gps_message(const enum ap_message id)
calls
AP_GPS::send_mavlink_gps_rtk(mavlink_channel_t chan, uint8_t inst)
And that one only calls this one:
AP_GPS_Backend::send_mavlink_gps_rtk(mavlink_channel_t chan)
if supports_mavlink_gps_rtk_message() is set to true

I don’t see anything specific to the RTK for GPS2_RAW Messages that contains the dop and nsats values:

I added some debug statements to the ERB driver to see if the nsats and dop values are coming in when there are no measurements. I’ll let you know what I found out after my testing.

@Amilcar_Lucas I added some debug statements in the ERB driver and verified that the nsats and dop values are zero until measurements are sent from the base. So it looks like the Reach is not sending the nsats or dop value until it is in Floating Fix mode.

https://github.com/rrr6399/ardupilot/blob/m8p-rtk-message/libraries/AP_GPS/AP_GPS_ERB.cpp#L188

Nice, no need to change ArduPilot. Just need to wait for Emlid to fix their ERB code.

@rrr6399 Thanks for putting the time into this!

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.