relative to that
* find out actual arm and hand length, as well as the height at which the arm
is mounted
- * change arm and hand to "armHorizontal/armVertical" and "handHorizontal/
- handVertical"
* change method "getArmHorizontalDist" to "getArmHorizontalDisplacement"
* change method "getArmHeight" to "getArmVerticalDisplacement"
* for getArmHorizontalDisplacement figure out if measurements are all in
inches
* doing
- * change arm and hand to "armHorizontal/armVertical" and "handHorizontal/
- handVertical"
+ * change method "getArmHorizontalDist" to "getArmHorizontalDisplacement"
* done
* code review
+ * change arm and hand to "armHorizontal/armVertical" and "handHorizontal/
+ handVertical"
\ No newline at end of file
}
// TODO: figure out if measurements are all in inches
- public double getArmHorizontalDist() {
+ public double getArmHorizontalDisplacement() {
double armHorizontalDisplacement = Constants.DefenseArm.ARM_LENGTH
* Math.cos(getArmPotAngle());
double handHorizontalDisplacement = Constants.DefenseArm.HAND_LENGTH
}
public boolean isOutsideRange() {
- if (getArmHorizontalDist() < 15)
+ if (getArmHorizontalDisplacement() < 15)
return false;
return true;
}