Closed ArthurAubertin closed 1 year ago
Hi, we are currently working on exactly that feature which will be included in the next release in approximately 2-3 months from now. A sophisticated way of operating multiple devices per MCU will become available then.
Meanwhile, only a limited support for multiple devices is available. The idea is to initialize a dedicated instance of the argus_hnd_t
for each sensor and pass an unique slave identifier to the Argus_Init
function that is used in the SPI layer to address the corresponding device.
Once initialized, measurements can only take place in turns, i.e. a device at a time. Use the Argus_TriggerMeasurement
function and wait until the measurement finishes before starting the next.
Please also refer to the "simple example" on how to do so for a single device.
Hi,
We exchanged two months ago about the next release of your GitHub for multi-LiDAR sensor use. Would you happen to know more about this release?
Best regards
Arthur Aubertin
Ph. D. Acoustic and Communication R&D Director STIMSHOP +33 1 85 64 10 63
De : Christoph Berger @.> Envoyé : vendredi 27 janvier 2023 19:43 À : Broadcom/AFBR-S50-API @.> Cc : ArthurAubertin @.>; Author @.> Objet : Re: [Broadcom/AFBR-S50-API] Multiple Sensor (Issue #7)
Hi, we are currently working on exactly that feature which will be included in the next release in approximately 2-3 months from now. A sophisticated way of operating multiple devices per MCU will become available then.
Meanwhile, only a limited support for multiple devices is available. The idea is to initialize a dedicated instance of the argus_hnd_t for each sensor and pass an unique slave identifier to the Argus_Init function that is used in the SPI layer to address the corresponding device. Once initialized, measurements can only take place in turns, i.e. a device at a time. Use the Argus_TriggerMeasurement function and wait until the measurement finishes before starting the next. Please also refer to the "simple example" on how to do so for a single device.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBroadcom%2FAFBR-S50-API%2Fissues%2F7%23issuecomment-1406934921&data=05%7C01%7C%7C71b9a13a9200431decf908db00966a03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638104418234877620%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Dg4hLjDjzt3PuTiifwAURVbD7szd8PrjGja1x5mNaAo%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGACFRSNSVKBVBSIKS3IBMLWUQJN3ANCNFSM6AAAAAAUIOQIAU&data=05%7C01%7C%7C71b9a13a9200431decf908db00966a03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638104418234877620%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yiOW%2FV5Zwsl7wlS%2Bw%2FNC280T1ykIY3QCeBX%2FzkIppQk%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
Yes, we have just finished our testing and will push the update later this week.
Hi,
Thank you for your quick answer. We are looking forward to use it.
Best regards
Cordialement
Arthur Aubertin
From: Christoph Berger @.> Sent: Tuesday, March 28, 2023 6:49:28 PM To: Broadcom/AFBR-S50-API @.> Cc: ArthurAubertin @.>; Author @.> Subject: Re: [Broadcom/AFBR-S50-API] Multiple Sensor (Issue #7)
Yes, we have just finished our testing and will push the update later this week.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBroadcom%2FAFBR-S50-API%2Fissues%2F7%23issuecomment-1487274420&data=05%7C01%7C%7Cfd98ad975015400500a508db2fac65c1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156189702795202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iLAGDJ7K%2BgAW4Zm0%2F1rB4vXaFD%2Bl6Xbfu1JiMjmiOdc%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGACFRXWIQNDAYPL5ZDX7Q3W6MJBRANCNFSM6AAAAAAUIOQIAU&data=05%7C01%7C%7Cfd98ad975015400500a508db2fac65c1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638156189702795202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cFdQgDlepEhlUkf9XwNXxhQaELyVpKA92FQzUoHMucY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
Hi,
I just pushed the new release: https://github.com/Broadcom/AFBR-S50-API/releases/tag/v1.4.4
Let me know if any further information is needed.
Best regards, Christoph Berger
Is there a way to use two or more LIDAR sensors without having to rewrite a lot of argus file ?