SouthwestRoboticsProgramming / 2023_Main_Robot

FRC Team 2129's 2023 Robot
MIT License
5 stars 2 forks source link

Vision smoothing #123

Open mvog2501 opened 1 year ago

mvog2501 commented 1 year ago

When we snap to a cube position, the drive jitters all around as it updates with slightly different poses from PhotonVision. One possible solution could be to add a rolling average, another could be to only sample so often or only when we aren't snapping.

rmheuer commented 1 year ago

Probably only jitters for cube positions since the camera could not see the AprilTag when at cone nodes. The camera can now see them always so this is more of an issue