Package frc.lib.util
Class ArmPosition
java.lang.Object
frc.lib.util.ArmPosition
Class representing the position of the Arm components
-
Constructor Summary
ConstructorsConstructorDescriptionArmPosition(double armAngle) Class representing the position of the Arm componentsArmPosition(double armAngle, boolean armExtended) Class representing the position of the Arm componentsArmPosition(double armAngle, boolean armExtended, double wristAngle) Class representing the position of the Arm components -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the Arm AnglebooleanGet Arm ExtensiondoubleGet Wrist Angle
-
Constructor Details
-
ArmPosition
public ArmPosition(double armAngle, boolean armExtended, double wristAngle) Class representing the position of the Arm components -
ArmPosition
public ArmPosition(double armAngle, boolean armExtended) Class representing the position of the Arm components -
ArmPosition
public ArmPosition(double armAngle) Class representing the position of the Arm components
-
-
Method Details
-
getArmAngle
public double getArmAngle()Get the Arm Angle- Returns:
- Arm Angle
-
getArmExtended
public boolean getArmExtended()Get Arm Extension- Returns:
- True if extended, false if not
-
getWristAngle
public double getWristAngle()Get Wrist Angle- Returns:
- Wrist Angle
-