ros-tooling / topic_tools

Tools for directing, throttling, selecting, and otherwise manipulating ROS 2 topics at a meta-level.
Apache License 2.0
71 stars 33 forks source link

Support operations on synchronized topics #102

Closed ashwinvkNV closed 5 months ago

ashwinvkNV commented 5 months ago

Description

I would like this package to allow operations on synced topics. The use case that I'm thinking of is when the inputs are coming from a camera, ie, camera_info and image_raw topics. In this case, throttle may drop/throttle messages on one topic, but for different timestamps for the other topic. Hence the outputs are throttled but the downstream exact sync of the throttled messages will fail.

Are there any efforts to enable doing the same operation on synced topics?

ashwinvkNV commented 5 months ago

Related threads: https://robotics.stackexchange.com/questions/29473/synchronize-throttling https://answers.ros.org/question/9053/synchronize-throttling/

ashwinvkNV commented 5 months ago

The ExactTime policy requires the subscriber type at compile time and hence it isn't feasible to create generic synced operations.

Closing.