How to convert .pcap to .bag in ROS?
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.