rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
|
Go to the source code of this file.
Namespaces | |
namespace | rosros |
Simple unified interface to ROS1 / ROS2. | |
namespace | rosros.rclify |
Provides ROS2 API facade for ROS1, or imports rclpy if ROS2 environment. | |
namespace | rosros.rclify.rclify |
Stand-in for `rclpy` in ROS1. | |
Functions | |
rosros.rclify.rclify.create_node (node_name, *context=None, cli_args=None, namespace=None, use_global_arguments=True, enable_rosout=True, start_parameter_services=True, parameter_overrides=None, allow_undeclared_parameters=False, automatically_declare_parameters_from_overrides=False) | |
Initializes ROS1 and returns an instance of `rosros.rclify.node.Node`. | |
rosros.rclify.rclify.get_default_context () | |
Returns None (ROS2 API compatibility stand-in). | |
rosros.rclify.rclify.get_global_executor () | |
Returns None (ROS2 API compatibility stand-in). | |
rosros.rclify.rclify.get_rmw_implementation_identifier () | |
Returns empty string (ROS2 API compatibility stand-in). | |
rosros.rclify.rclify.init (*args=None, context=None) | |
Does nothing (ROS2 API compatibility stand-in) | |
rosros.rclify.rclify.ok (*context=None) | |
Returns whether rospy has been initialized and is not shut down. | |
rosros.rclify.rclify.shutdown (*context=None) | |
Sends the shutdown signal to rospy. | |
rosros.rclify.rclify.spin (node=None, executor=None) | |
Waits forever. | |
rosros.rclify.rclify.spin_once (node=None, *executor=None, timeout_sec=None) | |
Waits until timeout or ROS shut down, or forever if timeout not specified. | |
rosros.rclify.rclify.spin_until_future_complete (node=None, future=None, executor=None, timeout_sec=None) | |
Waits until future complete or timeout reached or ROS shut down. | |
rosros.rclify.rclify.try_shutdown (*context=None) | |
Sends the shutdown signal to rospy. | |