Post

Replies

Boosts

Views

Activity

Reply to swiftUI code preview fatally crashing.
Hello ssmith_c! Thank you for your response and my apologies for not posting any code. As stated above, I understand that the initial view dependencies need to be changed to support non-LiDAR devices. I will edit the documentation code by adding an initial static image as preview. Are there any other things that I need to look out for while using swiftUI? would be happy to gain a little advice from someone who is experienced. Thanks for the help.
Dec ’23
Reply to Acquisition of specific point[pixel] LiDAR depth information
Hello JoonAhn! Thank you for your swift response. It is helpful. I understand the overall process involved in acquiring the depth data via the singular point but until now I haven't been able to pinpoint the specific details of the touched point in regard to its LiDAR data. I paid a visit to the GitHub link you provided and I am trying to understand the pickPoint function and how it can be used. Although a little tricky, I understood that I would need to fix a probeRadius with a unit radius length and then use certain length and cosine equations while also assigning the PickIdx to the idx for acquisition. Please let me know if you have any more suggestions or advice while I try to edit the code and display a specific pixel's LiDAR data. Thanks for the help once again.
Dec ’23
Reply to swiftUI code preview fatally crashing.
The error message: Cannot preview in this file. Fatal error in Cameracontroller.swift An additional doubt that I would like cleared is whether the possibility of the below causes the preview to crash: The requirement of a Camera device and LiDAR [Included in the main setup function] No initial view to present. Thanks in advance!
Nov ’23