Closed Team1710CTO closed 6 years ago
I made a new method that would say what is happening with the wrist.
public static String getWristPosition() {
if (wristPosition == Constants.wristUp) {
return "Keeping cube in";
} else if (wristPosition == Constants.wristLaunch) {
return "Launch cube upward, at angle";
} else if (wristPosition == Constants.wristDown) {
return "Wrist is parallell to the ground";
} else {
return "changing position. Or broken";
}
}
Similar to how nathan implemented a method that returned a string of the current lift position (in issue #14) we need to implement a method in the Intake class that will return maybe "normal", "launch", or "start" depending on the current setpoint.