Changeset 4491
- Timestamp:
- 08/04/04 16:49:20 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/main.cpp
r3401 r4491 1 1 2 /*************************************************************************** 2 3 main.cpp - description … … 27 28 #include "amcserialport.h" 28 29 #include "amcstate.h" 30 #include "amccmdstate.h" 29 31 #include "heatstate.h" 30 32 #include "magicmirror.h" … … 37 39 AMCState* g_pAMCState; 38 40 HEATState* g_pHEATState; 39 int g_iRefX, g_iRefY; 41 AMCCmdState* g_pAMCCmdState; 42 double g_dRefX, g_dRefY; 40 43 41 44 static const char *description = … … 70 73 qDebug("Creating HEATState"); 71 74 g_pHEATState = new HEATState( 0 ); 75 qDebug("Creating AMCCmdState"); 76 g_pAMCCmdState = new AMCCmdState( 0 ); 72 77 73 78 // First we open and initialize the 8 serial ports … … 93 98 qDebug("Creating MagicMirror"); 94 99 g_theMirror = new MagicMirror(); 95 g_ iRefX = -1;96 g_ iRefY = -1;100 g_dRefX = -1.; 101 g_dRefY = -1.; 97 102 98 103 qDebug("Creating ActiveMirrorControl"); … … 115 120 qDebug("Deleting HeatState"); 116 121 delete g_pHEATState; 122 qDebug("Deleting AMCCmdState"); 123 delete g_pAMCCmdState; 117 124 qDebug("Deleting FrameGrabber"); 118 125 delete g_pFG;
Note:
See TracChangeset
for help on using the changeset viewer.