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

unicore: extract vertical velocity and velocity accuracy #171

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

julianoes
Copy link
Contributor

@julianoes julianoes commented Aug 26, 2024

It looks like vertical velocity, and velocity accuracy is not available using NMEA, so we extract them from the Unicore ACRICA message instead.

It looks like vertical velocity is not available using NMEA, so we
extract it from the Unicore ACRICA message instead.
src/unicore.cpp Outdated Show resolved Hide resolved
This switches over all velocity fields to the Unicore message (if
available) and also adds the velocity accuracy (variance).
@julianoes
Copy link
Contributor Author

Data from a flight test looks sane:

velocities
velocities and stddev

@julianoes julianoes changed the title unicore: extract vertical velocity unicore: extract vertical velocity and velocity accuracy Sep 18, 2024
@julianoes julianoes merged commit fb151bc into main Sep 18, 2024
@julianoes julianoes deleted the pr-unicore-vertical-velocity branch September 18, 2024 03:04
(_unicore_parser.agrica().stddev_velocity_north_m_s * _unicore_parser.agrica().stddev_velocity_north_m_s +
_unicore_parser.agrica().stddev_velocity_east_m_s * _unicore_parser.agrica().stddev_velocity_east_m_s +
_unicore_parser.agrica().stddev_velocity_up_m_s * _unicore_parser.agrica().stddev_velocity_up_m_s)
/ 3.0f;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be square root?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, it's called variance...

@DronecodeBot
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/um982-isnt-providing-heading-data/35195/26

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.

3 participants