ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-10-09 14:12:23 -0500 | received badge | ● Nice Question (source) |
2022-01-26 06:00:19 -0500 | received badge | ● Student (source) |
2021-04-07 05:23:35 -0500 | marked best answer | ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function Description I am trying to get the message_filters::TimeSynchronizer to work on my Linux Ubuntu 18.04 (Linux version 5.4.0-54-generic) and wrote a minimal node, according to other entries in this forum and the ros2 tutorials. This node simply publishes two Temperature messages with the exact same timestamp and then subscribes to these topics to an instance of message_filters::TimeSynchronizer. Unfortunately, the Synchronization does not work as expected and at the same time does not output any Warnings, Errors or similar, that would help debugging. The issue is the following: When testing the plain message_filters::Subscriber instances for the two topics, I could verify, that the messages actually do come in and have the exact same timestamp. But still after adding them to the TimeSynchonizer instance, the according callback function is never called somehow. I also tested it with a Policy (ApproximateTime), but also there, the callback was never called. I even made sure, after reading through similar issues in here, to use the same QoS in both the publishers and subscribers without any success... Platform: Tested both in Ubuntu 20.04 with Foxy, as well as in Ubuntu 18.04 with Eloquent with the same outcome. Code: The test node I wrote for this to reproduce the error looks the following: Package XML CmakeLists.txt Cpp Node (more) |
2021-04-07 05:23:35 -0500 | received badge | ● Scholar (source) |
2021-01-28 05:09:46 -0500 | received badge | ● Famous Question (source) |
2021-01-26 12:27:35 -0500 | commented question | ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function UPDATE The issue still persists, but I just implemented and tested the same nodes in python, where the synchronization s |
2021-01-26 12:25:34 -0500 | commented question | ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function UPDATE The issue still persists, but I just implemented and tested the same nodes in python, where the synchronization s |
2021-01-26 12:06:29 -0500 | commented question | ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function UPDATE The issue still persists, but I just implemented and tested the same nodes in python, where the synchronization s |
2021-01-05 11:27:06 -0500 | commented answer | [ROS2] bag API Unfortunately, exactly what was predicted by @jayess is the case now: the original article disappeared. @kyungpyo: Would |
2021-01-05 11:26:25 -0500 | commented answer | [ROS2] bag API Unfortunately, exactly what was predicted by @jayess is the case now: the original article disappeared. @kyungpyo: Would |
2021-01-05 11:26:09 -0500 | commented answer | [ROS2] bag API Unfortunately, exactly what was predicted by @jayess is the case now: the original article disappeared. @kyungpo: Would |
2021-01-04 08:07:07 -0500 | received badge | ● Notable Question (source) |
2020-12-19 02:20:00 -0500 | received badge | ● Popular Question (source) |
2020-12-01 09:00:37 -0500 | received badge | ● Enthusiast |
2020-11-27 05:23:59 -0500 | commented answer | Using C++ message filters in ROS2 Thanks for the answer, this helped me to get started with the package and compile a similar minimal example like the one |
2020-11-27 05:23:59 -0500 | asked a question | ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function ROS 2 message_filters TimeSynchronizer minimal example does not reach callback function Description I am trying to get |
2020-11-27 03:09:32 -0500 | received badge | ● Supporter (source) |
2020-11-26 11:03:17 -0500 | received badge | ● Autobiographer |