pylon-ros-camera icon indicating copy to clipboard operation
pylon-ros-camera copied to clipboard

Issue: PylonTerminate not called upon Ctrl+C or rosnode kill

Open ivan140 opened this issue 2 years ago • 1 comments

Hi I'm using Basler ac USB cameras and observe the following issue: After launching the pylon_camera node and killing it (Ctrl+C or rosnode kill), pylonviewer is not able to grab frames from the camera. If I execute set_device_user_id script, which does execute PylonTerminate, pylonviewer is again capable of grabbing frames from the camera. Maybe a custom SIGINT handler would make sense here.

ivan140 avatar Aug 03 '22 11:08 ivan140

Hi @ivan140 Isn't it due to the Trigger Mode parameter in the Acquisition Control panel? The ROS driver is setting it to "On". If you set it back to Off in the pylon viewer, does it begin grabbing in free run mode?

FrancoisPicardDTI avatar Oct 31 '22 12:10 FrancoisPicardDTI

I am closing this issue for now as it does not seem to be active anymore.

FrancoisPicardDTI avatar Jan 24 '23 09:01 FrancoisPicardDTI