Better arm logging
This commit is contained in:
parent
2d5b3699b6
commit
5aa7e83bfa
@ -25,6 +25,8 @@ public class AutoSetArmPosition extends CommandBase {
|
||||
protected boolean isFinished() {
|
||||
// Stop when either limit switch is hit
|
||||
System.out.println("AutoSetArmPosition.isFinished(): " + (Math.abs(pos - mainArm.getDegrees()) <= 1));
|
||||
System.out.println(" pos : " + pos);
|
||||
System.out.println(" mainArm.getDegrees() : " + mainArm.getDegrees())
|
||||
return Math.abs(pos - mainArm.getDegrees()) <= 1;
|
||||
}
|
||||
// Called once after isFinished returns true
|
||||
|
Loading…
Reference in New Issue
Block a user