Remove unneeded stuff
This commit is contained in:
parent
5f2a66f65b
commit
8ce9065c0e
|
|
@ -30,8 +30,7 @@ public class RobotFieldPosition {
|
|||
photonPoseEstimator = new PhotonPoseEstimator(layout, PoseStrategy.LOWEST_AMBIGUITY, cam, robotToCam);
|
||||
}
|
||||
|
||||
public Optional<EstimatedRobotPose> getEstimatedGlobalPose(Pose2d prevEstimatedRobotPose) {
|
||||
photonPoseEstimator.setReferencePose(prevEstimatedRobotPose);
|
||||
public Optional<EstimatedRobotPose> getEstimatedGlobalPose() {
|
||||
return photonPoseEstimator.update();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue