flir_camera_driver
flir_camera_driver copied to clipboard
Blackfly (BFLY, not BFS) resets to default settings
I work on two Blackfly cameras (not the Blackfly S cameras) on a linux platform and after some debugging, it seems like the model name is not recognized (it only look for Blackfly s and Chameleon). Consequently, the cameras resets to default parameters (see line 236 in SpinnakerCamera.cpp). This also involves to set throughput to max (see line 47 in camera.cpp) which is not desirable as you want to share GIGE bandwidth between the two cameras. See more about the problem in general in the last comment here: https://github.com/neufieldrobotics/spinnaker_sdk_camera_driver/issues/10.
Obviously the default parameters does not fit to stereo setup (two simultataneous streams). My solution until now is to comment line 47 in camera.cpp and manually adjust GEV SCPD (packet delay to insert between each packet for the stream) to 10000 (or another sufficient high number) in Spinview. Consequently, DeviceLinKThroughput is updated to a lower number (than max aka 125 000 000). The stereo setup works nicely with this configuration.
Since the code seems to work for Blackfly cameras and not only Blackfly S/Chameleon, I guess the solution is simply to add a " if (model_name_str.find("Blackfly") != ... " in SpinnakerCamera.cpp? I haven't tested my blackfly cameras too much with this driver yet, is there other people that struggles with them?