talon intake

This commit is contained in:
Abhishrek05
2024-02-20 18:56:57 -07:00
parent 2758e01cd2
commit 00f714f845
3 changed files with 41 additions and 30 deletions
@@ -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));
// }
}
}