PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
264 stars 180 forks source link

Fix CSI camera matching #1258

Closed mcm001 closed 6 months ago

mcm001 commented 6 months ago

Previously, CSI cameras were never matched and "new" configs were created every time.

gerth2 commented 6 months ago

dev-v2024.2.7-2-g8f0a235e offline uploaded to a pi3 running 2.7 flashed image previously. Three cameras hooked up:

Edited /boot/config.txt to enable ov camera per online docs

1) OV9281 on CSI 2) Lifecam on USB 3) PS Eye Cam on USB

Was able to configure a uniquely named and set up pipeline for all three cameras, along with team number and networking settings.

No settings loss seen from:

1) Restarting Photonvision from the app 2) Cleanly removing and restoring power to the PI 3) Toggling power on and off a few times then leaving it on.