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

Different qos for mocap and crazyswarm #7

Open
SkogsTomte opened this issue Aug 31, 2023 · 1 comment
Open

Different qos for mocap and crazyswarm #7

SkogsTomte opened this issue Aug 31, 2023 · 1 comment

Comments

@SkogsTomte
Copy link

I am running crazyswarm2 with qualisys and encountered the problem that the messages published to /poses from the mocap node could not be read by crazyswarm server because the messages had different qos. These were the warnings:

[crazyflie_server-4] [WARN] [1693406308.889943154] [crazyflie_server]: New publisher discovered on topic '/poses', offering incompatible QoS. No messages will be sent to it. Last incompatible policy: DEADLINE_QOS_POLICY
[motion_capture_tracking_node-1] [WARN] [1693406308.902118724] [motion_capture_tracking]: New subscription discovered on topic '/poses', requesting incompatible QoS. No messages will be sent to it. Last incompatible policy: DEADLINE_QOS_POLICY

I solved it by defining qos for the publisher in motion_capture_tracking_node.cpp to fit what is expected from crazyswarm, but i suspect there is an easier way, as there seem to be an option for qos in the motion_capture_tracking config file in the crazyswarm2 package. Now it says sensor, but I don't know how to change it for it to work with qualisys

@whoenig
Copy link
Collaborator

whoenig commented Aug 31, 2023

Did you pull the latest changes from this repository (ros2 branch)? If you have an older version, it doesn't know about the new config file option.

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