예제 #1
0
 @Override
 public void startup() {
   drive.startup();
   grabber.startup();
   ramp.startup();
   vision.startup();
   stackIndicator.startup();
 }
예제 #2
0
 @Override
 public void shutdown() {
   try {
     drive.shutdown();
   } finally {
     try {
       grabber.shutdown();
     } finally {
       try {
         ramp.shutdown();
       } finally {
         try {
           vision.shutdown();
         } finally {
           stackIndicator.shutdown();
         }
       }
     }
   }
 }