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

Docs PhotonPoseEstimator Discrepancy #1759

Open
FRC7790 opened this issue Feb 2, 2025 · 2 comments · May be fixed by #1765
Open

Docs PhotonPoseEstimator Discrepancy #1759

FRC7790 opened this issue Feb 2, 2025 · 2 comments · May be fixed by #1765
Labels
bug Something isn't working

Comments

@FRC7790
Copy link

FRC7790 commented Feb 2, 2025

Describe the bug
The docs have a way to input the camera into the PhotonPoseEstimator. However, the actual function and the Java docs do not. I am unable to use them in my code for multiple different cameras.

image

image

image

@FRC7790 FRC7790 added the bug Something isn't working label Feb 2, 2025
@samfreund
Copy link
Contributor

the proper way to do this is by calling .update(cam.getLatestResult())

@spacey-sooty
Copy link
Member

the proper way to do this is by calling .update(cam.getLatestResult())

This isn't true, PhotonVision provides multiple results and all of them should be used if your doing pose estimation

@PaarkG PaarkG linked a pull request Feb 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants