clearpathrobotics / LMS1xx

Driver for SICK LMS1xx. Based on https://github.com/RCPRG-ros-pkg/RCPRG_laser_drivers
56 stars 101 forks source link

Hang after "Connected to laser." #21

Open baronep opened 9 years ago

baronep commented 9 years ago

I am trying to interface with my LMS111-10100 using ros-indigo-lms1xx by launching the LMS1xx.launch file.

Here is the output

[INFO] [timestamp]: Connected to laser at : 10.0.0.140
[INFO] [timestamp]: Connected to laser.
[DEBUG] [timestamp]: Connection::drop(2)
[DEBUG] [timestamp]: TCP socket [10] closed
[DEBUG] [timestamp]: Connection::drop(0)
[DEBUG] [timestamp]: Connection::drop(2)
[DEBUG] [timestamp]: Connection::drop(2)

Using GDB it appears that the issue originates in the getData() function, but I am unsure.

Any ideas?

baronep commented 9 years ago

Does anyone have some screenshots of a sample configuration for their laser (SOPAS?). What protocol should be used on port 2111?

jeff-o commented 9 years ago

The only thing I ever change when configuring an LMS111 is the IP address. Everything else is left as default, and it works fine every time. I'd suggest returning everything to defaults in SOPAS and then setting the IP address.

Are you connecting through a router or switch? Try disabling any firewalls or QoS services that are running that might be interfering.

How is the ethernet port on your computer configured?

Also, check your data cable.

On Mon, Aug 31, 2015 at 11:32 AM, baronep notifications@github.com wrote:

Does anyone have some screenshots of a sample configuration for their laser (SOPAS?). What protocol should be used on port 2111?

— Reply to this email directly or view it on GitHub https://github.com/clearpathrobotics/LMS1xx/issues/21#issuecomment-136406868 .

Jeff Schmidt System Integration Technologist Clearpath Robotics Phone: 519-513-2416

baronep commented 9 years ago

I have reset everything back to the default settings, tried plugging the laser into the computer directly as well as via a switch. I think network problems can be ruled out because I am able to see the laser data in SOPAS. Could it be a version mismatch with the TCP libraries?

baronep commented 9 years ago

Hmmmm, so it appears to be working now. If I turn on debug the dropout messages are still there, so I guess those weren't a problem.

sigirvan commented 9 years ago

Hi guys,

according to my topic in here : https://github.com/clearpathrobotics/LMS1xx/issues/20

Could you help me from setting the parameters to connect the laser ? Because I'm still have problem about the connection.

Thanks.