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

Incorrect namespace dirs causing CRC check errors #14

Open
sam-bain opened this issue Nov 3, 2023 · 0 comments
Open

Incorrect namespace dirs causing CRC check errors #14

sam-bain opened this issue Nov 3, 2023 · 0 comments

Comments

@sam-bain
Copy link

sam-bain commented Nov 3, 2023

I found out the hard way that you can't specify one of the library subdirectories (ie. DSDL/ardupilot/equipment/proximity_sensor) as one of your namespace dirs (as opposed to one of the base libraries, ie. DSDL/ardupilot).

When you do this, the generated message signature (ie. PROXIMITY_SENSOR_PROXIMITY_SIGNATURE) is different. This is used to calculate the CRC bits, which will be different if the two devices communicating are not using the same compilation.

Could be nice to have this fixed or clarified in the README :)

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

1 participant