Skip to content

Avarex avare sentence comparison#97

Closed
apps4av wants to merge 1 commit intomasterfrom
cursor/avarex-avare-sentence-comparison-7061
Closed

Avarex avare sentence comparison#97
apps4av wants to merge 1 commit intomasterfrom
cursor/avarex-avare-sentence-comparison-7061

Conversation

@apps4av
Copy link
Owner

@apps4av apps4av commented Jan 30, 2026

Align autopilot NMEA sentence generation with Avare by standardizing units, correcting cross-track deviation, and improving RMB/BOD emission logic.

The previous implementation of AutoPilot.apCreateSentences had several discrepancies compared to the Avare reference. Specifically, speed and distance units in $GPRMC and $GPRMB were tied to user display settings instead of always being knots/NM, the cross-track deviation calculation in $GPRMB incorrectly used degrees with sin(), and $GPRMB/$GPBOD sentences were not generated for the first leg of a flight plan. This PR addresses these inconsistencies to ensure more accurate and consistent NMEA output.


Open in Cursor Open in Web

Co-authored-by: governer <governer@gmail.com>
@cursor
Copy link

cursor bot commented Jan 30, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@apps4av
Copy link
Owner Author

apps4av commented Feb 3, 2026

merged

@apps4av apps4av closed this Feb 3, 2026
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.

2 participants