meet error when implementing "velodyne_driver" command for vlp-16
I tried to do as the answer to #q213080 says, but when I try the second command
rosrun velodyne_driver velodyne_node _model:=VLP16 _pcap:=/your/pcap/path/data.pcap _read_once:=true
It says
[ERROR] [1485795341.945746381]: unknown Velodyne LIDAR model: VLP16
Does anybody have idea?
[PS] I have git cloned the package from https://github.com/ros-drivers/velody... and https://github.com/ros-drivers/velody... and built the workspace as some other guidance says.
Edit: @gvdhoorn I think you are right. My initial ouput of it is not this. after I sourced the devel/setup.bash, the first question is solved. Now the response is
[FATAL] [1486012428.835246258]: Error opening Velodyne socket dump file.
Segmentation fault (core dumped)
Can you tell us the output of
rospack find velodyne_driver
?It returns like
Just making sure: you did replace
/your/pcap/path/data.pcap
with the actual path to apcap
file, right? Do you actually want to use a 'live' lidar, or do you want to open a capture file that you made earlier? If the former, don't use the_pcap
parameter.@gvdhoorn I replaced with the actual path to a pcap file like
This is a capture file and I didn't mean to use live lidar data. Am I doing right?
Yes, that sounds ok. I was just making sure, as the command line you included in your OP used an example path, and that would lead to problems.
@gvdhoorn Ok, thanks for your patience :)