FRC-Sonic-Squirrels / 2023-Robot-Code

2023 FRC Season robot code for team 2930, the Sonic Squirrels
MIT License
8 stars 0 forks source link

Two camera vision #52

Closed miamanzella closed 1 year ago

miamanzella commented 1 year ago

Vision subsystem accepts 2 camera parameters instead of one; various methods either account for both cameras or ask for one as a parameter.

miamanzella commented 1 year ago

resolves #52

miamanzella commented 1 year ago

resolves #45

randomstring commented 1 year ago

@miamanzella I've made some changes on Sunday (and more coming today) trying to get the SimVision working so we can make progress on testing this system off the robot.

One bug of note was you were missing break statements in one or two of your switch statements. The result is if the first switch statement is triggered, then it "falls through" to the other switch statement and runs that one as well. An easy mistake to make, and why some people consider switch statements dangerous!