Home | Trees | Indices | Help |
|
---|
|
ROS client library for Python. See http://ros.org/wiki/rospy
Author: Ken Conley (kwc)
Submodules | |
|
Classes | |
AnyMsg Message class to use for subscribing to any topic regardless of type. |
|
Duration Duration represents the ROS 'duration' primitive type, which consists of two integers: seconds and nanoseconds. |
|
Header | |
MasterProxy Convenience wrapper for ROS master API and XML-RPC implementation. |
|
Message Base class of Message data classes auto-generated from msg files. |
|
Publisher Class for registering as a publisher of a ROS topic. |
|
ROSException Base exception class for ROS clients |
|
ROSInitException Exception for errors initializing ROS state |
|
ROSInternalException Base class for exceptions that are internal to the ROS system |
|
ROSInterruptException Exception for operations that interrupted, e.g. |
|
ROSSerializationException Exception for message serialization errors |
|
Rate Convenience class for sleeping in a loop at a specified rate |
|
Service Declare a ROS service. |
|
ServiceException Exception class for service-related errors |
|
ServiceProxy Create a handle to a ROS service for invoking calls. |
|
SubscribeListener Callback API to receive notifications when new subscribers connect and disconnect. |
|
Subscriber Class for registering as a subscriber to a specified topic, where the messages are of a given type. |
|
Time Time represents the ROS 'time' primitive type, which consists of two integers: seconds since epoch and nanoseconds since seconds. |
|
TransportException Base class for transport-related exceptions |
|
TransportInitError Internal exception for representing exceptions that occur establishing transports |
|
TransportTerminated Internal class for representing broken connections |
Functions | |||
|
|||
str |
|
||
rospy.MasterProxy |
|
||
str |
|
||
str |
|
||
str |
|
||
XmlRpcLegalValue |
|
||
[str] |
|
||
[[str, str]] |
|
||
str |
|
||
Time |
|
||
float |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
[str] |
|
||
|
|||
(str, int) |
|
||
str |
|
||
str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
DEBUG = 1
|
|
ERROR = 8
|
|
INFO = 2
|
|
WARN = 4
|
Function Details |
Delete a parameter on the param server NOTE: this method is thread-safe.
|
Get fully resolved name of local node. If this is not a node, use empty string
|
Get a remote handle to the ROS Master. This method can be called independent of running a ROS node, though the ROS_MASTER_URI must be declared in the environment.
|
Get fully resolved name of local node. If this is not a node, use empty string
|
Get namespace of local node.
|
Get this Node's URI.
|
Retrieve a parameter from the param server NOTE: this method is thread-safe.
|
Retrieve list of parameter names. NOTE: this method is thread-safe.
|
Retrieve list of topics that the master is reporting as being published.
|
Get the value of ROS_ROOT.
|
Get the current time as a Time object
|
Get the current time as float secs (time.time() format)
|
Test if parameter exists on the param server NOTE: this method is thread-safe.
|
Register client node with the master under the specified name. This MUST be called from the main Python thread unless disable_signals is set to True. Duplicate calls to init_node are only allowed if the arguments are identical as the side-effects of this method are not reversible.
|
Log 'msg % args' with severity 'DEBUG'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.debug("Houston, we have a %s", "thorny problem", exc_info=1) |
Log 'msg % args' with severity 'ERROR'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.error("Houston, we have a %s", "major problem", exc_info=1) |
Log 'msg % args' with severity 'CRITICAL'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.critical("Houston, we have a %s", "major disaster", exc_info=1) |
Log 'msg % args' with severity 'INFO'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.info("Houston, we have a %s", "interesting problem", exc_info=1) |
Log 'msg % args' with severity 'INFO'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.info("Houston, we have a %s", "interesting problem", exc_info=1) |
Log 'msg % args' with severity 'WARNING'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.warning("Houston, we have a %s", "bit of a problem", exc_info=1) |
Remove ROS remapping arguments from sys.argv arguments.
|
Register function to be called on shutdown. This function will be called before Node begins teardown.
|
utility function for parsing ROS-RPC URIs
|
Remap a ROS name. This API should be used to instead of resolve_name for APIs in which you don't wish to resolve the name unless it is remapped.
|
Resolve a ROS name to its global, canonical form. Private ~names are resolved relative to the node name.
|
Search for a parameter on the param server NOTE: this method is thread-safe.
|
Set a parameter on the param server NOTE: this method is thread-safe.
|
Initiates shutdown process by signaling objects waiting on _shutdown_lock. Shutdown and pre-shutdown hooks are invoked.
|
sleep for the specified duration in ROS time. If duration is negative, sleep immediately returns.
|
Blocks until ROS node is shutdown. Yields activity to other threads.
|
Blocks until service is available. Use this in initialization code if your program depends on a service already running.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jun 6 21:10:29 2019 | http://epydoc.sourceforge.net |