|
msgevalgen(pattern)
Generates a function that returns the relevant field(s) (aka
'subtopic(s)') of a Message object :param pattern: subtopic, e.g. |
source code
|
|
|
|
|
get_topic_class(topic,
blocking=False)
Get the topic message class
:returns: message class for topic, real topic
name, and function for evaluating message objects into the subtopic
(or ``None``). |
source code
|
|
|
get_api(master,
caller_id)
Get XML-RPC API of node :param master: XML-RPC handle to ROS Master,
:class:`xmlrpclib.ServerProxy` :param caller_id: node name, ``str``
:returns: XML-RPC URI of node, ``str`` :raises:
:exc:`ROSTopicIOException` If unable to communicate with master |
source code
|
|
|
|
|
create_field_filter(echo_nostr,
echo_noarr) |
source code
|
|
|
find_by_type(topic_type)
Lookup topics by topic_type :param topic_type: type of topic to find,
``str`` :returns: list of topic names that use topic_type, ``[str]`` |
source code
|
|
|
|
|
publish_message(pub,
msg_class,
pub_args,
rate=None,
once=False,
verbose=False,
substitute_keywords=False)
Create new instance of msg_class, populate with pub_args, and
publish. |
source code
|
|
|
file_yaml_arg(filename)
:param filename: file name, ``str`` :returns: Iterator that yields
pub args (list of args), ``iterator`` :raises:
:exc:`ROSTopicException` If filename is invalid |
source code
|
|
|
argv_publish(pub,
msg_class,
pub_args,
rate,
once,
verbose,
substitute_keywords=False) |
source code
|
|
|
|
|
param_publish_once(pub,
msg_class,
param_name,
verbose) |
source code
|
|
|
param_publish(pub,
msg_class,
param_name,
rate,
verbose)
:param param_name: ROS parameter name, ``str`` :returns: List of msg
dicts in file, ``[{str: any}]`` :raises: :exc:`ROSTopicException` If
parameter is not set |
source code
|
|
|
stdin_publish(pub,
msg_class,
rate,
once,
filename,
verbose)
:param filename: name of file to read from instead of stdin, or
``None``, ``str`` |
source code
|
|
|
|
|
|