Quasics2019Code/HedyLamarr/src/main/cpp/Commands/ElevatorToBottom.cpp
// Make this return true when this Command no longer needs to run execute()
Make this return true when this Command no longer needs to run execute()
Make this return true when this Command no longer needs to run execute ()
bool ElevatorToBottom::IsFinished() {
  if (Robot::elevator->atBottom()) {
    return true;
  } else {
    return false;
  }
}
bool ElevatorToBottom :: IsFinished ( ) { if ( Robot :: elevator -> atBottom ( ) ) { return true ; } else { return false ; } }
Make this return true when this Command no longer needs to run execute()
Make this return true when this Command no longer needs to run execute ()
// CODE_REVIEW (mjh): Be paranoid, and check both "atBottom" and "atTop" // here. (Just in case motors are configured in reverse, etc.)