Home | Trees | Indices | Help |
|
---|
|
Command-line utility for querying ROS services, along with library calls for similar functionality. The main benefit of the rosservice Python library over the rospy ServiceProxy library is that rosservice supports type-introspection on ROS Services. This allows for both introspecting information about services, as well as using this introspection to dynamically call services.
Classes | |
ROSServiceException Base class for rosservice-related exceptions |
|
ROSServiceIOException rosservice related to network I/O failure |
Functions | |||
dict |
|
||
|
|||
|
|||
str |
|
||
[services] |
|
||
[str] |
|
||
ServiceDefinition: service class |
|
||
Message, Message |
|
||
bool |
|
||
|
|||
|
Variables | |
NAME =
|
|
__package__ =
|
Function Details |
Utility for connecting to a service and retrieving the TCPROS headers. Services currently do not declare their type with the master, so instead we probe the service for its headers.
|
Get the type of the specified service_name. May print errors to stderr. :param service_name: name of service, ``str`` :returns: type of service or ``None``, ``str`` :raises: :exc:`ROSServiceIOException` If unable to communicate with service |
Retrieve ROSRPC URI of service. :param service_name: name of service to lookup, ``str`` :returns: ROSRPC URI for service_name, ``str`` |
|
Get the list of services
|
Lookup services by service_type
|
Get the service class using the name of the service. NOTE: this call results in a probe call to the service.
|
Call the specified service_name
|
Check if service requires arguments
|
Implements 'get service args'
|
main entry point for rosservice command-line tool
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Feb 3 11:30:29 2019 | http://epydoc.sourceforge.net |