From 13baf40f88399ff6d61db1b40152d5a7037b6461 Mon Sep 17 00:00:00 2001 From: Rik Date: Sun, 17 Feb 2019 23:02:47 +0100 Subject: [PATCH] Fix start time. --- bag_tools/scripts/cut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bag_tools/scripts/cut.py b/bag_tools/scripts/cut.py index 04d17e8..8146ce3 100755 --- a/bag_tools/scripts/cut.py +++ b/bag_tools/scripts/cut.py @@ -39,7 +39,7 @@ import argparse def cut(inbags, outbagfile, start, duration): - start_time = rospy.Time.from_sec(999999999999) + start_time = rospy.Time.from_sec(0) for inbag in inbags: rospy.loginfo(' Looking for smallest time in: %s', inbag) for topic, msg, t in rosbag.Bag(inbag,'r').read_messages():