SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

Can you run Python Poetry and sick_scan_xd at the same time? #257

Closed SICK-AliciaTee closed 6 months ago

SICK-AliciaTee commented 7 months ago

Hi we have a customer emails below:

"We focused in the meantime on our node and machine learning model designs and have made progress, but we are still having issues with the data connection to the LiDAR. I have set up the connection now on both Linux and Windows currently without Ros, but I am still having the same situation where it seems to not receive any data from the LiDAR.

The reason I set up on Windows is so that I can use ips in the same network range since previously I was using a set up on a virtual machine. However, this has not fixed the issue.

I have tested Poetry, but since Poetry and the driver ask for the same port from my understanding, they interfere with each other and I cannot run Poetry while I run the driver. If you are not sure about how to solve this issue, could you please link me with someone with information whom I can hopefully call directly and discuss this issue?

Thank you so much for your assistance."

So essentially the customer is looking to solve: 1) They are not able to get data 2) They tested Poetry but poetry and driver wants the same ip to run at the same time.

rostest commented 7 months ago

Thanks for your feedback.

  1. They are not able to get data

There can be several reasons, network errors or configuration issues are the most common ones. Please send some more informations about the problem. Which lidar does the customizer use? Is the lidar pingable, i.e. is command ping <lidar-ip-address> successful? Does sick_scan_xd print any error messages?

Please use SOPAS ET or SOPAS Air for a first check of the lidar and the network settings. In addition, a logfile or screenshots of the sick_scan_xd messages are very helpful for further diagnosis. Please post them, if available.

  1. They tested Poetry but poetry and driver wants the same ip to run at the same time.

The ip address and tcp ports of the lidar can be configured using SOPAS ET (resp. SOPAS Air). Please configure a new ip address and/or tcp ports in SOPAS ET and write the new settings in the lidars EEPROM. After that, reboot the lidar and set the new ip address resp. ports in the sick_scan_xd launchfile (parameters hostname and port resp. hostname, sopas_tcp_port and udp_port for multiScan and picoScan lidars).