jakaskerl I'm a little confused right now.
Running your code, I get the following output:
{
"socket":"RGB/CENTER/CAM_A",
"sensorName":IMX378,
"width":4056,
"height":3040,
"orientation":"AUTO",
"supportedTypes":[
"COLOR"
],
"hasAutofocus":1,
"name":"color"
},
{
"socket":"LEFT/CAM_B",
"sensorName":OV9282,
"width":1280,
"height":800,
"orientation":"AUTO",
"supportedTypes":[
"MONO"
],
"hasAutofocus":0,
"name":"left"
},
{
"socket":"RIGHT/CAM_C",
"sensorName":OV9282,
"width":1280,
"height":800,
"orientation":"AUTO",
"supportedTypes":[
"MONO"
],
"hasAutofocus":0,
"name":"right"
}
If I interpret this correctly, it claims that the RGB camera indeed has autofocus ("hasAutofocus":1
). However,
- I bought a FF camera,
- the reciept and original packaging of the camera say "Fixed Focus"
- the camera was successfully operated on a drone (although on a gimbal with vibration dampeners)
- other cameras of the same type, which also say "FF", show the same behaviour and yield the same output to your code.
Could it really be that I accidentially got several autofocus cams instead of FF ones?
Also, this rises a side question: Are using autofocus cameras on drones really such a big issue? I always had this video in mind, but on hindsight, this guy uses neither a gimbal nor any kind of vibration dampeners.