Changeset 4480
- Timestamp:
- 08/04/04 16:34:14 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/amclookuptable.cpp
r3401 r4480 38 38 qDebug( "Searching for LUT near Alt: %2d Az: %3d", iZd, iAz ); 39 39 40 QDir shareDir( "/home/amc/ share/amc", "*.lut" );40 QDir shareDir( "/home/amc/AMC/share/amc", "*.lut" ); 41 41 42 42 int iZdMin = 90; … … 109 109 { 110 110 AMCMirrorPanel* pPanel = g_theMirror->panelAt( i, j ); 111 line.sprintf( "%3d %3d\t%5d\t%5d\t% 5d\t%5d\n",111 line.sprintf( "%3d %3d\t%5d\t%5d\t%7.2f\t%7.2f\n", 112 112 pPanel->i(), 113 113 pPanel->j(), … … 140 140 continue; 141 141 142 int ii, ij, iX, iY, iLaserX, iLaserY; 143 sscanf( line.data(),"%d %d %d %d %d %d", 144 &ii, &ij, &iX, &iY, &iLaserX, &iLaserY ); 142 int ii, ij, iX, iY; 143 double dLaserX, dLaserY; 144 sscanf( line.data(),"%d %d %d %d %f %f", 145 &ii, &ij, &iX, &iY, &dLaserX, &dLaserY ); 145 146 AMCMirrorPanel* pPanel = g_theMirror->panelAt( ii+8, ij+8 ); 146 147 pPanel->setRefX( iX ); 147 148 pPanel->setRefY( iY ); 148 // pPanel->setLaserX( iLaserX );149 // pPanel->setLaserY( iLaserY );149 // pPanel->setLaserX( dLaserX ); 150 // pPanel->setLaserY( dLaserY ); 150 151 } 151 152 }
Note:
See TracChangeset
for help on using the changeset viewer.