Changeset 4505 for trunk


Ignore:
Timestamp:
08/04/04 18:26:03 (20 years ago)
Author:
merck
Message:
MMerck: Added code to calculate corrected reference position for
MMerck: laser spot. Now we take the corrected position as the reference
MMerck: where we want to adjust to.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/laseradjustthread.cpp

    r4488 r4505  
    212212void LaserAdjustThread::getDistToRef( double& p_dX, double& p_dY )
    213213{
    214         double dRefX = m_pPanel->getLaserX();
    215         double dRefY = m_pPanel->getLaserY();
     214        double dRefX;
     215        double dRefY;
     216//      dRefX = m_pPanel->getLaserX();
     217//      dRefY = m_pPanel->getLaserY();
     218        m_pPanel->getCorrectedRef( dRefX, dRefY );
    216219
    217220        // Adapt spot for shift of camera center.
     
    233236{
    234237  double dX, dY;
    235 //      if( m_pPanel->isReversed() )
    236 //              getDistToRef(dY, dX );
    237 //  else
     238
    238239        getDistToRef( dX, dY );
    239240        m_pPanel->calcSteps( dX, dY, p_iX, p_iY );
Note: See TracChangeset for help on using the changeset viewer.