ros-drivers / prosilica_driver

Contains the ROS driver and the SDK for AVT/Prosilica cameras.
6 stars 21 forks source link

"Camera handle is invalid" error #12

Open qbranchmaster opened 10 years ago

qbranchmaster commented 10 years ago

When I'm running prosilica_node I get this error: "Reconfigure callback failed with exception Could not start capture: Camera handle is invalid: terminate called after throwing an instance of 'prosilica::ProsilicaException' what(): Couldn't get attribute StatFrameRate: Camera handle is invalid".

I am able to ping camera with no problem. On my second PC with this same camera this node is working fine, there are no errors. Both PCs are working under Ubuntu 14.04 and ros Indigo. Samples from pvapi also work fine. My camera is Manta G28B. What is the problem and what should I do to resolve it?

trainman419 commented 10 years ago

I'm not sure what the issue is here. I've haven't seen this particular issue in the real world, and I no longer have access to a camera, so I can't help debug too much.

Since you can ping the camera from both PCs and the pvapi samples work on both machines, I would start by looking for configuration differences between how the ROS node is run on each computer.

trainman419 commented 10 years ago

It may also be worth asking this on ROS answers to see if anyone else from the community has seen this issue.