Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang after "Connected to laser." #21

Open
baronep opened this issue Aug 29, 2015 · 5 comments
Open

Hang after "Connected to laser." #21

baronep opened this issue Aug 29, 2015 · 5 comments

Comments

@baronep
Copy link

baronep commented Aug 29, 2015

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
Copy link
Author

baronep commented Aug 31, 2015

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

@jeff-o
Copy link
Contributor

jeff-o commented Aug 31, 2015

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 [email protected] 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
#21 (comment)
.

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

@baronep
Copy link
Author

baronep commented Aug 31, 2015

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
Copy link
Author

baronep commented Sep 1, 2015

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
Copy link

sigirvan commented Sep 2, 2015

Hi guys,

according to my topic in here : #20

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

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants