Package rosgraph :: Package impl :: Module graph
[frames] | no frames]

Module graph

source code

Classes
  BadNode
Data structure for storing info about a 'bad' node
  EdgeList
Data structure for storing Edge instances
  Edge
Data structure for representing ROS node graph edge
  Graph
Utility class for polling ROS statistics from running ROS graph.
Functions
 
topic_node(topic)
In order to prevent topic/node name aliasing, we have to remap topic node names.
source code
 
node_topic(node)
Inverse of topic_node
source code
 
edge_args(start, dest, direction, label)
compute argument ordering for Edge constructor based on direction flag
source code
Variables
  logger = <rosgraph.roslogging.RospyLogger object>
  __package__ = 'rosgraph.impl'
Function Details

topic_node(topic)

source code 

In order to prevent topic/node name aliasing, we have to remap topic node names. Currently we just prepend a space, which is an illegal ROS name and thus not aliased.

edge_args(start, dest, direction, label)

source code 

compute argument ordering for Edge constructor based on direction flag

Parameters:
  • direction, str - 'i', 'o', or 'b' (in/out/bidir) relative to  start
  • start, str - name of starting node
  • start, dest - name of destination node