Quasics2019Code/HedyLamarr/src/main/cpp/Commands/ElevatorToTop.cpp
// Called just before this Command runs the first time
Called just before this Command runs the first time
Called just before this Command runs the first time
void ElevatorToTop::Initialize() {
  if (Robot::elevator->atTop()) {
    Robot::elevator->stop();
  } else {
    Robot::elevator->moveUp();
  }
}
void ElevatorToTop :: Initialize ( ) { if ( Robot :: elevator -> atTop ( ) ) { Robot :: elevator -> stop ( ) ; } else { Robot :: elevator -> moveUp ( ) ; } }
Called just before this Command runs the first time
Called just before this Command runs the first time
// better to have a stop and not need it (even if we shouldn't ever need it)