RobustFieldAutonomyLab / LeGO-LOAM

LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain
BSD 3-Clause "New" or "Revised" License
2.35k stars 1.11k forks source link

i want to know why my rosbag is empty and how to translate my rosbag to a map #136

Closed jokeY-1227 closed 4 years ago

jokeY-1227 commented 4 years ago

i use "ros record -o OUT /laser_cloud_surround' to record the rosbag and i found that there's no data has been record, and i also use ' ros record -o OUT /velodyne_points' to record the data, and is there anyway to translate the data record by the topic 'velodyne_points' to a map

TixiaoShan commented 4 years ago

@jokeY-1227 Try rosbag record /laser_cloud_surround to see if it works or not. To transform a point cloud, you can use this function.

jokeY-1227 commented 4 years ago

i have some questions with my step. first, " roslaunch the VLP16.yaml" ,then "rosrun rviz rviz -f velodyne",next, i try"rosbag record /laser_cloud_surround"and get no information from it ,just get a empty bag. and i also try to launch legoloam and record the rosbag,but it warn me as "[ WARN] [1571916272.999377088]: /use_sim_time set to true and no clock published. Still waiting for valid time..." what should i do to solve this?

TixiaoShan commented 4 years ago

I wasn't able to run roslaunch the VLP16.yaml. I will take a look how to let roslaunch take yaml file as command.

TixiaoShan commented 4 years ago

Closed due to inactivity. Reopen if necessary.