Functions | |
def | _message_to_yaml (msg, indent='', time_offset=None) |
def | findros (pkg, resource) |
def | to_yaml (obj) |
def | yaml_msg (type_, filename) |
def | yaml_msg_str (type_, yaml_str, filename=None) |
def | yaml_msgs (type_, filename) |
def | yaml_msgs_str (type_, yaml_str, filename=None) |
def | YAMLBag (object) |
Variables | |
_fp | |
filename | |
|
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.
|
private |
Definition at line 66 of file library.py.
library.filename |
Definition at line 65 of file library.py.