FRC2706 / 2023-2706-Fall-Poseidon

Reprogramming Poseidon from scratch in the offseason.
Other
2 stars 0 forks source link

Drive to apriltag with PhotonVision #13

Open ErikCald opened 1 year ago

ErikCald commented 1 year ago

The idea here is to use PhotonVision running on a raspberry pi using the global shutter black and white camera. With this setup, it can reach a very high framerate, at a very high resolution and with practically no motion blur.

This issue is going to be about using this vision data to drive the robot, but will require setting up PhotonVision (its really easy).

All of this can be incorporated into a command, but later it might make sense to refactor some of it into a VisionSubsystem (such as the rolling average filter).

Incremental develpoment is important, recommended steps:

ErikCald commented 10 months ago

Notes so I don't forget them:

ErikCald commented 10 months ago

Pitch distance Calc: https://docs.wpilib.org/en/stable/docs/software/vision-processing/introduction/identifying-and-processing-the-targets.html#distance