ros-drivers / flir_camera_driver

168 stars 159 forks source link

[Noetic]Errors with Spinnaker Camera Driver during stereo.launch, camera.launch : "Feature name AcquisitionFrameRateEnable not implemented." and "Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]" #210

Open mo-aqeel opened 2 months ago

mo-aqeel commented 2 months ago

Description: I am setting up two cameras with external triggering from an IMU (using Line0) at a frequency of 20Hz. My goal is to run OpenVINS. However, when I launch either the stereo.launch or camera.launch files, The error I see is:

  1. [ERROR] Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]

This error does not occur every time I run the launch file but is persistent enough to hinder smooth operation.

Additionally, the AcquisitionFrameRateEnable feature appears to be critical for synchronizing the cameras with the external trigger, yet the following error occurs:

  1. [ERROR] Feature name AcquisitionFrameRateEnable not implemented.

Since controlling the acquisition frame rate is crucial for my use case, especially for running OpenVINS, I need assistance resolving these issues before proceeding.

Since this is my first time configuring cameras with ROS, I'm unsure if the issue is with my configuration or a driver limitation.

Setup: ROS Distro: Noetic Cameras: [Left: 21377652, Right: 21342999] Launch File: stereo.launch

stereo.launch <?xml version="1.0"?>

Logging output oslaunch spinnaker_camera_driver stereo.launch ... logging to /home/aqubu/.ros/log/e68d80f2-71c4-11ef-bb2b-0f226cf80f78/roslaunch-aqubuITE-AX-20679.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://aqubuITE-AX:39085/

SUMMARY

PARAMETERS

