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

{raw_synced,odom_color,odom_gray} #55

Closed
Juuustin opened this issue Apr 28, 2020 · 4 comments
Closed

{raw_synced,odom_color,odom_gray} #55

Juuustin opened this issue Apr 28, 2020 · 4 comments

Comments

@Juuustin
Copy link

Would it be possible to just transform odometry dataset (velodyne laser data, 80 GB) into .bag file? There are 3 parameters to select: {raw_synced,odom_color,odom_gray} , but I have no idea which one to choose if I just want to save laser point into .bag.
Any suggestions?

@ulterzlw
Copy link
Collaborator

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

@Juuustin
Copy link
Author

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

I tried your fork, this is an error when I run kitti2bag -s 04 odom ./dataset/
it is said that kitti2bag: error: argument kitti_type: invalid choice: 'odom' (choose from 'raw_synced', 'odom_color', 'odom_gray')
So is it possible to select lidar points only?

@ulterzlw
Copy link
Collaborator

the reason is kitti2bag cmd still links to the old scripts installed by pip. you could try pip uninstall kitti2bag or use /usr/local/bin/kitti2bag instead. The bag will contain lidar and image both.
arguments {raw_sync} for raw_sync data, and {odom} for odometry data.

@ulterzlw
Copy link
Collaborator

if you really want a bag containing only lidar points, use rosbag filter to split the generated bag.

@Juuustin Juuustin closed this as completed May 5, 2020
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