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
90 stars 83 forks source link

Choosing network interface #267

Closed masskro0 closed 5 months ago

masskro0 commented 5 months ago

Is there an option to choose the network interface? I have two Sick Tim 571 scanners which are connected on two different ethernet interfaces (e.g. eth0 and eth1). I can't launch them together as sick_generic_caller always picks the first interface. I also tried the examples for launching multiple scanners, but I think they require that both scanners use the same ethernet interface. This could be solved using a network switch, but is there a software solution, e.g. an option to pass the interface as an argument?

Edit: in case it helps, I'm using ROS2 Humble on Ubuntu 22.04