rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
core.py File Reference

Go to the source code of this file.

Namespaces

namespace  rosros
 Simple unified interface to ROS1 / ROS2.
 
namespace  rosros.rospify
 Provides ROS1 API facade for ROS2, or imports rospy if ROS1 environment.
 
namespace  rosros.rospify.core
 Stand-ins for `rospy.core` in ROS2.
 

Functions

 rosros.rospify.core.get_node_uri ()
 Returns empty string (ROS1 compatibility stand-in).
 
 rosros.rospify.core.get_ros_root (required=False, env=None)
 Returns rclpy share directory.
 
 rosros.rospify.core.is_shutdown ()
 Returns whether ROS2 has been started and shut down.
 
 rosros.rospify.core.parse_rosrpc_uri (uri)
 Utility function for parsing ROS-RPC URIs.
 
 rosros.rospify.core.signal_shutdown (reason)
 Initiates shutdown process.
 

Variables

str rosros.rospify.core.ROSRPC = "rosrpc://"