activateOnlyReplay.cpp

00001 /*
00002   再生実行時にのみ、画面を描画
00003   Satofumi KAMIMURA
00004   $Id$
00005 */
00006 
00007 #include "mRunCtrl.h"
00008 #include "vutils.h"
00009 #include <stdio.h>
00010 #include <stdlib.h>
00011 
00012 
00013 int main(int argc, char *argv[]) {
00014   try {
00015     mRunCtrl run;
00016     if (initConnection(&run, argc, argv) < 0) {
00017       exit(1);
00018     }
00019     if (Monitor::Playback == vmonitor::getMonitorMode()) {
00020       vmonitor::show();
00021     }
00022 
00023     run.followLine(Position(0, 0, deg(0)));
00024     VXV::Delay(3000);
00025     run.stop();
00026 
00027     VXV::Delay(3000);
00028   } catch (std::exception& e) {
00029     printf("exception: %s\n", e.what());
00030   }
00031   return 0;
00032 }
00033 

Generated on Mon Apr 13 22:52:02 2009 by  doxygen 1.5.7.1