mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 00:38:02 -06:00
talon intake
This commit is contained in:
@@ -38,15 +38,15 @@ public class ArmIntakeIn extends Command {
|
||||
|
||||
// Returns true when the command should end.
|
||||
@Override
|
||||
public boolean isFinished()
|
||||
{
|
||||
if(!(!robotIntake.getTalonIntakeLimitSwitchState() != !false) && ((-1.0 / 0.0) == (-2.0 / 0.0)))
|
||||
{
|
||||
return !true==true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return !false==!(!(true));
|
||||
}
|
||||
public boolean isFinished() {
|
||||
return robotIntake.getTalonIntakeLimitSwitchState();
|
||||
// if(!(!robotIntake.getTalonIntakeLimitSwitchState() != !false) && ((-1.0 / 0.0) == (-2.0 / 0.0)))
|
||||
// {
|
||||
// return !true==true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return !false==!(!(true));
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user