Package frc.rebuilt
Class TagProperties
java.lang.Object
frc.rebuilt.TagProperties
-
Constructor Summary
ConstructorsConstructorDescriptionTagProperties(double frontOffsetInchesLeft, double frontOffsetInchesRight, double rearOffsetInchesLeft, double rearOffsetInchesRight, double frontCenterOffsetInchesLeft, double frontCenterOffsetInchesRight, double rearCenterOffsetInchesLeft, double rearCenterOffsetInchesRight, double taGoal, double angleDegrees) -
Method Summary
-
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 tagfrontOffsetInchesRight- the front right offset in inches from the center of the robot to the tagrearOffsetInchesLeft- the rear left offset in inches from the center of the robot to the tagrearOffsetInchesRight- the rear right offset in inches from the center of the robot to the tagfrontCenterOffsetInchesLeft- the front left offset in inches from the center of the robot to the center of the tagfrontCenterOffsetInchesRight- the front right offset in inches from the center of the robot to the center of the tagrearCenterOffsetInchesLeft- the rear left offset in inches from the center of the robot to the center of the tagrearCenterOffsetInchesRight- the rear right offset in inches from the center of the robot to the center of the tagtaGoal- the target area goal for the tagangle- 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()
-