|
grepros 1.3.0
grep for ROS bag files and live topics
|

Public Member Functions | |
| make_random_value (cls, typename, options=None) | |
| populate (cls, msg, options=None) | |
Static Public Attributes | |
| dict | OPTIONS |
| Attribute generating options. | |
Generates random ROS values and message attributes.
Definition at line 319 of file generate_msgs.py.
| make_random_value | ( | cls, | |
| typename, | |||
options = None |
|||
| ) |
Returns random value for ROS builtin type.
@param options {numtype like "int8": fixvalue or (minval, maxval),
"strlen": fixlen or (minlen, maxlen),
"strchars": str} if not using generator defaults
Definition at line 331 of file generate_msgs.py.
| populate | ( | cls, | |
| msg, | |||
options = None |
|||
| ) |
Returns ROS message with fields populated with random content.
@param options {"arraylen" or "nestedlen" or "strlen": fixlen or (minlen, maxlen),
numtype like "int8": fixvalue or (minval, maxval),
"strchars": str} if not using generator defaults
Definition at line 361 of file generate_msgs.py.
|
static |
Attribute generating options.
Definition at line 323 of file generate_msgs.py.