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

rosbag record never finalized

asked 2017-12-02 12:08:00 -0500

mathbeaudry gravatar image

updated 2017-12-02 17:45:30 -0500

jayess gravatar image

Hi all, i am new with ROS and I had the exiting challenge to build a lidar point cloud with a velodyne vlp-16.

I record my pacp file with tshark and now im in the ROS part. With a lot of help in this forum i achieve starting roscore and also reading the pcap file with the velodyne driver. My target is to get a .LAS file. After a couple of sample i figure that i had to convert my pcap to bag file in the process.

If at this point i'm not on the good way plz let me know :)

After many try i finaly got the recording with this:

rosrun rosbag record /velodyne_packets -O /media/lidar/math/test13.bag

[ INFO] [1512235521.473606088]: Subscribing to /velodyne_packets
[ INFO] [1512235521.542149460]: Recording to /media/lidar/math/test13.bag.

The problem is... it never ending. I can't figure what to do.

Any help is welcome, thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-12-02 17:44:58 -0500

jayess gravatar image

updated 2017-12-02 17:46:54 -0500

What do you mean

it never ending.

? Do you mean that the recording doesn't stop? If that's what you mean then you can just hit Ctrl + c and that will stop the recording.

If this isn't what you mean then please update your question to provide more details.

edit flag offensive delete link more

Comments

yes, recording doesn't stop. every time, it create my file, but test13.bag never grow more than 4.1Kb in size whatever the size of my pcap file. That's why i pretend that recording dosen't do is job.

mathbeaudry gravatar image mathbeaudry  ( 2017-12-02 21:23:48 -0500 )edit

You have to make sure there is some node publishing on the /velodyne_packets topic, with rostopic echo /velodyne_packets, for example.

Ruben Alves gravatar image Ruben Alves  ( 2017-12-05 15:50:48 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2017-12-02 12:08:00 -0500

Seen: 610 times

Last updated: Dec 02 '17