MARSProgramming / M15

This repo houses the code for MARVIN XV which plays the 2022 FRC game Rapid React
2 stars 0 forks source link

Limelight Tuning & Distance Calculation #2

Closed WVGman closed 2 years ago

WVGman commented 2 years ago

A bit more testing of the multiple target tracking on the Limelight needs to occur, especially for edge cases like extremely close angles, etc.

Also, investigation into a limelight distance calculation is necessary, there is a limelight doc about this: https://docs.limelightvision.io/en/latest/cs_estimating_distance.html

We could still use the limelight on the swerve bot, and modify the equations for a shorter target (such as putting the target on the table near the electrical area as we did on Saturday) until we get the full-scale target so that we can see how accurate the calculations could be. I don't think using the camera area would be very accurate this year, especially because more of the target gets revealed as you move away from it, and partial segments of the rectangles can be seen.