Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 this issue Sep 13, 2024 · 6 comments

Comments

@mo-aqeel
Copy link

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

    <!-- Frame rate -->
    <param name="acquisition_frame_rate_enable"   value="$(arg control_frame_rate)" />
    <param name="acquisition_frame_rate"          value="$(arg frame_rate)" />
    <param name="enable_trigger"                  value="$(arg trigger)" />

    <!-- Use the camera_calibration package to create this file -->
    <param name="camera_info_url" if="$(arg left_camera_calibrated)"
           value="file://$(env HOME)/.ros/camera_info/$(arg left_camera_serial).yaml" />
  </node>

  <!-- Debayering nodelet -->
  <node pkg="nodelet" type="nodelet" name="image_proc_debayer"
      args="load image_proc/debayer /camera_nodelet_manager">
  </node>
</group>

<group ns="right" >
  <!-- Camera nodelet -->
  <node pkg="nodelet" type="nodelet" name="camera_nodelet"
        args="load spinnaker_camera_driver/SpinnakerCameraNodelet /camera_nodelet_manager" >
    <param name="frame_id"                        value="camera_right" />
    <param name="serial"                          value="$(arg right_camera_serial)" />

    <!-- Frame rate -->
    <param name="acquisition_frame_rate_enable"   value="$(arg control_frame_rate)" />
    <param name="acquisition_frame_rate"          value="$(arg frame_rate)" />
    <param name="enable_trigger"                  value="$(arg trigger)" />

    <!-- Use the camera_calibration package to create this file -->
    <param name="camera_info_url" if="$(arg right_camera_calibrated)"
           value="file://$(env HOME)/.ros/camera_info/$(arg right_camera_serial).yaml" />
  </node>

  <!-- Debayering nodelet -->
  <node pkg="nodelet" type="nodelet" name="image_proc_debayer"
      args="load image_proc/debayer /camera_nodelet_manager">
  </node>
</group>

<!-- Stereo image processing nodelet -->
<group if="$(arg run_stereo_image_proc)" >
  <node pkg="stereo_image_proc" type="stereo_image_proc" name="stereo_image_proc">
    <param name="approximate_sync" value="true"/>
  </node>
</group>

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

  • /rosdistro: noetic
  • /rosversion: 1.16.0
  • /stereo/left/camera_nodelet/acquisition_frame_rate: 40
  • /stereo/left/camera_nodelet/acquisition_frame_rate_enable: True
  • /stereo/left/camera_nodelet/enable_trigger: On
  • /stereo/left/camera_nodelet/frame_id: camera_left
  • /stereo/left/camera_nodelet/serial: 21377652
  • /stereo/right/camera_nodelet/acquisition_frame_rate: 40
  • /stereo/right/camera_nodelet/acquisition_frame_rate_enable: True
  • /stereo/right/camera_nodelet/enable_trigger: On
  • /stereo/right/camera_nodelet/frame_id: camera_right
  • /stereo/right/camera_nodelet/serial: 21342999
  • /stereo/stereo_image_proc/approximate_sync: True

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

  • operating system/version: Ubuntu 20.04
  • ROS version : noetic
  • complete FLIR camera model : BFLY-U3-23S6C-C
@mo-aqeel mo-aqeel added the ROS2 This problem occurs with the ROS2 driver label Sep 13, 2024
@berndpfrommer berndpfrommer removed their assignment Sep 13, 2024
@berndpfrommer berndpfrommer removed the ROS2 This problem occurs with the ROS2 driver label Sep 13, 2024
@berndpfrommer
Copy link
Collaborator

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

@berndpfrommer berndpfrommer changed the title 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]" [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]" Sep 13, 2024
@mo-aqeel
Copy link
Author

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
Copy link
Collaborator

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

@mo-aqeel
Copy link
Author

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
Copy link

mgrova commented Oct 19, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants