tomas789 / kitti2bag

Convert KITTI dataset to ROS bag file the easy way!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to convert odometry datasets?

SakuraMemoryKnight opened this issue · 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.

Hi, please refer to #18

@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.

@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 Thank you, I'll try it. Happy new year!

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'

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.