-
Notifications
You must be signed in to change notification settings - Fork 145
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
Camera crash on trigger timeout #8
Comments
Hi @jewnicorn27, |
@mhosmar-cpr thanks for getting back to me, I am using a BFS camera, which I believe isn't supported by flycapture. |
The source of the issue appears the timeout given to If this parameter is omitted, the default is infinite. This gives me the behaviour I wanted. |
@ben2789 I'm also trying to externally trigger the camera and I applied your fix but it still doesn't respond to an external signal. Could you share your complete launch file and what electrical signal you use for triggering? I've tried 3.3v 25Hz 50% duty cycle from a signal generator. |
@raabuchanan I believe the launch file I use is a simple modification of flir_camera_driver/spinnaker_camera_driver/launch/camera.launch
Regarding the triggering signal, I just use a GPIO pin from a 3.3V micro, the pulses were much shorter duration, and lower duty than yours. The exact model of camera is the first argument of the launch file. |
Thanks @ben2789 I realized my issue was using Line0 which is opto isolated and requires a pull up resistor. Using line3 worked for me. |
@raabuchanan I found it easier to work with the BFS camera by modifying the example code rather than editing this driver. If the functionality you're after is fairly simple e.g. no dynamic reconfigure. Adding basic ROS functionality to that may be easier. |
Why was this closed? The issue still persists at least for me and I see no fix. |
... GetNextImage(timeout_10) and GetNextImage(timeout_)is raising an error (-1073740791) under PySpin. This also happens with GetNextImage(10), etc.... |
Hi @ben2789 |
I can launch the camera normally, but after some time this error appears... |
The driver crashes when the camera times out on a trigger. If set to external triggering, and no trigger is received, the driver crashes. Hard to provide a more detailed description.
Launch config:
The text was updated successfully, but these errors were encountered: