ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Cache Access from Message_Filter

asked 2011-06-27 13:07:09 -0500

Kirielson gravatar image

updated 2011-06-28 02:42:37 -0500

In the message_filter package, there is a cache function that allows you to store data for a temporary amount of time. How would you access this cache properly? I understand that the function in message_filter says for doing a callback but how would go and create this callback function for the cache. I want to access different parts of the cache.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-28 03:19:03 -0500

dornhege gravatar image

updated 2011-06-28 03:21:39 -0500

I think you are looking for that function:

std::vector< MConstPtr > getInterval (const ros::Time &start, const ros::Time &end) const

The callback is for new messages. I guess it's just there because it is a filter.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-06-27 13:07:09 -0500

Seen: 325 times

Last updated: Jun 28 '11