ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Rasmus2134's profile - activity

2020-02-24 12:25:39 -0500 received badge  Famous Question (source)
2020-02-24 12:25:39 -0500 received badge  Notable Question (source)
2020-02-24 12:25:39 -0500 received badge  Popular Question (source)
2019-11-05 02:04:22 -0500 received badge  Enthusiast
2019-09-23 06:15:48 -0500 commented answer bag_to_pcd saves to same file

Thank you very much for the help. I've looked into the Livox driver. There is another driver made by Livox, which does a

2019-09-23 02:06:44 -0500 marked best answer bag_to_pcd saves to same file

Using rosbag, I have recorded the data from a Livox mid-40 lidar. I have played it back and confirmed that the data is there. Now I'd like to convert it to pcd files. I run the command:

rosrun pcl_ros bag_to_pcd data.bag /livox/lidar ./pointclouds

The command runs and I get the output:

Got 5000 data points in frame livox_frame with the following fields: x y z intensity Data saved to ./pointclouds/0.000000000.pcd

Got 5000 data points in frame livox_frame with the following fields: x y z intensity Data saved to ./pointclouds/0.000000000.pcd

...

So it seems that it keeps overwriting the same file when converting instead of making a new file for every message. Thus I only have the last message converted as a pcd file. Has anyone else run into a similar problem?

I'm using melodic at Ubuntu 18.04.

Thanks.

2019-09-23 02:06:44 -0500 received badge  Scholar (source)
2019-09-20 07:51:33 -0500 commented answer bag_to_pcd saves to same file

You are correct. The timestamps are always zero for the topic. This might be a silly question, but when playing back the

2019-09-20 07:47:37 -0500 received badge  Supporter (source)
2019-09-20 07:24:10 -0500 asked a question bag_to_pcd saves to same file

bag_to_pcd saves to same file Using rosbag, I have recorded the data from a Livox mid-40 lidar. I have played it back an