Difference between revisions of "Photon Vision"
Jump to navigation
Jump to search
(Created PhotonVision page with information on how to setup the software on a Pi and access vision information from our code) |
m |
||
| Line 12: | Line 12: | ||
: Vision information can be accessed from our program with the use of [https://docs.photonvision.org/en/latest/docs/programming/photonlib/index.html PhotonLib]. The most common vision-related values we tend to deal with are the pitch (vertical offset angle) and yaw (horizontal offset angle) of our target. | : Vision information can be accessed from our program with the use of [https://docs.photonvision.org/en/latest/docs/programming/photonlib/index.html PhotonLib]. The most common vision-related values we tend to deal with are the pitch (vertical offset angle) and yaw (horizontal offset angle) of our target. | ||
| + | |||
| + | [[Category:Programming]] | ||
Latest revision as of 01:10, 29 November 2021
PhotonVision Software: Full Documentation
- PhotonVision is a free-to-use software that can be installed on a RaspberryPi to provide vision functionality.
- Unlike the Limelight, PhotonVision is completely free and can handle vision processing on multiple cameras. Performing vision processing on multiple cameras does come at a cost, since only so much data can be transferred from the Pi to NetworkTables at once.
- The PhotonVision software can be installed on a Pi by flashing the image using BalenaEtcher onto an SD card and then inserting it in the Pi.
- After installation, the PhotonVision tuning interface can be accessed from a browser by going to photonvision.local:5800 (the Pi must be connected to the radio and the computer must be connected to the robot's network).
- In order to properly tune vision parameters, it's essential to have a good understand of hue (the dominant color we're searching for), saturation (the intensity of a color) , and value (how dark or light a color is). More information can be found here.
- Vision information can be accessed from our program with the use of PhotonLib. The most common vision-related values we tend to deal with are the pitch (vertical offset angle) and yaw (horizontal offset angle) of our target.