rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
rosros.rclify.executors.SingleThreadedExecutor Class Reference

API stand-in for ROS2 compatibility. More...

Inheritance diagram for rosros.rclify.executors.SingleThreadedExecutor:
Inheritance graph

Additional Inherited Members

- Public Member Functions inherited from rosros.rclify.executors.Executor
 __init__ (self, *context=None)
 
 add_node (self, node)
 Adds a node to this executor.
 
 create_task (self, callback, *args, **kwargs)
 Adds a callback or coroutine to be executed during spin, returns a Future.
 
 get_nodes (self)
 Return nodes that have been added to this executor.
 
 remove_node (self, node)
 Stop managing this node's callbacks.
 
 shutdown (self, timeout_sec=None)
 Shuts down ROS.
 
 spin (self)
 Waits until ROS shut down.
 
 spin_once (self, timeout_sec=None)
 Waits until timeout, or forever if timeout None or negative, or until ROS shutdown.
 
 spin_once_until_future_complete (self, future, timeout_sec=None)
 Waits until future complete or timeout reached or ROS shut down.
 
 spin_until_future_complete (self, future, timeout_sec=None)
 Waits until future complete or timeout reached or ROS shut down.
 
 wake (self)
 Does nothing (ROS2 compatibility stand-in).
 
- Protected Attributes inherited from rosros.rclify.executors.Executor
 _context
 
 _is_shutdown
 
 _nodes
 
 _nodes_lock
 
- Properties inherited from rosros.rclify.executors.Executor
 context = property
 Returns context given in constructor, or None ((ROS2 compatibility stand-in).
 

Detailed Description

API stand-in for ROS2 compatibility.

API stand-in for ROS2 compatibility.

Definition at line 138 of file executors.py.


The documentation for this class was generated from the following file: