Changeset 4508 for trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/laseradjustthread.cpp
- Timestamp:
- 08/05/04 06:01:46 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/laseradjustthread.cpp
r4505 r4508 100 100 101 101 // check if the laser adjustment converged 102 double dX,dY;103 102 getSpot(); 104 getDistToRef(dX, dY);105 103 int x,y; 106 104 calcSteps( x, y ); … … 109 107 m_pPanel->setLaserOn( false ); 110 108 109 double dRefX, dRefY; 110 m_pPanel->getCorrectedRef( dRefX, dRefY ); 111 double dX, dY; 112 dX = dRefX - m_dSpotX; 113 dY = dRefY - m_dSpotY; 114 111 115 if( (fabs(dX) > 1.5) || (fabs(dY) > 1.5) ) 112 116 { … … 214 218 double dRefX; 215 219 double dRefY; 216 // dRefX = m_pPanel->getLaserX();217 // dRefY = m_pPanel->getLaserY();218 220 m_pPanel->getCorrectedRef( dRefX, dRefY ); 219 221
Note:
See TracChangeset
for help on using the changeset viewer.