rqt_bag.recorder module
Recorder subscribes to ROS messages and writes them to a bag file.
- class rqt_bag.recorder.Recorder(node, filename, bag_lock=None, all_topics=True, topics=[], regex=False, limit=0, master_check_interval=1.0)
Bases:
object
- add_listener(listener)
Add a listener which gets called whenever a message is recorded.
@param listener: function to call @type listener: function taking (topic, message, time)
- get_topic_names_and_types(include_hidden_topics=False)
- pause()
- property paused
- start()
Start subscribing and recording messages to bag.
- stop()
Stop recording.
- toggle_paused()
- unpause()