getConnectedCameraFeatures()
returns invalid CameraSensorConfig
#993
Labels
bug
Something isn't working
getConnectedCameraFeatures()
returns invalid CameraSensorConfig
#993
With OAK-D-LITE (one of them without an imu), a call to
getConnectedCameraFeatures()
returns invalidCameraSensorConfig
entries.There are two config entries for both mono cameras on this device that are impossible. Below is the
struct CameraFeatures
for one of these mono cameras. We can see this is a camera named "left" (which is a non-color camera since it is always named "color"). We can see itssupportedTypes
contains onlydai::CameraSensorType::MONO
. Yet, when we look atdai::CameraFeatures::configs
we can see 4 entries...and 2 of them are impossible. These two configs havedai::CameraSensorConfig::type = dai::CameraSensorType::COLOR
. That is impossible. We have already proven this "left"dai::CameraSensorType::MONO
camera. It is not possible for a MONO camera to have COLOR configs.The invalid configs also appear with OAK-D-PRO-POE
I do see the depthai-shared comment
However
supportedTypes
contains only one (1) entry of MONO and therefore that comment is moot.The text was updated successfully, but these errors were encountered: