Livox-SDK / livox_ros_driver2

Livox device driver under Ros(Compatible with ros and ros2), support Lidar HAP and Mid-360.
Other
243 stars 203 forks source link

Conflict when using two LiDAR HAP at the same time #102

Open MartaFdez97 opened 9 months ago

MartaFdez97 commented 9 months ago

I am trying to use two LiDAR HAP at the same time. Launching them separately they work fine, but launching them at the same time one of them crashes. The IPs and ports are different. We want to launch each LiDAR on a different computer that are on the same LAN.

georgflick commented 9 months ago

Maybe you are using the same node name for both launch files? You can only register one node per name, so for the second launch you have to change the name. https://github.com/Livox-SDK/livox_ros_driver2/blob/b6ff7d1c8b210a96b74e919823771e1e32249758/launch_ROS1/msg_HAP.launch#L31C27-L31C27