Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert cameras to subsystems, add vision-only pose estimate for pose-seek #117

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

caparomula
Copy link
Contributor

Each Camera is now its own subsystem. In periodic(), pipeline results are applied to each Camera's PhotonPoseEstimator, and its current EstimatedRobotPose is calculated. This pose is also used by the SwerveDrivePoseEstimator to correct odometry drift as before. The pose-seek logic now uses Vision.getEstimatedGlobalPose(), which returns the camera-only pose estimate that has the lowest maximum error component.

Needs testing before merging into main.

caparomula and others added 30 commits March 10, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants