pangfumin / lms511_laser

A modified lms511 driver
6 stars 4 forks source link

Initialize Failed! #3

Open saimanoj18 opened 7 years ago

saimanoj18 commented 7 years ago

Hello,

After scanning, your package seems to be the most reliable one. However, I have some issues with it.

Specifically, I m getting this error

iirav@iirav:~$ rosrun laser_node laser_node 
    *** Attempting to initialize the Sick LMS 5xx...
    Attempting to connect to Sick LMS 5xx @ 192.168.0.1:2111
A Timeout Occurred - SickLMS5xx::_setupConnection: select() timeout!
A Timeout Occurred - SickLMS5xx::_setupConnection: select() timeout!
[ERROR] [1496664746.220065882]: Initialize failed!

I also tried, setting one of the ethernet port to 192.168.0.10, but still ending up with the same error.

Could you help ?

pangfumin commented 7 years ago

Hi saimanoj18, I do not have a LMS lidar at hand now, meybe you can ask @ZHANGZHERUI and @weisongwen for more information. Best. Pang @Beijing

jeff-o commented 7 years ago

I am also seeing this error. Was any progress made in solving it?

weisongwen commented 7 years ago

sorry, @jeff-o . I do not work on this laser at all. But I think that you need to check your connection between laser and host computer.

best regards,

jeff-o commented 7 years ago

The connection was good, I am able to ping and access the LIDAR via the SICK configuration utility. I'll post here if I find a solution.

ans-qureshi commented 6 years ago

@jeff-o @saimanoj18 i am facing the same problem, did you guys solve this? Awaiting Response :)

saimanoj18 commented 6 years ago

Yes, I could solve it. The problem is that sick got configured to DHCP mode, which means the laser will take dynamic IP address and it has to be connected via router. To solve the issue, connect the laser to a router and connect the router to the computer. Then you would be able to use the sick laser using the sick laser software that works on windows. Then you can set a static IP address to the sick laser and that would solve the issue. Good luck! Best, Sai Manoj Prakhya

On Mon, 30 Apr 2018 at 15:58, romi-seecsnotifications@github.com wrote:
@jeff-o @saimanoj18 i am facing the same problem, did you guys solve this? Awaiting Response :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ans-qureshi commented 6 years ago

@saimanoj18 sorry to bother you again, but the IP address I'm using came in the manual, it is still giving an error though. I also tried your method and got the static IP address from the laser software (SEPOS ET) on windows. This gave following error:

root@robot:~# rosrun laser_node laser_node Attempting to initialize the Sick LMS 5xx... Attempting to connect to Sick LMS 5xx @ 192.168.0.1:2111 ERROR: I/O exception - SickLMS5xx::_setupConnection: socket error on connect()! ERROR: I/O exception - SickLMS5xx::_setupConnection: socket error on connect()!

Any advice?