message_event support in ros 2

asked 2018-05-10 00:44:03 -0500

Skyking gravatar image

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

edit retag flag offensive close merge delete


Did you find out?

There is a MessageEvent type:

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:

Federico Ciuffardi gravatar image Federico Ciuffardi  ( 2021-08-30 02:34:34 -0500 )edit