-
Notifications
You must be signed in to change notification settings - Fork 614
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
AprilTag ID to Pose API #4421
AprilTag ID to Pose API #4421
Conversation
# Conflicts: # wpimath/src/main/java/edu/wpi/first/math/WPIMathJNI.java # wpimath/src/main/native/cpp/jni/WPIMathJNI.cpp
wpimath/src/main/native/include/frc/apriltag/ApriltagFieldLayout.h
Outdated
Show resolved
Hide resolved
wpimath/src/main/native/include/frc/apriltag/ApriltagFieldLayout.h
Outdated
Show resolved
Hide resolved
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AprilTagFieldLayout still needs tests, and as you probably know, most functions are missing Doxygen/Javadoc comments. You also need to merge main to fix a merge conflict.
wpimath/src/main/java/edu/wpi/first/math/apriltag/AprilTagFieldLayout.java
Outdated
Show resolved
Hide resolved
wpimath/src/main/java/edu/wpi/first/math/apriltag/AprilTagFieldLayout.java
Outdated
Show resolved
Hide resolved
wpimath/src/main/native/include/frc/apriltag/AprilTagFieldLayout.h
Outdated
Show resolved
Hide resolved
wpimath/src/main/java/edu/wpi/first/math/apriltag/AprilTagUtil.java
Outdated
Show resolved
Hide resolved
wpimath/src/main/java/edu/wpi/first/math/apriltag/AprilTagFieldLayout.java
Outdated
Show resolved
Hide resolved
Please merge main to resolve conflicts so CI can run. |
# Conflicts: # wpimath/src/main/native/cpp/geometry/Rotation3d.cpp
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
wpilibj/src/main/java/edu/wpi/first/wpilibj/apriltag/AprilTagFieldLayout.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C++ GetTagPose() needs to return std::optional to match Java.
This PR adds an API for getting an Apriltag Pose3d by passing in its tag id. Also adds Apriltag layout JSON format.
Marking as draft for time being because neither docs or tests are done yet. Looking for feedback on API shape for now.