-
Notifications
You must be signed in to change notification settings - Fork 15
SWTrigger Service doesn't return error codes #28
Comments
You will not get an error code in the way you are expecting. The software triggering is asynchronous -- "success" indicates that your request to trigger was successfully completed (i.e., processed by the underlying Lot's of other lower-level technical issues at hand here.... From a practical perspective, you can determine an "error" (like, no camera connected) in that your next call to ....at the driver level, I hope that helps. |
Ok, so the s/w trigger request for a frame is queued with the FrameGrabber, but in that case never executed. And there is nothing at the ROS level that can catch or handle any exception being raised as part of the FrameGrabber failing to establish a TCP connection to the PCIP server, correct? And the only thing that could recover from that situation would be the FrameGrabberreset as a result of timeout_tolerance_secs for not receiving a frame? |
Right. The auto-resetting of the |
I'm using the software trigger service to get data, and I'm successfully able to data. However, when I introduce an error condition (such as no camera connected) and trigger the SWTrigger service, I get the response status as 0(OK). I would expect that I get an error code for being unable to talk to the camera. I'm not sure if this is an issue with the ROS part or with the library. Can someone confirm that I should be getting an error code from the software trigger service for cases such as no camera at IP address?
Thanks
The text was updated successfully, but these errors were encountered: