rqt_bag.bag_helper module

Helper functions for bag files and timestamps.

rqt_bag.bag_helper.to_sec(t)

Convert an rclpy.time.Time or rclpy.duration.Duration to a float representing seconds.

@param t: @type t: rclpy.time.Time or rclpy.duration.Duration: @return: result @rtype: float