ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Cache Access from Message_Filter

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

Kirielson gravatar image

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

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

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

dornhege gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 248 times

Last updated: Jun 28 '11