Verifying GPS Use for Heading

Hi everyone,

I recently purchased the Holybro H-RTK Unicore UM982 GPS module and enabled GPS-based heading by setting the EKF2_GPS_CTRL parameter to 15. I would like to know how I can verify that the system is actually using GPS data for heading calculations instead of the compass.
What steps or parameters should I check to ensure that the configuration is correct and that the GPS is being used for heading?

Thanks in advance for your help!

You can go to Analyze Tools → MAVLink Console in QGroundControl, and then do:

listener estimator_status_flags

And look for: cs_gnss_yaw

If you record a log, then you can look at it in PlotJuggler (or whatever tool you like) and look for ESTIMATOR_STATUS_FLAGS.cs_gnss_yaw.

I agree it would be nice if there was an easier way.

Hi Julian,

I’m attaching these images. I did the test you mentioned, but it didn’t work. I see the parameter is set to false.




Any idea about this?
Maybe i have to disable or change other parameters?

And that’s tested outdoor with good GPS signal, and you have verified that GPS itself is working properly?

I have exactly the same problem. GPS works but cs_gps_yaw shows false. Using UM982 dual antenna setup with latest px4 stable (1.15.2). Did you solve it eventually?