Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NMEA/Unicore fixes #173

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

NMEA/Unicore fixes #173

wants to merge 3 commits into from

Conversation

julianoes
Copy link
Contributor

  • Add correct return value for sat infos
  • Only publish on position updates
  • Request required topics at 5 Hz for Unicore

See commits for details and review.

So far only bench tested, flight testing will follow.

@dronesalot any chance you could check this on your side as well?

This changes the publication logic to only publish when a new position
update has arrived.

This avoids the issue where we publish heading updates without position
updates which leads to:
- Heading toggling between a valid value and NAN (or 0 in MAVLink) which
  is confusing.
- sensor_gps updates to be too frequent and therefore ignored in the
  estimator.
In my testing my UM982 only sent position updates at 2 Hz, velocity
at 4 Hz, eph/epv were not available at all.

I therefore suggest to request these messages at 5 Hz when we detect
Unicore.
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.

1 participant