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

Add qos parameters to ros2 topic hz #719

Open
Bjoernolav opened this issue May 30, 2022 · 1 comment · May be fixed by #935
Open

Add qos parameters to ros2 topic hz #719

Bjoernolav opened this issue May 30, 2022 · 1 comment · May be fixed by #935
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Bjoernolav
Copy link

Feature description

Currently, the ros2 topic hz verb does not allow the user to specify qos settings.

We had a case where ros2 topic hz did not report the expected frequency. In this case, 12 messages was published at a burst at 10 Hz (resulting in an expected frequency of 120 Hz). The hz verb uses the sensor_data qos profile, which has a queue depth of 5. This caused messags to be dropped, and ros2 topic hz only reporting about 70-80 Hz. Setting up a separate subscriber with a queue depth > 12 we received all the messages.

It would be very nice to be able to specify the qos settings in a similar way as e.g. ros2 topic echo.

Implementation considerations

This could probably be implemented in a similar way as for the other ros2 topic verbs?

@clalancette clalancette added the help wanted Extra attention is needed label May 31, 2022
@clalancette
Copy link
Contributor

Yeah, that would be a fine feature to have. Please consider submitting a pull request implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants