diff --git a/examples/log2pgm.py b/examples/log2pgm.py index bfeffac..1128494 100755 --- a/examples/log2pgm.py +++ b/examples/log2pgm.py @@ -67,8 +67,8 @@ def main(): use_odometry = True if int(argv[2]) else False seed = int(argv[3]) if len(argv) > 3 else 0 - # Load the data from the file - lidars, odometries = load_data('.', dataset) + # Load the data from the file, ignoring timestamps + _, lidars, odometries = load_data('.', dataset) # Build a robot model if we want odometry robot = Rover() if use_odometry else None diff --git a/examples/log2png.py b/examples/log2png.py index 79eb613..580b9e1 100755 --- a/examples/log2png.py +++ b/examples/log2png.py @@ -68,8 +68,8 @@ def main(): use_odometry = True if int(argv[2]) else False seed = int(argv[3]) if len(argv) > 3 else 0 - # Load the data from the file - lidars, odometries = load_data('.', dataset) + # Load the data from the file, ignoring timestamps + _, lidars, odometries = load_data('.', dataset) # Build a robot model if we want odometry robot = Rover() if use_odometry else None diff --git a/examples/logdemo.py b/examples/logdemo.py index 79b0dc0..d008655 100755 --- a/examples/logdemo.py +++ b/examples/logdemo.py @@ -59,7 +59,7 @@ def main(): seed = int(argv[3]) if len(argv) > 3 else 0 # Load the data from the file - lidars, odometries = load_data('.', dataset) + timestamp, lidars, odometries = load_data('.', dataset) # Build a robot model if we want odometry robot = Rover() if use_odometry else None diff --git a/examples/logdemocv.py b/examples/logdemocv.py index 136171f..391f324 100755 --- a/examples/logdemocv.py +++ b/examples/logdemocv.py @@ -58,7 +58,7 @@ def main(): seed = int(argv[3]) if len(argv) > 3 else 0 # Load the data from the file - lidars, odometries = load_data('.', dataset) + timestamp, lidars, odometries = load_data('.', dataset) # Build a robot model if we want odometry robot = Rover() if use_odometry else None diff --git a/examples/mines.py b/examples/mines.py index 27e6d79..33c626d 100644 --- a/examples/mines.py +++ b/examples/mines.py @@ -74,7 +74,7 @@ def load_data(datadir, dataset): fd.close() - return scans, odometries + return timestamps, scans, odometries class MinesLaser(URG04LX):