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

Issues with Simulation #231

Closed jescprz closed 8 months ago

jescprz commented 9 months ago

I am trying to run the simulation on a Linux environment with ROS1, but I am having trouble doing so. I have everything downloaded and -DCMAKE_ENABLE_EMULATOR set to 1.

Screenshot from 2023-11-10 11-31-15

rostest commented 9 months ago

Thanks for your feedback. The error message Address already in use generated by test_server.py means that another process is already using tcp port 2112 on localhost (127.0.0.1). Most probably, it is used by a previous test_server.py process, which is still running in the background. Please make sure that all processes (test_server.py, sick_generic_caller) are terminated before starting them.

Note that the scan data files (pcapng-files) required for a lidar simulation are not included in the sick_scan_xd repository. You can record pcapng-files using wireshark.

A simulation can be helpful for debugging and analyzation. We recommend to first start sick_scan_xd with a real lidar sensor and to prepare a simulation afterwards in case it is still required.