Limelights
This commit is contained in:
parent
4a350ea49f
commit
8191293dc1
|
|
@ -15,6 +15,8 @@ public class Limelight {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.poseEstimator = poseEstimator;
|
this.poseEstimator = poseEstimator;
|
||||||
this.pose=pose;
|
this.pose=pose;
|
||||||
|
|
||||||
|
LimelightHelpers.setCameraPose_RobotSpace(name, pose.getX(), pose.getY(), pose.getZ(), Math.toDegrees(pose.getRotation().getX()), Math.toDegrees(pose.getRotation().getY()), Math.toDegrees(pose.getRotation().getZ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public LimelightHelpers.PoseEstimate updateOdometry() {
|
public LimelightHelpers.PoseEstimate updateOdometry() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue