Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the file "kitti_2011_09_26_drive_0002_synced.bag" is empty #68

Open
zhongncku opened this issue Oct 29, 2022 · 1 comment
Open

the file "kitti_2011_09_26_drive_0002_synced.bag" is empty #68

zhongncku opened this issue Oct 29, 2022 · 1 comment

Comments

@zhongncku
Copy link

Hi everyone, I was following the guidance utilizing kitti2bag to visualize the pcd, however recently face this problem, havent found ways to solve, pls help me, Thanks in advance

the terminal was run in this directory, which contains the following files:
zhong1@ubuntu:~/visualize pcd$ ls
2011_09_26
2011_09_26_drive_0005_sync.zip
kitti2bag-master.zip
2011_09_26_calib.zip
kitti2bag-master

call the generating command:
zhong1@ubuntu:~/visualize pcd$ kitti2bag -t 2011_09_26 -r 0002 raw_synced
Traceback (most recent call last):
File "/usr/local/bin/kitti2bag", line 394, in
main()
File "/usr/local/bin/kitti2bag", line 302, in main
kitti = pykitti.raw(args.dir, args.date, args.drive)
File "/home/zhong1/.local/lib/python3.8/site-packages/pykitti/raw.py", line 35, in init
self._load_timestamps()
File "/home/zhong1/.local/lib/python3.8/site-packages/pykitti/raw.py", line 253, in _load_timestamps
with open(timestamp_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/zhong1/visualize pcd/2011_09_26/2011_09_26_drive_0002_sync/oxts/timestamps.txt'

->>successfully generated "kitti_2011_09_26_drive_0002_synced.bag" however that file is empty @@

@Magic-wei
Copy link

Magic-wei commented Dec 4, 2022

@zhongncku Looks like you downloaded the 0005 dataset instead of 0002 which was used in your command. Try kitti2bag -t 2011_09_26 -r 0005 raw_synced instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants