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
89 stars 81 forks source link

2 laser in C++ don't work #356

Open maurizioscolasipi opened 1 week ago

maurizioscolasipi commented 1 week ago

Good afternoon, I'm trying using 2 laser (LMS500 and LMS4000) in the same process. I see that the first works but the second doesn't work correctly (the init is ok but the callback doesn't receive any data). Could you help me? Thank you Maurizio cpp.zip

rostest commented 6 days ago

Thanks for your feedback. Running multiple lidars in one process via sick_scan_xd API is not supported, see https://github.com/SICKAG/sick_scan_xd/blob/develop/doc/sick_scan_api/sick_scan_api.md.

image

We recommend to use ROS, or to run 2 lidars in 2 separate processes via API and interprocess communication.

maurizioscolasipi commented 6 days ago

Good morning, I think the builder of a sensor has to provide the complete driver to allow the user to implement the solution. I think ROS is a good solution only if you use many 3D sensors, because the overload using ROS is important. Many years ago I used 2 LMI laser in the same solution, and it work without problem. Best Regards

[Immagine che contiene testo, Carattere, schermata, logo Descrizione generata automaticamente]

Maurizio Scola

Vision and automation engineer

Phone +39 0331 791275

Fax +39 0331 786050

Web www.sipi.ithttp://www.sipi.it/

Mail @.**@.>


Da: rostest @.> Inviato: lunedì 1 luglio 2024 09:22 A: SICKAG/sick_scan_xd @.> Cc: Maurizio Scola @.>; Author @.> Oggetto: Re: [SICKAG/sick_scan_xd] 2 laser in C++ don't work (Issue #356)

Thanks for your feedback. Running multiple lidars in one process via sick_scan_xd API is not supported, see https://github.com/SICKAG/sick_scan_xd/blob/develop/doc/sick_scan_api/sick_scan_api.md.

image.png (view on web)https://github.com/SICKAG/sick_scan_xd/assets/46743496/568c24eb-34aa-42f9-adfb-797bc518cf86

We recommend to use ROS, or to run 2 lidars in 2 separate processes via API and interprocess communication.

— Reply to this email directly, view it on GitHubhttps://github.com/SICKAG/sick_scan_xd/issues/356#issuecomment-2199423462, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHCLAZU4KNVCPO3IHE6JSV3ZKD7VDAVCNFSM6AAAAABKCIS4SGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGQZDGNBWGI. You are receiving this because you authored the thread.Message ID: @.***>

rostest commented 6 days ago

Thanks for your reply. Please contact SICK support for feature request.