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 |
|
||
XmlRpcLegalValue |
|
||
[str] |
|
||
[[str, str]] |
|
||
str |
|
||
Time |
|
||
float |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
[str] |
|
||
|
|||
(str, int) |
|
||
str |
|
||
str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
DEBUG = 1
|
|
ERROR = 8
|
|
FATAL = 16
|
|
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 a parameter from the param server with local caching 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.
|
|
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. If param_value is a dictionary it will be treated as a parameter tree, where param_name is the namespace. For example:: {'x':1,'y':2,'sub':{'z':3}} will set param_name/x=1, param_name/y=2, and param_name/sub/z=3. Furthermore, it will replace all existing parameters in the param_name namespace with the parameters in param_value. You must set parameters individually if you wish to perform a union update.
|
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 Tue Mar 1 07:33:45 2022 | http://epydoc.sourceforge.net |