Functions | Variables
library Namespace Reference

Functions

def _message_to_yaml
def findros
def to_yaml
def yaml_msg
def yaml_msg_str
def yaml_msgs
def yaml_msgs_str
def YAMLBag

Variables

 _fp
 filename

Function Documentation

def library._message_to_yaml (   msg,
  indent = '',
  time_offset = None 
) [private]
convert value to YAML representation
@param val: to convert to string representation. Most likely a Message.
@type  val: Value
@param indent: indentation
@type  indent: str
@param time_offset: if not None, time fields will be displayed
as deltas from  time_offset
@type  time_offset: Time

Definition at line 152 of file library.py.

def library.findros (   pkg,
  resource 
)
Find ROS resource inside of a package.

@param pkg: ROS package name
@type  pkg: str
@param resource: resource filename
@type  resource: str

Definition at line 46 of file library.py.

def library.to_yaml (   obj)

Definition at line 75 of file library.py.

def library.yaml_msg (   type_,
  filename 
)
Load single message from YAML dictionary representation.

@param type_: Message class
@type  type_: class (Message subclass)
@param filename: Name of YAML file
@type  filename: str

Definition at line 105 of file library.py.

def library.yaml_msg_str (   type_,
  yaml_str,
  filename = None 
)
Load single message from YAML dictionary representation.

@param type_: Message class
@type  type_: class (Message subclass)
@param filename: Name of YAML file
@type  filename: str

Definition at line 82 of file library.py.

def library.yaml_msgs (   type_,
  filename 
)
Load messages from YAML list-of-dictionaries representation.

@param type_: Message class
@type  type_: class (Message subclass)
@param filename: Name of YAML file
@type  filename: str

Definition at line 140 of file library.py.

def library.yaml_msgs_str (   type_,
  yaml_str,
  filename = None 
)
Load messages from YAML list-of-dictionaries representation.

@param type_: Message class
@type  type_: class (Message subclass)
@param filename: Name of YAML file
@type  filename: str

Definition at line 117 of file library.py.

def library.YAMLBag (   object)

Definition at line 61 of file library.py.


Variable Documentation

Definition at line 61 of file library.py.

Definition at line 61 of file library.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


fr_tools
Author(s): Armin Hornung, Daniel Maier
autogenerated on Sun Dec 23 2012 12:55:17