Merge pull request #9 from FairportRobotics/apriltag_fixes

Changes some constructors
This commit is contained in:
Tyler Wilcox 2023-03-25 18:06:01 -04:00 committed by GitHub
commit 26ffc6b68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ apply plugin: 'maven-publish'
ext.licenseFile = files("$rootDir/LICENSE.txt")
def pubVersion = '2023.3.1'
def pubVersion = '2023.3.2'
def outputsFolder = file("$buildDir/allOutputs")

View File

@ -63,7 +63,7 @@ public class RobotFieldPosition {
this.layout = layout;
PhotonCamera cam = new PhotonCamera(camera);
photonPoseEstimator = new PhotonPoseEstimator(layout, PoseStrategy.LOWEST_AMBIGUITY, cam, robotToCam);
photonPoseEstimator = new PhotonPoseEstimator(layout, strategy, cam, robotToCam);
}
public Optional<EstimatedRobotPose> getEstimatedGlobalPose() {