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

[WIP] uavcannode: add global navigation solution #22235

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexKlimaj
Copy link
Member

No description provided.

{
using uavcan::navigation::GlobalNavigationSolution;

// vehicle_global_position -> uavcan::navigation::GlobalNavigationSolution
Copy link
Member

Choose a reason for hiding this comment

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

It would be better to do this with vehicle_local_position. The vehicle_global_position is just the local NED estimate reprojected with the ref_lat, ref_lon fields available in vehicle_local_position.

# Position of reference point (local NED frame origin) in global (GPS / WGS84) frame
bool xy_global # true if position (x, y) has a valid global reference (ref_lat, ref_lon)
bool z_global # true if z has a valid global reference (ref_alt)
uint64 ref_timestamp # Time when reference position was set since system start, (microseconds)
float64 ref_lat # Reference point latitude, (degrees)
float64 ref_lon # Reference point longitude, (degrees)
float32 ref_alt # Reference altitude AMSL, (metres)

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated to vehicle_local_position and force pushed.

@dagar dagar marked this pull request as draft October 18, 2023 17:29
@AlexKlimaj AlexKlimaj force-pushed the pr-dronecan-global-navigation-solution branch from fe5d239 to d419bc6 Compare October 24, 2023 02:46
@AlexKlimaj AlexKlimaj force-pushed the pr-dronecan-global-navigation-solution branch from d419bc6 to 746d86c Compare October 28, 2023 17:48
@github-actions github-actions bot added the stale label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants