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 159 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 47 of file library.py.

def library.to_yaml (   obj)

Definition at line 77 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 109 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 85 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 146 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 122 of file library.py.

def library.YAMLBag (   object)

Definition at line 63 of file library.py.


Variable Documentation

Definition at line 63 of file library.py.

Definition at line 63 of file library.py.



actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep, Mikael Arguedas
autogenerated on Sat Feb 16 2019 03:21:29