mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
f7e29a1992e3a2d7a49cb377d30e8eaefbdf29a7
Modified VisionModule.java to cause any camera the either has a vendor-defined FOV or the PiCam quirks to control the LED state. This is a bit of a patch, and directly assumes that piCam's are the devices primarily used for vision processing. This fixes a tiny bit of pain experienced with a pi3b + picam v1 + usb Cam where not having the USB cam causes the LED's to be working normally, but plugging in the USB cam causes them to be always off. Parallel issue entered in documentation to add this to known limitations of photon - if you had a set of all usb cameras, we wouldn't know which one is being used for vision processing, and would not be able to control the LED's accordingly. The ultimate solution is just to have teams control the NT entry themselves, which is easy enough. But, docs shouild be updated to reflect that.
Photon Vision
A copy of the latest development release is available here.
PhotonVision is a fork of Chameleon Vision, a free open-source software for FRC teams to use for vision processing on their robots. Thank you to everyone who worked on the original project.
For information on contributing or running PhotonVision, please read our documentation on ReadTheDocs.
Roadmap
Our roadmap is publicly available on Trello.
Authors
A list of contributors is available in our documentation on ReadTheDocs.
Acknowledgments
-
WPILib - Specifically cscore, CameraServer, NTCore, and OpenCV.
-
Apache Commons - Specifically Commons Math, and Commons Lang
License
Usage of PhotonVision must fall under all terms of GNU General Public License
Languages
Java
56.5%
C++
14.9%
Vue
9.2%
Python
7.9%
TypeScript
7.9%
Other
3.4%