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

Checking PX4 messages at startup #44

Open
damien-robotsix opened this issue Jul 5, 2024 · 1 comment
Open

Checking PX4 messages at startup #44

damien-robotsix opened this issue Jul 5, 2024 · 1 comment

Comments

@damien-robotsix
Copy link
Contributor

damien-robotsix commented Jul 5, 2024

Hello,

The compatibility of the PX4 messages are tested at startup but not their availability. I don't know to which extend it can be implemented but for now if one message if missing in the controller we get a throw when we ask for the last message for example with no previous warning. It would be nice to have a system to check that the required messages are really available on PX4 side at initialization.

If it exist already I doesn't work for vehicle_angular_velocity for example (did I miss something when I did the PR on this?)

Also the name of the topic in the throw would be a + :D

@bkueng
Copy link
Collaborator

bkueng commented Jul 10, 2024

There's no check yet. My preferred approach is to have a mechanism to request a message at a given update rate. And this could then also return an error if it's not available.

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