Package frc.rebuilt

Class TagProperties

java.lang.Object
frc.rebuilt.TagProperties

public class TagProperties extends Object
  • Constructor Details

    • TagProperties

      public TagProperties(double frontOffsetInchesLeft, double frontOffsetInchesRight, double rearOffsetInchesLeft, double rearOffsetInchesRight, double frontCenterOffsetInchesLeft, double frontCenterOffsetInchesRight, double rearCenterOffsetInchesLeft, double rearCenterOffsetInchesRight, double taGoal, double angleDegrees)
      Parameters:
      frontOffsetInchesLeft - the front left offset in inches from the center of the robot to the tag
      frontOffsetInchesRight - the front right offset in inches from the center of the robot to the tag
      rearOffsetInchesLeft - the rear left offset in inches from the center of the robot to the tag
      rearOffsetInchesRight - the rear right offset in inches from the center of the robot to the tag
      frontCenterOffsetInchesLeft - the front left offset in inches from the center of the robot to the center of the tag
      frontCenterOffsetInchesRight - the front right offset in inches from the center of the robot to the center of the tag
      rearCenterOffsetInchesLeft - the rear left offset in inches from the center of the robot to the center of the tag
      rearCenterOffsetInchesRight - the rear right offset in inches from the center of the robot to the center of the tag
      taGoal - the target area goal for the tag
      angle - the angle in degrees from the robot to the tag
  • Method Details

    • getFrontOffset

      public double[] getFrontOffset()
    • getRearOffset

      public double[] getRearOffset()
    • getFrontCenterOffset

      public double[] getFrontCenterOffset()
    • getRearCenterOffset

      public double[] getRearCenterOffset()
    • getTaGoal

      public double getTaGoal()
    • getAngle

      public double getAngle()