neufieldrobotics / spinnaker_sdk_camera_driver

Point Grey (FLIR) Spinnaker based camera driver (Blackfly S etc.)
MIT License
128 stars 90 forks source link

met a problem, I can't find a solution, could you help me ? #23

Closed passion3394 closed 5 years ago

passion3394 commented 5 years ago

PARAMETERS

NODES / acquisition_node (spinnaker_sdk_camera_driver/acquisition_node)

auto-starting new master process[master]: started with pid [7179] ROS_MASTER_URI=http://localhost:11311

setting /run_id to de373cdc-6f35-11e9-8464-9c305be96d8d process[rosout-1]: started with pid [7193] started core service [/rosout] process[acquisition_node-2]: started with pid [7209] [ INFO] [1557061277.057179656]: [ OK ] USB memory: 1000 MB [ INFO] [1557061277.057291773]: PARAMETER SETTINGS [ INFO] [1557061277.057315139]: ** Date = 20190505 [ INFO] [1557061277.057781627]: Save path set via parameter to: /home/tarena [ INFO] [1557061277.057815296]: Camera IDs:

[ INFO] [1557061277.058709557]: Camera Aliases: [ INFO] [1557061277.058726610]: 18285550 >> cam0 [ INFO] [1557061277.059670647]: Unique time stamps for each camera: false [ INFO] [1557061277.060148378]: color set to: true [ INFO] [1557061277.060596604]: Exporting images to ROS: true [ INFO] [1557061277.061059862]: Showing live images setting: false [ INFO] [1557061277.061548876]: Showing grid-style live images setting: false [ INFO] [1557061277.061953093]: Max Rate Save Mode: false [ INFO] [1557061277.062347908]: Displaying timing details: false [ INFO] [1557061277.062833572]: No. of images to skip set to: 20 [ INFO] [1557061277.063281499]: Init sleep delays set to : 0.00 sec [ WARN] [1557061277.063725959]: 'fps' Parameter not set, using default behavior: fps=20.00 [ INFO] [1557061277.064149388]: 'exp'=0, Setting autoexposure [ INFO] [1557061277.064549205]: Binning set to: 2 [ INFO] [1557061277.064986304]: Using Software rate control, rate set to: 10 [ INFO] [1557061277.065412179]: Saving images set to: 0 [ INFO] [1557061277.067137108]: Camera coeffs not provided correctly, camera info messges will not be published. [ INFO] [1557061277.067168683]: Creating system instance... [ INFO] [1557061277.068513767]: Retreiving list of cameras... terminate called after throwing an instance of 'Spinnaker::Exception' what(): Spinnaker: Parameter is already set. argument was expected to be NULL. [-1009] [acquisition_node-2] process has died [pid 7209, exit code -6, cmd /home/tarena/spinnaker_ws/devel/lib/spinnaker_sdk_camera_driver/acquisition_node __name:=acquisition_node __log:=/home/tarena/.ros/log/de373cdc-6f35-11e9-8464-9c305be96d8d/acquisition_node-2.log]. log file: /home/tarena/.ros/log/de373cdc-6f35-11e9-8464-9c305be96d8d/acquisition_node-2*.log

vik748 commented 5 years ago

What camera are you using? Can you see images via Spinview?

passion3394 commented 5 years ago

@vik748 yes, the spinview software could read the camera and display the real-time image info. The camera is Blackfly S BFS-U3-51S5C.

2019-05-06 09-58-05屏幕截图

vik748 commented 5 years ago

We have used that camera model extensively. I don't have any ideas as to what the issue might be.
The error code is from spinnaker, it relates to settings the camera parameters which is done around: https://github.com/neufieldrobotics/spinnaker_sdk_camera_driver/blob/fd3d35e43ad590c4ef42937083317c56d5459386/src/capture.cpp#L491

Once thing to try would be setting the camera to factory defaults incase some setting in it is causing a conflict.

passion3394 commented 5 years ago

thanks for you tip, I will try to find out the reason

passion3394 commented 5 years ago

I have tried some methods: (1) use the default yaml, no use (2) catkin_make the ros package, it works

I don't know why.

passion3394 commented 5 years ago

but ,there are some warnings:

[ WARN] [1557114815.016727545]: Image incomplete with image status 9! [ WARN] [1557114815.076058986]: Frames are being skipped! [ WARN] [1557114855.005014838]: Image incomplete with image status 9! [ WARN] [1557114855.087386516]: Frames are being skipped! [ WARN] [1557114923.290210464]: Image incomplete with image status 9! [ WARN] [1557114923.348592768]: Frames are being skipped!

passion3394 commented 5 years ago

after some minutes, an error occurs:

[FATAL] [1557115060.136949739]: Excption: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event [-1011]

ghost commented 5 years ago

Before catkin_make how were you building it?

On Sun, May 5, 2019, 11:55 PM passion3394 notifications@github.com wrote:

I have tried some methods: (1) use the default yaml, no use (2) catkin_make the ros package, it works

I don't know why.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neufieldrobotics/spinnaker_sdk_camera_driver/issues/23#issuecomment-489494383, or mute the thread https://github.com/notifications/unsubscribe-auth/AF63GIFJHNRJTUC2THZXPADPT6T4XANCNFSM4HK3GWJA .

ghost commented 5 years ago

I think the incomplete message might be related to USB throughput. A good test would be to reduce the framerate and see if this becomes stable.

On Sun, May 5, 2019, 11:57 PM passion3394 notifications@github.com wrote:

but ,there are some warnings:

[ WARN] [1557114815.016727545]: Image incomplete with image status 9! [ WARN] [1557114815.076058986]: Frames are being skipped! [ WARN] [1557114855.005014838]: Image incomplete with image status 9! [ WARN] [1557114855.087386516]: Frames are being skipped! [ WARN] [1557114923.290210464]: Image incomplete with image status 9! [ WARN] [1557114923.348592768]: Frames are being skipped!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neufieldrobotics/spinnaker_sdk_camera_driver/issues/23#issuecomment-489494544, or mute the thread https://github.com/notifications/unsubscribe-auth/AF63GIFLXRRKPNXBTMVQIPLPT6UC5ANCNFSM4HK3GWJA .

ghost commented 5 years ago

were you able to resolve your issue?

Xulei-Zhai commented 3 years ago

but ,there are some warnings:

[ WARN] [1557114815.016727545]: Image incomplete with image status 9! [ WARN] [1557114815.076058986]: Frames are being skipped! [ WARN] [1557114855.005014838]: Image incomplete with image status 9! [ WARN] [1557114855.087386516]: Frames are being skipped! [ WARN] [1557114923.290210464]: Image incomplete with image status 9! [ WARN] [1557114923.348592768]: Frames are being skipped!

@shahvi @passion3394
The above problem has bothered me for a long time and I haven't found a solution. How do you solve this problem. Thank you very much.