Robotics StackExchange | Archived questions

message_event support in ros 2

Do the subscription mechanism provided in rclcpp support something like ros::MessageEvent callbacks ?

Asked by Skyking on 2018-05-10 00:44:03 UTC

Comments

Did you find out?

There is a MessageEvent type: https://github.com/ros2/message_filters/blob/master/include/message_filters/message_event.h

But I can't get it to work, I do what the line 70 tells me to do but I get compilation errors (if someone can get it to work please tell me how).

And either way the current MessageEvent implementation in ROS2 does not seems to have the same capabilities: https://github.com/ros2/message_filters/issues/52

Asked by Federico Ciuffardi on 2021-08-30 02:34:34 UTC

Answers