Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Take out is camera reachable in production #100

Open
oconnelc opened this issue Mar 28, 2015 · 0 comments
Open

Take out is camera reachable in production #100

oconnelc opened this issue Mar 28, 2015 · 0 comments

Comments

@oconnelc
Copy link
Contributor

In the Vision System API, there's a call: "if(!OpenCVUtils.isIpReachable(aType.getCameraIP())) {" We need to take this out before competition. Recommend creating a new JSON flag: "USE_LOCAL_IF_UNAVAILABLE" that will run the above check if true. Otherwise the code should return the VisionSystem for the camera.

The reason for this is that we suspect that there is a delay between when the code starts up and when the camera starts up. Also the AxisCamera has reconnect capabilities that are not being used. We may need to make sure the code doesn't hang while the camera is down.

To test:

  1. Start up the vision system for the alignment camera, with the alignment camera unplugged.
  2. Make sure the code doesn't hang and that the connection happens on a background thread.
    3)Plug/turn on the camera.
  3. Ensure that the AxisCameraConnection is able to connect to the camera and the image feeds start up.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant