Hi all. I’ve enjoyed getting familiar with the Core and getting off the ground now that the SDK has been released Here are a few questions or issues I’ve run into:
DepthFrame::colorCameraPoseInDepthCoordinateFrame() is still returning matrix of
NAN s. Is there something that needs to be done before this matrix gets populated? Also am I correct in understanding that this the intended way to get the extrinsics between color & depth?
Is there a way to get the serial number for a connected sensor on Windows? I understand that
enumerateConnectedSensors() is Linux-only. I’ve tried looking at the return value from
CaptureSession::sensorSerialNumber() after starting the stream, thinking that perhaps it gets filled in by the SDK, but the
sensorSerial is empty.
Crash without setting a delegate
The app crashes if you call
startStreaming() without setting a delegate. I was attempting to use the callback functions and calling the appropriate setters (
setEventCallback()) instead of using a delegate, but I can’t seem to get around this crash. If I call
setDelegate() first, the crash goes away. Curiously, I tried calling
setDelegate(nullptr) before calling the callback setters, as these are supposed to clear the delegate, but the app still crashes at that point.