rqt_robot_monitor.timeline module

class rqt_robot_monitor.timeline.Timeline(*args: Any, **kwargs: Any)

Bases: QObject

A class which represents the status history of diagnostics It can be queried for a past history of diagnostics, and paused

callback(msg)

ROS Callback for new diagnostic messages

Puts new msg into the queue, and emits a signal to let listeners know that the timeline has been updated

If the timeline is paused, new messages are placed into a separate queue and swapped back in when the timeline is unpaused

property data_age

Get the age (in seconds) of the most recent diagnostic message

get_all_status_by_name(name)
get_current_status_by_name(name)
property has_messages

True if this timeline has received any messages. False if no messages have been received yet

property is_stale

True is this timeline is stale.

message_updated

alias of dict

pause_changed

alias of bool

property paused

True if this timeline is paused

property position
position_changed

alias of int

set_paused(pause)

Slot, to be called to change the pause status of the timeline

This is generally intended to be connected to the status signal from a button or checkbox

set_position(position)
shutdown()

Turn off this Timeline Internally, this just shuts down the subscriber