Skip to content

Conversation

@dakejahl
Copy link
Contributor

Problem

The heading_offset from the GPS_YAW_OFFSET wasn't getting applied to the sensor_gnss_relative.heading.

Fixes PX4/PX4-Autopilot#26149

Context

Since PX4/PX4-Autopilot#23821 PX4 uses RelPosHeading in favor of the Fix2 ecef_position_velocity hack.

I've also taken the opportunity to clean up and consolidate the logic in UBX_MSG_NAV_RELPOSNED handling.

Testing

Tested successfully with an ARKV6X and Dual ARK CAN RTK GPS in a Rover + MovingBase configuration.

@alexcekay would you mind doing a quick test with serial GPS modules?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Dual RTK GPS Heading Inconsistency

3 participants