(This is a cross-post from the chief delphi forum, due to low traffic here. I only realized it after I posted, sorry to waste your time.)
This has been solved. I wasn't running the camera's Start VI before getting my images. Thanks to Greg McKaskle over at the Chief Delphi forums for the tip.
As the title says, I'm having trouble with the vision part of WPILibrary. When I try to get an image from the camera, it times out unless the dashboard is running, receiving camera data.
Has anyone else had this problem? I'm using the GetImage function in the advanced robot framework with nothing but an indicator wired up via a branch inside the loop, and the fact that it works fine when the dashboard is active indicates that it isn't my setup, but something with the robot's interaction with the dashboard that is the culprit.
During competition we can't have the dashboard open, so this is a real problem.
Thanks for any input.


Reply With Quote