Add constrained solvePNP strategy#1682
Merged
spacey-sooty merged 30 commits intoPhotonVision:mainfrom Feb 19, 2025
Merged
Conversation
9525a5f to
1e050e2
Compare
Gold856
requested changes
Jan 20, 2025
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
photon-lib/src/test/java/org/photonvision/PhotonPoseEstimatorTest.java
Outdated
Show resolved
Hide resolved
photon-lib/src/test/java/org/photonvision/PhotonPoseEstimatorTest.java
Outdated
Show resolved
Hide resolved
photon-lib/src/test/java/org/photonvision/PhotonPoseEstimatorTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
spacey-sooty
approved these changes
Feb 19, 2025
Member
spacey-sooty
left a comment
There was a problem hiding this comment.
You will certainly not regret 300,000 lines of generated C code!!
Gold856
requested changes
Feb 19, 2025
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jade Turner <[email protected]>
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
photon-lib/src/main/java/org/photonvision/PhotonPoseEstimator.java
Outdated
Show resolved
Hide resolved
...rc/main/native/cpp/photon/constrained_solvepnp/generate/constrained_solvepnp_10_tags_fixed.c
Show resolved
Hide resolved
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
Signed-off-by: Jade Turner <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example usage:
Yaw fixed, +3 degrees static bias
https://github.com/user-attachments/assets/498e7e2b-2b51-4cc6-9e92-d677de2daeaa
Yaw fixed, 0 degrees static bias
https://github.com/user-attachments/assets/3ff547ae-b21f-42c5-881a-32f82503a708
Yaw free
https://github.com/user-attachments/assets/0d38f25e-e849-40d7-beae-dd9b1372355f
Solve time, Rio 2 (seconds):


TODO: