class ApproximateTimeSynchronizer(TimeSynchronizer):
Constructor: ApproximateTimeSynchronizer(fs, queue_size, slop, allow_headerless, reset)
Approximately synchronizes messages by their timestamps.
ApproximateTimeSynchronizer
synchronizes incoming message filters by the
timestamps contained in their messages' headers. The API is the same as TimeSynchronizer
except for an extra slop
parameter in the constructor that defines the delay (in seconds)
with which messages can be synchronized. 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 |
Instance Variable | allow |
Undocumented |
Instance Variable | enable |
Undocumented |
Instance Variable | last |
Undocumented |
Instance Variable | slop |
Undocumented |
Inherited from TimeSynchronizer
:
Method | connect |
Undocumented |
Instance Variable | input |
Undocumented |
Instance Variable | latest |
Undocumented |
Instance Variable | lock |
Undocumented |
Instance Variable | queue |
Undocumented |
Instance Variable | queues |
Undocumented |
Inherited from SimpleFilter
(via TimeSynchronizer
):
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 |