The sample code Capturing Depth Using the Lidar Camera works fine on my phone with iOS 15.6. But after upgraded the phone to iOS 16 and the Xcode to 14.0, now the sample code can only run for a few minutes on the phone and start to show the following error:
LiDARDepth[1454:256343] Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)
Did anyone get the same error after upgrade to Xcode 14 or iOS 16. Can an expert take a look of the sample code and point out a possible solution? Thanks!
Post
Replies
Boosts
Views
Activity
I installed the usdpython-0.66.pkg and also used the recommended python 3.7.9 release. Only some of the simpler sample code worked. The 103_simpleMaterial.py failed with the following error message:
Traceback (most recent call last):
File "/Applications/usdpython/samples/103_simpleMaterial.py", line 41, in
material.CreateSurfaceOutput().ConnectToSource(pbrShader, 'surface')
Boost.Python.ArgumentError: Python argument types in
Output.ConnectToSource(Output, Shader, str)
did not match C++ signature:
ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeOutput {lvalue}, pxrInternal_v0_22__pxrReserved__::UsdShadeOutput sourceOutput)
ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeOutput {lvalue}, pxrInternal_v0_22__pxrReserved__::UsdShadeInput sourceInput)
ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeOutput {lvalue}, pxrInternal_v0_22__pxrReserved__::SdfPath sourcePath)
ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeOutput {lvalue}, pxrInternal_v0_22__pxrReserved__::UsdShadeConnectableAPI source, pxrInternal_v0_22__pxrReserved__::TfToken sourceName, pxrInternal_v0_22__pxrReserved__::UsdShadeAttributeType sourceType=pxr.UsdShade.AttributeType.Output, pxrInternal_v0_22__pxrReserved__::SdfValueTypeName typeName=<pxr.Sdf.ValueTypeName object at 0x7fc9702e4120>)
ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeOutput {lvalue}, pxrInternal_v0_22__pxrReserved__::UsdShadeConnectionSourceInfo source, pxrInternal_v0_22__pxrReserved__::UsdShadeConnectionModification mod=pxr.UsdShade.ConnectionModification.Replace)
It seems that the error is from the Boost.Python with mismatched parameters. Did anyone run this sample code successfully?
I want to match two meshes (repressed by two sets of 3D points). Instead of using PCL library, I think the ARKIt or RealityKit should have similar functionality. But I cannot find any similar functions listed in the documents. Did anyone know about those functions inside ARKit/RealityKit framework?