tomas789 / kitti2bag

Convert KITTI dataset to ROS bag file the easy way!
MIT License
735 stars 262 forks source link

How to convert odometry datasets? #52

Open SakuraMemoryKnight opened 4 years ago

SakuraMemoryKnight commented 4 years ago

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.

ulterzlw commented 4 years ago

Hi, please refer to #18

SakuraMemoryKnight commented 4 years ago

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

ulterzlw commented 4 years ago

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

SakuraMemoryKnight commented 4 years ago

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

nedo99 commented 2 years ago

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'
ulterzlw commented 1 year ago

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.