pycram.ros.ros1.data_types#
Functions#
Module Contents#
- pycram.ros.ros1.data_types.Time(time: int = 0.0, nsecs: int = 0) rospy.Time#
Wrapper for rospy.Time to create a Time object.
- Parameters:
time – Time in seconds
nsecs – Time in nanoseconds
- Returns:
Rospy Time object representing the given time
- pycram.ros.ros1.data_types.Duration(duration: float = 0.0) rospy.Duration#
Wrapper for rospy.Duration to create a Duration object.
- Parameters:
duration – Duration in seconds
- Returns:
A rospy Duration object representing the given duration
- pycram.ros.ros1.data_types.Rate(rate: float) rospy.Rate#
Wrapper for rospy.Rate to create a Rate object.
- Parameters:
rate – Rate in Hz
- Returns:
A rospy Rate object representing the given rate