I tried re-flashing the device after modifying the device tree to two modules as you suggested, but I have the same problem. I also noticed that the code for syncSensor and cudaBayerDemosaic is quite similar, however when I change PIXEL_FMT_YCbCr_420_888 in syncSensor to PIXEL_FMT_RAW16 as it is in cudaBayerDemosaic cuEGLStreamConsumerAcquireFrame will get stuck in what seems like an infinite loop. Could you explain why that is?
Essentially my problem boils down to the following:
Single camera captureSession + PIXEL_FMT_RAW16 : works as expected
Double camera captureSession + PIXEL_FMT_YCbCr_420_888: works as expected
Double camera captureSession + PIXEL_FMT_RAW16 : hangs up
UPDATE:
I tried gathering logs again and I get this outputted repeatedly
SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
NvPHSSendThroughputHints: sensorId=2, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000
SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
updatePerfHints(): guid=1ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000
SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
NvPHSSendThroughputHints: sensorId=1, m_usecase=4, m_type=15, m_value=0, m_timeout_ms=1000
SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
CoordinatedCam does not support 2 Bayer and 0 YUV output buffers.
SCF: Error NotImplemented: unsupported output buffer config (in src/components/CaptureSetupEngineImpl.cpp, function chooseGenInstFunc(), line 254)
SCF: Error NotImplemented: (propagating from src/components/CaptureSetupEngineImpl.cpp, function doGetInstructions(), line 2204)
SCF: Error NotImplemented: (propagating from src/components/CaptureSetupEngine.cpp, function getInstructionList(), line 300)
SCF: Error NotImplemented: (propagating from src/components/CaptureSetupEngine.cpp, function setupCC(), line 214)
SCF: Error NotImplemented: (propagating from src/api/Session.cpp, function capture(), line 815)
disposing CC 0 Session 0
(Argus) Error NotImplemented: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Session::updatePerfHints()
updatePerfHints(): guid=2ll, CaptureIntent=1
updatePerfHints(): NvCameraCoreUseCase_Preview
NvPHSSendThroughputHints: sensorId=2, m_usecase=4, m_type=1, m_value=30, m_timeout_ms=1000
With CoordinatedCam does not support 2 Bayer and 0 YUV output buffers.
clearly showing my setup is not supported yet. In this case could you suggested an alternate way of publishing through syncSensor to ROS?