Skip to content

Question: LiDAR-SLAM(ROS2) fails to create point cloud map #2959

Answered by sfukuta
sfukuta asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to create the point cloud map.

The cause is that the LiDAR-SLAM (ROS2) input topic /velodyne points was not in the rosbag file.
I needed to relay the point cloud information topic in the rosbag file to the topic used by LiDAR-SLAM (ROS2).

To relay, run the following command.
ros2 run topic_tools relay <input topic> <output topic>

execute command:
ros2 run topic_tools relay /sensing/lidar/concatenated/pointcloud /velodyne_points

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sfukuta
Comment options

You must be logged in to vote
1 reply
@sfukuta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants