Public Member Functions | Public Attributes | List of all members
rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator Class Reference

Classes. More...

Inheritance diagram for rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def behaviour_to_tooltip_string (self, behaviour)
 
def generate (self, data, timestamp)
 
def generate_dotcode (self, dotcode_factory, timer=rospy.Time, behaviours=None, timestamp=None, rank='same', ranksep=0.2, rankdir='TB', force_refresh=False)
 
def status_to_string (self, behaviour_status)
 
def type_to_colour (self, behaviour_type)
 
def type_to_shape (self, behaviour_type)
 
def type_to_string (self, behaviour_type)
 

Public Attributes

 active_and_status_colour_hex_map
 
 active_and_status_colour_tuple_map
 
 dotcode
 
 dotcode_factory
 
 firstcall
 
 graph
 
 last_drawargs
 
 rank
 
 rankdir
 
 ranksep
 

Detailed Description

Classes.

Definition at line 33 of file dotcode_behaviour.py.

Constructor & Destructor Documentation

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.__init__ (   self)

Definition at line 35 of file dotcode_behaviour.py.

Member Function Documentation

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.behaviour_to_tooltip_string (   self,
  behaviour 
)

Definition at line 160 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.generate (   self,
  data,
  timestamp 
)
:param py_trees_msgs.Behaviour[] data:
:param ??? timestamp:

Definition at line 178 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.generate_dotcode (   self,
  dotcode_factory,
  timer = rospy.Time,
  behaviours = None,
  timestamp = None,
  rank = 'same',
  ranksep = 0.2,
  rankdir = 'TB',
  force_refresh = False 
)
:param py_trees_msgs.Behaviour[] behaviours:
:param force_refresh: if False, may return same dotcode as last time

Definition at line 73 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.status_to_string (   self,
  behaviour_status 
)

Definition at line 148 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.type_to_colour (   self,
  behaviour_type 
)

Definition at line 120 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.type_to_shape (   self,
  behaviour_type 
)
qt_dotgraph.node_item only supports drawing in qt of two
shapes - box, ellipse.

Definition at line 102 of file dotcode_behaviour.py.

def rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.type_to_string (   self,
  behaviour_type 
)

Definition at line 134 of file dotcode_behaviour.py.

Member Data Documentation

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.active_and_status_colour_hex_map

Definition at line 44 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.active_and_status_colour_tuple_map

Definition at line 54 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.dotcode

Definition at line 37 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.dotcode_factory

Definition at line 43 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.firstcall

Definition at line 38 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.graph

Definition at line 42 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.last_drawargs

Definition at line 36 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.rank

Definition at line 39 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.rankdir

Definition at line 40 of file dotcode_behaviour.py.

rqt_py_trees.dotcode_behaviour.RosBehaviourTreeDotcodeGenerator.ranksep

Definition at line 41 of file dotcode_behaviour.py.


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


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