srv / avt_vimba_camera

ROS Driver for AVT cameras using VIMBA SDK
23 stars 93 forks source link

Node crashes when it fails to find camera #21

Closed shaun-edwards closed 7 years ago

shaun-edwards commented 7 years ago

When the node fails to find the camera (in my case this happens when the camera is still powering up while ROS has already started), it crashes. I believe this happens here, due to a NULL pointer being returned and not checked.

Has anybody else encountered this?

I am running the ROS indigo version, downloaded from debs.

miquelmassot commented 7 years ago

Try and let me know. I'm not sure if the API shutdown & startup are necessary.