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

Exporting map #128

Open
space03 opened this issue Mar 29, 2019 · 2 comments
Open

Exporting map #128

space03 opened this issue Mar 29, 2019 · 2 comments

Comments

@space03
Copy link

space03 commented Mar 29, 2019

Hi.

I want to export the final map to pcd files.
From issues, i found the following comment.
#3 (comment)

1st Terminal: roslaunch loam_velodyne loam_velodyne.launch
2nd Terminal: rosbag play ~/Downloads/MY_BAG_FILE_NAME.bag
3rd Terminal: rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered

but I'm in trouble. In 3rd terminal, exporting pcd file command is not working.

rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered
[ INFO] [1553843254.665227026]: Publishing data on topic /cloud_pcd with frame_id /base_link.
Segmentation fault (core dumped)

Please help me. Thank you.

@space03
Copy link
Author

space03 commented Apr 1, 2019

It is solved by rebooting the computer.

But i have other problems. I want to save the whole(full size) map.
But " rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered" is saved only current window point cloud information.
Maybe it is similar problem with #41 (comment).
@StefanGlaser , @Shantnu12345
I dont have any idea of how to change original code of loam, laserMapping.cpp(~/catkin_ws/src/loam_velodyne/src/lib).
And is it correct that exporting map to pcd command is " rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered"?
please help me.

@mhaboali
Copy link

It is solved by rebooting the computer.

But i have other problems. I want to save the whole(full size) map.
But " rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered" is saved only current window point cloud information.
Maybe it is similar problem with #41 (comment).
@StefanGlaser , @Shantnu12345
I dont have any idea of how to change original code of loam, laserMapping.cpp(~/catkin_ws/src/loam_velodyne/src/lib).
And is it correct that exporting map to pcd command is " rosrun pcl_ros pointcloud_to_pcd input:=/velodyne_cloud_registered"?
please help me.

I have the same issue, it captures only the recent points in 0.pcd file

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