ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I do not know how to make this work to be honest, so I usually have a workaround.
I do it with a message_filters::Cache.
/scan
, if everything was smooth then a queue of (25/3) would be enough, but I would go for 100 messages at least./localizer_pose
callback, you can retrieve the latest message from the /scan
cache with getLatestTime()
. You can also retrieve the latest message before a given timestamp.