clearpathrobotics / LMS1xx

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

Regarding: "$ rosrun lms1xx LMS1xx_node" connection to device failed. #3

Closed pantherekaj closed 10 years ago

pantherekaj commented 10 years ago

Hi, i'm unable to connect my device after i execute LMS1xx_node.cpp. I followed exactly what you have done, and change the IP address accordingly. i'm able to ping the IP address. However, it the program only shows the following: [ INFO] [1412662631.827312965]: Connecting to laser at : 169.254.2.255 [ERROR] [1412662631.829781896]: Connection to device failed (in red)

Can anyone help me to solve this issue? This is very important to the contribution of my project. Thank you.

mikepurvis commented 10 years ago

Hi @pantherekaj, 169.254.2.255 is an unusual IP address. Can you use the SOPAS engineering tool to give your laser an address in the same subnet as the PC you're trying to talk to it with? Eg:

PC: 192.168.1.10 Laser: 192.168.1.15

I'm currently working with SICK to get documentation for the protocol to discover lasers and program their IP addresses, so that SOPAS can be eliminated from the bringup process, but as it stands, you do need to use it.

pantherekaj commented 10 years ago

Thank you very much for the help I have tried it out and it works for me now. I am able to connect the SICK Lidar into linux.

Have you tried creating a 3D/2D map out of the data collected from the lidar. If so what software did you use?

The project I am working on in school is to create an Autonomous robot with the help of a Lidar sensor to create a 3D map of it's surrounding. Sorry if I ask too many questions, this is my first thing using a Lidar sensor.

On Tue, Oct 7, 2014 at 7:15 PM, Mike Purvis notifications@github.com wrote:

Hi @pantherekaj https://github.com/pantherekaj, 169.254.2.255 is an unusual IP address. Can you use the SOPAS engineering tool to give your laser an address in the same subnet as the PC you're trying to talk to it with? Eg:

PC: 192.168.1.10 Laser: 192.168.1.15

I'm currently working with SICK to get documentation for the protocol to discover lasers and program their IP addresses, so that SOPAS can be eliminated from the bringup process, but as it stands, you do need to use it.

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

mikepurvis commented 10 years ago

No problem, glad to help!

The software you'll want to look into is navigation/gmapping. There are some tutorials on the ROS wiki here: http://wiki.ros.org/navigation/Tutorials

Good luck with your project!

pantherekaj commented 10 years ago

Thank you very much for the help again!!

On Tue, Oct 7, 2014 at 8:55 PM, Mike Purvis notifications@github.com wrote:

No problem, glad to help!

The software you'll want to look into is navigation/gmapping. There are some tutorials on the ROS wiki here: http://wiki.ros.org/navigation/Tutorials

Good luck with your project!

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

pantherekaj commented 10 years ago

Hi Mike. I was wondering if this is the correct output of the Lidar once i have connected it with Ros ​

On Tue, Oct 7, 2014 at 9:29 PM, Karl Vincent pantherekaj@gmail.com wrote:

Thank you very much for the help again!!

On Tue, Oct 7, 2014 at 8:55 PM, Mike Purvis notifications@github.com wrote:

No problem, glad to help!

The software you'll want to look into is navigation/gmapping. There are some tutorials on the ROS wiki here: http://wiki.ros.org/navigation/Tutorials

Good luck with your project!

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

mikepurvis commented 10 years ago

Hi @pantherekaj, if you have a more general question about LIDAR data and ROS, please ask on ROS Answers: http://answers.ros.org/questions/

arvinasokan commented 9 years ago

@mikepurvis : Were you able to reconfigure the IP address of the device without using the SOPAS tool?