You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there is nothing equivalent in C++ right now. Certainly we would be happy to review a pull request that added it to the C++ side of things, so please consider contributing.
In this example, the Cache stores the last 100 messages received on my_topic, and myCallback is called on the addition of every new message. The user can then make calls like cache.getInterval(start, end) to extract part of the cache.
If the message type does not contain a header field that is normally used to determine its timestamp, and the Cache is contructed with allow_headerless=True, the current ROS time is used as the timestamp of the message. This is currently only available in Python.
I know that you can set
allow_headerless = True
in python, but is there an equivalent option for C++? Are there plans to add it in the future?The text was updated successfully, but these errors were encountered: