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

Unsure on How to Visualize Matplotlib to show Pointcloud #242

Closed jescprz closed 8 months ago

jescprz commented 9 months ago

Hello, I believe I am running the sick_scan_api and am successfully communicating with the multiScan100, but am unsure on how to show the matplotlib since I am using the generic driver.

Here is what my terminal looks like:

PythonAPI.txt

jescprz commented 9 months ago

Here is how my sick_scan_xd_api_test.py looks like: sick_scan_xd_api_test.txt

rostest commented 9 months ago

Thanks for your feedback. According to your logfile (PythonAPI.txt), sick_scan_xd has successfully established the TCP-communication, but does not receive any scan data from the multiScan via UDP. Please check that the configuration parameter udp_receiver_ip:=172.17.0.2 is correct. udp_receiver_ip is the ip address of the PC receiving the UDP scan data, i.e. the ip address of the PC running sick_scan_xd. If this is not 172.17.0.2, the UDP scan data are sent to a different machine. If in doubt, use SOPAS Air by opening //172.17.0.219 in a browser.