NODES / camera_nodelet_manager (nodelet/nodelet) /stereo/ stereo_image_proc (stereo_image_proc/stereo_image_proc) /stereo/left/ camera_nodelet (nodelet/nodelet) image_proc_debayer (nodelet/nodelet) /stereo/right/ camera_nodelet (nodelet/nodelet) image_proc_debayer (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera_nodelet_manager-1]: started with pid [20693] process[stereo/left/camera_nodelet-2]: started with pid [20694] process[stereo/left/image_proc_debayer-3]: started with pid [20695] process[stereo/right/camera_nodelet-4]: started with pid [20696] process[stereo/right/image_proc_debayer-5]: started with pid [20697] process[stereo/stereo_image_proc-6]: started with pid [20699] [ WARN] [1726227601.533591025]: The input topic '/stereo/left/image_raw' is not yet advertised [ WARN] [1726227601.533863815]: The input topic '/stereo/left/camera_info' is not yet advertised [ WARN] [1726227601.533871418]: The input topic '/stereo/right/image_raw' is not yet advertised [ WARN] [1726227601.533877268]: The input topic '/stereo/right/camera_info' is not yet advertised [ WARN] [1726227602.510499582]: SpinnakerCamera::connect: Could not detect camera model name. [ WARN] [1726227602.529272912]: [SpinnakerCamera]: (21377652) Feature BinningHorizontal not writable. [ERROR] [1726227602.530007343]: [SpinnakerCamera]: (21377652) Feature name DecimationHorizontal not implemented. [ERROR] [1726227602.530025231]: [SpinnakerCamera]: (21377652) Feature name DecimationVertical not implemented. [ERROR] [1726227602.531186548]: [SpinnakerCamera]: (21377652) Feature name ReverseY not implemented. [ERROR] [1726227602.534798148]: [SpinnakerCamera]: (21377652) Feature name IspEnable not implemented. [ERROR] [1726227602.534813042]: [SpinnakerCamera]: (21377652) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.535288117]: [SpinnakerCamera]: (21377652) Feature AcquisitionFrameRate not available. [ERROR] [1726227602.535312093]: [SpinnakerCamera]: (21377652) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.540003331]: [SpinnakerCamera]: (21377652) Enumeration LineMode not writable. [ WARN] [1726227602.542288454]: [SpinnakerCamera]: (21377652) Enumeration LineSource not available. [ERROR] [1726227602.543634733]: [SpinnakerCamera]: (21377652) Feature name AutoExposureExposureTimeUpperLimit not implemented. [ WARN] [1726227602.543659634]: [SpinnakerCamera]: (21377652) Enumeration GainSelector not writable. [ERROR] [1726227602.545887648]: [SpinnakerCamera]: (21377652) Feature name GammaEnable not implemented. [ WARN] [1726227602.546360794]: [SpinnakerCamera]: (21377652) Feature Gamma not writable. [ WARN] [1726227602.864203118]: [SpinnakerCamera]: (21377652) Feature BinningHorizontal not writable. [ERROR] [1726227602.864855823]: [SpinnakerCamera]: (21377652) Feature name DecimationHorizontal not implemented. [ERROR] [1726227602.864914699]: [SpinnakerCamera]: (21377652) Feature name DecimationVertical not implemented. [ERROR] [1726227602.865950046]: [SpinnakerCamera]: (21377652) Feature name ReverseY not implemented. [ERROR] [1726227602.869790982]: [SpinnakerCamera]: (21377652) Feature name IspEnable not implemented. [ERROR] [1726227602.869809228]: [SpinnakerCamera]: (21377652) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.869845582]: [SpinnakerCamera]: (21377652) Feature AcquisitionFrameRate not available. [ERROR] [1726227602.869860813]: [SpinnakerCamera]: (21377652) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.873869734]: [SpinnakerCamera]: (21377652) Enumeration LineMode not writable. [ WARN] [1726227602.876143704]: [SpinnakerCamera]: (21377652) Enumeration LineSource not available. [ERROR] [1726227602.877341293]: [SpinnakerCamera]: (21377652) Feature name AutoExposureExposureTimeUpperLimit not implemented. [ WARN] [1726227602.877376936]: [SpinnakerCamera]: (21377652) Enumeration GainSelector not writable. [ERROR] [1726227602.878789474]: [SpinnakerCamera]: (21377652) Feature name GammaEnable not implemented. [ WARN] [1726227602.879293179]: [SpinnakerCamera]: (21377652) Feature Gamma not writable. [ WARN] [1726227602.900451681]: SpinnakerCamera::connect: Could not detect camera model name. [ WARN] [1726227602.918749899]: [SpinnakerCamera]: (21342999) Feature BinningHorizontal not writable. [ERROR] [1726227602.919491361]: [SpinnakerCamera]: (21342999) Feature name DecimationHorizontal not implemented. [ERROR] [1726227602.919513406]: [SpinnakerCamera]: (21342999) Feature name DecimationVertical not implemented. [ERROR] [1726227602.920670274]: [SpinnakerCamera]: (21342999) Feature name ReverseY not implemented. [ERROR] [1726227602.924415615]: [SpinnakerCamera]: (21342999) Feature name IspEnable not implemented. [ERROR] [1726227602.924445274]: [SpinnakerCamera]: (21342999) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.924922946]: [SpinnakerCamera]: (21342999) Feature AcquisitionFrameRate not available. [ERROR] [1726227602.924944339]: [SpinnakerCamera]: (21342999) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227602.929943330]: [SpinnakerCamera]: (21342999) Enumeration LineMode not writable. [ WARN] [1726227602.932459559]: [SpinnakerCamera]: (21342999) Enumeration LineSource not available. [ERROR] [1726227602.933989787]: [SpinnakerCamera]: (21342999) Feature name AutoExposureExposureTimeUpperLimit not implemented. [ WARN] [1726227602.934038608]: [SpinnakerCamera]: (21342999) Enumeration GainSelector not writable. [ERROR] [1726227602.936475952]: [SpinnakerCamera]: (21342999) Feature name GammaEnable not implemented. [ WARN] [1726227602.937014930]: [SpinnakerCamera]: (21342999) Feature Gamma not writable. [ WARN] [1726227603.266868771]: [SpinnakerCamera]: (21342999) Feature BinningHorizontal not writable. [ERROR] [1726227603.267745927]: [SpinnakerCamera]: (21342999) Feature name DecimationHorizontal not implemented. [ERROR] [1726227603.267855119]: [SpinnakerCamera]: (21342999) Feature name DecimationVertical not implemented. [ERROR] [1726227603.269035065]: [SpinnakerCamera]: (21342999) Feature name ReverseY not implemented. [ERROR] [1726227603.274263594]: [SpinnakerCamera]: (21342999) Feature name IspEnable not implemented. [ERROR] [1726227603.274344570]: [SpinnakerCamera]: (21342999) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227603.274467047]: [SpinnakerCamera]: (21342999) Feature AcquisitionFrameRate not available. [ERROR] [1726227603.274541955]: [SpinnakerCamera]: (21342999) Feature name AcquisitionFrameRateEnable not implemented. [ WARN] [1726227603.279811173]: [SpinnakerCamera]: (21342999) Enumeration LineMode not writable. [ WARN] [1726227603.282682210]: [SpinnakerCamera]: (21342999) Enumeration LineSource not available. [ERROR] [1726227603.284272366]: [SpinnakerCamera]: (21342999) Feature name AutoExposureExposureTimeUpperLimit not implemented. [ WARN] [1726227603.284360802]: [SpinnakerCamera]: (21342999) Enumeration GainSelector not writable. [ERROR] [1726227603.286105384]: [SpinnakerCamera]: (21342999) Feature name GammaEnable not implemented. [ WARN] [1726227603.286753284]: [SpinnakerCamera]: (21342999) Feature Gamma not writable. [ERROR] [1726227603.888668830]: [SpinnakerCamera::grabImage] Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011] [ERROR] [1726227603.889032343]: Failed to disconnect with error: [SpinnakerCamera::disconnect] Failed to disconnect camera with error: Spinnaker: Can't de-initialize camera. Camera is still streaming. [-1004] [ERROR] [1726227604.303353029]: [SpinnakerCamera::grabImage] Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011] [ERROR] [1726227604.303683625]: Failed to disconnect with error: [SpinnakerCamera::disconnect] Failed to disconnect camera with error: Spinnaker: Can't de-initialize camera. Camera is still streaming. [-1004] ^C[stereo/stereo_image_proc-6] killing on exit [stereo/right/image_proc_debayer-5] killing on exit [stereo/right/camera_nodelet-4] killing on exit [stereo/left/image_proc_debayer-3] killing on exit [stereo/left/camera_nodelet-2] killing on exit [camera_nodelet_manager-1] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

System details

berndpfrommer commented 2 months ago

This is not a ROS2 problem. The ROS1 driver is largely unsupported at this point.

mo-aqeel commented 2 months ago

Thank you for the response, and I apologize for the confusion regarding the label. I mistakenly marked it as 'ROS2'.

Would you happen to have any insight into where this issue might be originating from in the ROS1

berndpfrommer commented 2 months ago

Apologies, I don't know the ROS1 driver at all.

mo-aqeel commented 2 months ago

Thank you for your response. If anyone has insights on how I can resolve this issue, especially regarding the AcquisitionFrameRateEnable and the : Failed waiting for EventData on NEW_BUFFER_DATA event, please let me know. I’d greatly appreciate any guidance on this!

mgrova commented 1 month ago

Dear, @mo-aqeel

I have the same problem with FLIR A65. When I run the camera, I sometimes get the same error after a while. Have you been able to fix it?

error_flir

Thanks in advance!

Bests, Marco.

mo-aqeel commented 1 month ago

Dear, @mgrova,

Sorry for the late reply, I was using the setup to perform Visual Inertial Odometry, where my camera was triggered by an IMU. When the IMU failed to provide the trigger signal properly, the terminal displayed this error. After fixing the trigger, everything worked fine.