Quasics2019Code/HedyLamarr/src/main/cpp/Commands/LifterToTop.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 LifterToTop::Initialize() {
  if (Robot::lifter->atTop()) {
    Robot::lifter->stop();
  } else {
    Robot::lifter->moveUp();
  }
}
void LifterToTop :: Initialize ( ) { if ( Robot :: lifter -> atTop ( ) ) { Robot :: lifter -> stop ( ) ; } else { Robot :: lifter -> moveUp ( ) ; } }
Called just before this Command runs the first time
Called just before this Command runs the first time