2 laser in C++ don't work
maurizioscolasipi opened this issue · 3 comments
maurizioscolasipi commented
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
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.
We recommend to use ROS, or to run 2 lidars in 2 separate processes via API and interprocess communication.
maurizioscolasipi commented
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.it<http://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 GitHub<#356 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHCLAZU4KNVCPO3IHE6JSV3ZKD7VDAVCNFSM6AAAAABKCIS4SGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGQZDGNBWGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
rostest commented
Thanks for your reply. Please contact SICK support for feature request.