Velodyne poll() timeout [closed]

asked 2018-01-03 02:34:44 -0600

summer gravatar image

updated 2021-12-03 09:51:23 -0600

Evgeny gravatar image

I use Velodyne (HDL-64E_S3) laser scanner to connect my computer which is installed ROS-indigo. I have clone the code from github and modified the parameters. It can run in ROS. However, some problems have arisen when I run $ rosrun velodyne_driver velodyne_node

$ rosrun velodyne_driver velodyne_node
[INFO] [1514967205.591444624]: Velodyne HDL-64E_S3 rotating at 600 RPM
[INFO] [1514967205.592894474]: publishing 348 packets per scan
[INFO] [1514967205.602658630]: Reconfigure Request
[INFO] [1514967205.604388639]: expected frequency: 9.976 Hz
[INFO] [1514967205.605870005]: Opening UDP socket: port 2368
[WARN] [1514967206.609322625]: Velodyne poll() timeout

I don't what happened.Could you tell me how to do it? Thank you.

The following is my supplementary test content.

Once again, I verified that the laser whether if connected to the computer, however, it does not. I ran rqt_logger_level, the terminal shows DEBUG (as shown below) and it just received the socket package from 127.0.0.1 and not from 192.168.3.43. And I was experimenting with WiFi turned off and only working with Ethernet(laser working network). From the picture you can see I actually received TCP socket. image description Please forgive my bad photo technology

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by summer
close date 2018-01-10 00:05:21.648146

Comments

this maybe the laser cann't connect computer. But, ip address is right source ip address: 192.168.3.43 destination ip address : 192.168.3.255

summer gravatar image summer  ( 2018-01-03 02:40:44 -0600 )edit
1

What code did you decide to modify?

joq gravatar image joq  ( 2018-01-03 11:06:02 -0600 )edit

You can see it at https://github.com/wawaafan/velodyne/... . I just modified driver.cc file and added 64e_points.launch in velodyne_pointcloud/launch file. I also modified some launch file which include "model" parameters, replaceing 64E with 64E_S3.

summer gravatar image summer  ( 2018-01-03 20:01:30 -0600 )edit

At first glance, those look like useful additions. You might consider submitting a pull request.

joq gravatar image joq  ( 2018-01-04 15:09:16 -0600 )edit

Do you know how to solve it? I have no idea. It is about to drive me crazy. Thank you.

summer gravatar image summer  ( 2018-01-07 08:15:52 -0600 )edit

Can you see the packets with wireshark?

joq gravatar image joq  ( 2018-01-07 10:10:51 -0600 )edit

Is there any problem with my program or my computer?

summer gravatar image summer  ( 2018-01-08 08:53:19 -0600 )edit

All of the TCP packets you're seeing on 127.0.0.1 look like internal network traffic from ROS and probably aren't from your laser. I don't see any packets in your captures from the IP address you list, so I suspect that either your network interface settings or your wireshark settings are incorrect.

ahendrix gravatar image ahendrix  ( 2018-01-08 13:10:21 -0600 )edit