Public Member Functions | |
def | __init__ |
def | get_diagnostic_queue |
def | get_worst |
def | mouse_release |
def | new_diagnostic |
def | on_slider_scroll |
def | redraw |
def | set_timeline_data |
Static Public Attributes | |
tuple | sig_update = Signal() |
Private Member Functions | |
def | _pause |
Private Attributes | |
_last_msg | |
_last_sec_marker_at | |
_len_timeline | |
_parent | |
_pause_callback | |
_paused | |
_queue_diagnostic | |
_scene | |
_tracking_latest |
This class defines the pane where timeline and its related components are displayed.
Definition at line 48 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.__init__ | ( | self, | |
parent | |||
) |
Because this class is intended to be instantiated via Qt's .ui file, taking argument other than parent widget is not possible, which is ported to set_timeline_data method. That said, set_timeline_data must be called (soon) after an object of this is instantiated. :param color_callback: Not directly used within this class. Instead, this will be passed and used in TimelineView class.
Definition at line 56 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane._pause | ( | self, | |
paused | |||
) | [private] |
Should be the only interface for pausing timeline pane and timeline itself (which is not as of now..). :type paused: bool
Definition at line 126 of file time_pane.py.
:return: a queue that contains either DiagnosticArray or DiagnosticsStatus. Depends on the parent class - if RobotMonitorWidget is the parent, the former type is returned. if InspectorWidget the latter.
Definition at line 214 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.get_worst | ( | self, | |
msg | |||
) |
Definition at line 119 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.mouse_release | ( | self, | |
event | |||
) |
:type event: QMouseEvent
Definition at line 100 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.new_diagnostic | ( | self, | |
msg | |||
) |
Callback for new msg for TimelinePane class. Puts new msg into a queue, update the length of timeline. Also emits a signal to notify another callbacks. This ignores new msg if timeline is paused. :type msg: Either DiagnosticArray or DiagnosticsStatus. Can be determined by __init__'s arg "msg_callback".
Definition at line 176 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.on_slider_scroll | ( | self, | |
evt | |||
) |
:type evt: QMouseEvent
Definition at line 151 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.redraw | ( | self | ) |
Definition at line 211 of file time_pane.py.
def rqt_robot_monitor.time_pane.TimelinePane.set_timeline_data | ( | self, | |
len_timeline = None , |
|||
color_callback = None , |
|||
pause_callback = None |
|||
) |
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 64 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
Definition at line 72 of file time_pane.py.
tuple rqt_robot_monitor::time_pane.TimelinePane::sig_update = Signal() [static] |
Definition at line 54 of file time_pane.py.