kitti2bag icon indicating copy to clipboard operation
kitti2bag copied to clipboard

How to convert odometry datasets?

Open SakuraMemoryKnight opened this issue 5 years ago • 6 comments

Hi,in Readme introduction,it said "Thanks to @emreay-, this tool can now convert odometry datasets too." but What are the specific instructions for executing this method?Could anyone help me?Thank you.

SakuraMemoryKnight avatar Dec 18 '19 08:12 SakuraMemoryKnight

Hi, please refer to #18

ulterzlw avatar Dec 20 '19 01:12 ulterzlw

@ulterzlw Thank you,but i want to convert odometry images and lidar pointcloud datasets to rosbag.In fact,now I have got the image.bag and velo_pointcloud.bag,but their time are not synchronous,maybe Simultaneous conversion is an effective method, I'm going to give it a try.

SakuraMemoryKnight avatar Dec 23 '19 02:12 SakuraMemoryKnight

@zcg3648806 If you don't mind, you can try my fork. Please follow the How to install it? & How to run it? instruction to make it work.

ulterzlw avatar Dec 23 '19 09:12 ulterzlw

@ulterzlw Thank you, I'll try it. Happy new year!

SakuraMemoryKnight avatar Jan 02 '20 00:01 SakuraMemoryKnight

Any follow-up on this one? I tried this fork https://github.com/ulterzlw/kitti2bag, but I am still getting:

File "/usr/local/lib/python3.8/dist-packages/pykitti-0.3.1-py3.8.egg/pykitti/odometry.py", line 39, in __init__
  File "/usr/local/lib/python3.8/dist-packages/pykitti-0.3.1-py3.8.egg/pykitti/odometry.py", line 175, in _load_calib
KeyError: 'Tr'

nedo99 avatar Jun 28 '22 14:06 nedo99

Hi @nedo99 try to uninstall pykitti pip uninstall pykitti and then install it from source. And I uploaded a docker image. It is recommended to use docker.

ulterzlw avatar Jan 03 '23 14:01 ulterzlw