Change default AprilTag family to 36h11 (#1333)

Change default AprilTag family to 36h11

Resolves https://github.com/PhotonVision/photonvision/issues/1226
This commit is contained in:
Jade
2024-05-31 08:30:40 +08:00
committed by GitHub
parent f792b46eb7
commit e34b114669
5 changed files with 10 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ public class PhotonPoseEstimator {
}
private AprilTagFieldLayout fieldTags;
private TargetModel tagModel = TargetModel.kAprilTag16h5;
private TargetModel tagModel = TargetModel.kAprilTag36h11;
private PoseStrategy primaryStrategy;
private PoseStrategy multiTagFallbackStrategy = PoseStrategy.LOWEST_AMBIGUITY;
private final PhotonCamera camera;
@@ -169,7 +169,7 @@ public class PhotonPoseEstimator {
/**
* Get the TargetModel representing the tags being detected. This is used for on-rio multitag.
*
* <p>By default, this is {@link TargetModel#kAprilTag16h5}.
* <p>By default, this is {@link TargetModel#kAprilTag36h11}.
*/
public TargetModel getTagModel() {
return tagModel;