rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
rostime.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.rostime
 Stand-ins for `rospy.rostime` in ROS2.
 

Functions

 rosros.rospify.rostime.get_rostime ()
 Returns current ROS time as `rclpy.Time`.
 
 rosros.rospify.rostime.get_time ()
 Returns the current ROS time as UNIX timestamp float.
 

Variables

 rosros.rospify.rostime.Duration = rclpy.duration.Duration
 Stand-in for `rospy.Duration`.
 
 rosros.rospify.rostime.Time = rclpy.time.Time
 Stand-in for `rospy.Time`.