rqt_bag.player module

Player listens to messages from the timeline and publishes them to ROS.

class rqt_bag.player.Player(*args: Any, **kwargs: Any)

Bases: QObject

Handles publishing messages as the playhead passes over their position.

create_publisher(topic, ros_message, offered_qos_profile)
event(event)

Process events posted by post_event.

It will call message_cleared or message_viewed with the relevant data.

is_publishing(topic)
message_cleared()
message_viewed(bag, entry)

Publish a message when it is viewed.

Parameters:
  • bag – the bag the message is in, ‘’rosbag.bag’’

  • entry – the bag entry

resume()
start_clock_publishing()
start_publishing(topic)
stop()
stop_clock_publishing()
stop_publishing(topic)