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

Wrong mapping when reading UBX-NAV-SAT messages #145

Open
bedaberner opened this issue Dec 7, 2023 · 1 comment
Open

Wrong mapping when reading UBX-NAV-SAT messages #145

bedaberner opened this issue Dec 7, 2023 · 1 comment

Comments

@bedaberner
Copy link
Contributor

bedaberner commented Dec 7, 2023

It seems like "used" gets assigned the wrong value.

_satellite_info->used[sat_index] = static_cast<uint8_t>(_buf.payload_rx_nav_svinfo_part2.flags & 0x01);

it checks bit 0 of the flags when according to the Interface Description (page 150/151) it should be bit 3.

@bkueng
Copy link
Member

bkueng commented Dec 11, 2023

You are correct, can you create a pull request to fix it?

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

No branches or pull requests

2 participants