FlyCapture2::ErrorType 41 causing crash of stereo nodelets for pointgrey blackfly cameras when externally triggered

asked 2017-06-29 23:07:01 -0500

benabruzzo gravatar image

I am trying to implement two externally triggered blackfly cameras, but cannot resolve the image consistency issue crashing my nodelets:

core service [/rosout] found
process[left/camera/left_nodelet_manager-1]: started with pid [2718]
process[left/camera/left_nodelet-2]: started with pid [2719]
process[left/camera/image_view-3]: started with pid [2720]
process[right/camera/right_nodelet_manager-4]: started with pid [2721]
process[right/camera/right_nodelet-5]: started with pid [2722]
process[right/camera/image_view-6]: started with pid [2723]
init done
init done
[ERROR] [1498794492.863910730]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794494.245366210]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794512.669232337]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794512.868528896]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794514.070943270]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794514.070996625]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[ERROR] [1498794515.272532508]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41 There is an image consistency issue with this image.
[left/camera/left_nodelet_manager-1] process has died [pid 2718, exit code -11, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=left_nodelet_manager __log:=/home/benjamin/.ros/log/db45f1c4-5d46-11e7-bcbc-448a5b9c1a8e/left-camera-left_nodelet_manager-1.log].
log file: /home/benjamin/.ros/log/db45f1c4-5d46-11e7-bcbc-448a5b9c1a8e/left-camera-left_nodelet_manager-1*.log
[left/camera/left_nodelet-2] process has finished cleanly
log file: /home/benjamin/.ros/log/db45f1c4-5d46-11e7-bcbc-448a5b9c1a8e/left-camera-left_nodelet-2*.log

I have attached the launch file as well as configuration files that I have tried. Specifically, I hope a terminal, then change directory to my ros package, and run the cam_init.sh script. Then I open another terminal window, and launch mars_pgr.launch. At this point everything runs without issue, but then to change to the externally triggered mode of the cameras, I run the following two commands (in a third terminal window):

rosrun dynamic_reconfigure dynparam load /left/camera/left_nodelet $HOME/ros/src/hast/cam_info/pgr.yaml
rosrun dynamic_reconfigure dynparam load /right/camera/right_nodelet $HOME/ros/src/hast/cam_info/pgr.yaml

At this point, the terminal running the nodelets will throw the consistency error and then one of the two will crash.

I have tried tweaking my /etc/sysctrl.conf file as well, but to no avail.

just for FYI:

Linux mars 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
 * /rosdistro: kinetic
 * /rosversion: 1.12.7

[config and launch files attached to this post: [refs.zip](https://github.com/ros-drivers/pointgrey_camera_driver/files/1114086/refs.zip)]

edit retag flag offensive close merge delete