A bunch of changes, mostly related to shooting balls at the hub dynamically, still need a means of doing this based on a single apriltag, in the event the robot pose is unreliable
This commit is contained in:
@@ -4,6 +4,7 @@ import edu.wpi.first.apriltag.AprilTagFieldLayout;
|
||||
import edu.wpi.first.apriltag.AprilTagFields;
|
||||
import edu.wpi.first.math.geometry.Pose2d;
|
||||
import edu.wpi.first.math.geometry.Rotation2d;
|
||||
import edu.wpi.first.math.geometry.Transform3d;
|
||||
import edu.wpi.first.math.util.Units;
|
||||
|
||||
public class CompetitionConstants {
|
||||
@@ -14,6 +15,11 @@ public class CompetitionConstants {
|
||||
AprilTagFields.kDefaultField
|
||||
);
|
||||
|
||||
public static final double kHubGoalHeightMeters = Units.inchesToMeters(72);
|
||||
|
||||
// TODO Real Values
|
||||
public static final Transform3d KRobotToShooter = new Transform3d();
|
||||
|
||||
public static final Pose2d kBlueHubLocation = new Pose2d(
|
||||
Units.inchesToMeters(182.11),
|
||||
Units.inchesToMeters(158.84),
|
||||
|
||||
Reference in New Issue
Block a user