Public Member Functions | Public Attributes | List of all members
rqt_py_trees.plugins.timeline_renderer.TimelineRenderer Class Reference
Inheritance diagram for rqt_py_trees.plugins.timeline_renderer.TimelineRenderer:
Inheritance graph

Public Member Functions

def __init__ (self, timeline, msg_combine_px=1.5)
def close (self)
def draw_timeline_segment (self, painter, topic, stamp_start, stamp_end, x, y, width, height)
def get_segment_height (self, topic)

Public Attributes


Detailed Description

A custom renderer for interval of time of a topic on the timeline.

@param msg_combine_px: don't draw discrete messages if they're less than this many pixels separated [default: 1.5]
@type  msg_combine_px: float

Definition at line 36 of file

Constructor & Destructor Documentation

def rqt_py_trees.plugins.timeline_renderer.TimelineRenderer.__init__ (   self,
  msg_combine_px = 1.5 

Definition at line 43 of file

Member Function Documentation

def rqt_py_trees.plugins.timeline_renderer.TimelineRenderer.close (   self)
Close the renderer, releasing any resources.

Definition at line 75 of file

def rqt_py_trees.plugins.timeline_renderer.TimelineRenderer.draw_timeline_segment (   self,
Draw the timeline segment.

@param painter: QPainter context to render into
@param topic: topic name
@param stamp_start: start of the interval on the timeline
@param stamp_end: start of the interval on the timeline
@param x: x coordinate of the timeline interval
@param y: y coordinate of the timeline interval
@param width: width in pixels of the timeline interval
@param height: height in pixels of the timeline interval
@return: whether the interval was renderered
@rtype:  bool

Definition at line 58 of file

def rqt_py_trees.plugins.timeline_renderer.TimelineRenderer.get_segment_height (   self,
Get the height of the topic segment on the timeline.

@param topic: topic name to draw
@type  topic: str
@return: height in pixels of the topic segment. If none, the timeline default is used.
@rtype:  int or None

Definition at line 47 of file

Member Data Documentation


Definition at line 45 of file


Definition at line 44 of file

The documentation for this class was generated from the following file:

Author(s): Thibault Kruse, Michal Staniaszek, Daniel Stonier, Naveed Usmani
autogenerated on Mon Jun 10 2019 14:55:56