class documentation
Stores a time history of messages.
Given a stream of messages, the most recent cache_size messages are cached in a ring buffer, from which time intervals of the cache can then be retrieved by the client. The allow_headerless option specifies whether to allow storing headerless messages with current ROS time instead of timestamp. You should avoid this as much as you can, since the delays are unpredictable.
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | connect |
Undocumented |
Method | get |
Return the oldest element after or equal the passed time stamp. |
Method | get |
Return the newest element before or equal the passed time stamp. |
Method | get |
Query the current cache content between from_stamp to to_stamp. |
Method | get |
Undocumented |
Method | get |
Return the newest recorded timestamp (equivalent to getLatestTime() , but included for backwards compatibility). |
Method | get |
Return the newest recorded timestamp. |
Method | get |
Return the oldest recorded timestamp. |
Instance Variable | allow |
Undocumented |
Instance Variable | cache |
Undocumented |
Instance Variable | cache |
Undocumented |
Instance Variable | cache |
Undocumented |
Instance Variable | incoming |
Undocumented |
Inherited from SimpleFilter
:
Method | register |
Register a callback function cb to be called when this filter has output. The filter calls the function cb with a filter-dependent list of arguments, followed by the call-supplied arguments args. |
Method | signal |
Undocumented |
Instance Variable | callbacks |
Undocumented |
Return the newest recorded timestamp (equivalent to getLatestTime()
, but included for backwards compatibility).