Ask Your Question
0

How to convert .pcap to .bag in ROS?

asked 2017-11-14 07:54:06 -0500

sohel181 gravatar image

updated 2017-11-14 17:08:33 -0500

jayess gravatar image

I have tried --

rosrun velodyne_driver velodyne_node _model:=VLP16 _pcap:=/your/pcap/path/data.pcap _read_once:=true

AND

rosrun rosbag record -O your_vlp16_070815.bag /velodyne_packets

In separate terminals

The output is a *.bag.active and if I try to repair this it gives me *.bag.orig.active.

And also please advice how to play this .bag file in RVIZ.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-04-26 06:09:54 -0500

Bogdar_ gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-14 07:54:06 -0500

Seen: 431 times

Last updated: Apr 26