Ignore:
Timestamp:
06/29/06 13:29:59 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r7773 r7774  
    19821982        // 53.2 and 293.6 are the "preliminary" camera center
    19831983        // -9 and 28.5 are the offsets of the pointing position in the sky
    1984         Ring skycenter(0, 0);
    19851984
    19861985        const Bool_t centerisvalid = sgcenter.GetX()>0 && sgcenter.GetY()>0;
    1987         if (centerisvalid)
    1988             skycenter.SetXY(sgcenter.GetX() -  53.2,
    1989                             sgcenter.GetY() - 293.6);
     1986//        if (centerisvalid)
     1987//            skycenter.SetXY(sgcenter.GetX() -  53.2,
     1988//                            sgcenter.GetY() - 293.6);
    19901989
    19911990        // we obtain stars in the effective star FOV and draw them.
    19921991        // coordinates are video frame coords.
    19931992        // We determine the ideal starfield using camera sagging info
    1994         // from the LEDs
    1995         fSao->CalcStars(stars, 530, 292, skycenter.GetX()-9, skycenter.GetY()+28.5);
     1993        // from the LEDs
     1994        const XY off(sgcenter.GetX()- 53.2-9,
     1995                     sgcenter.GetY()-293.6+28.5);
     1996
     1997        fSao->CalcStars(stars, 530, 292, off.X(), off.Y());
    19961998        fSao->DrawStars(stars, cimg);
     1999
     2000        // Position around which the circles are drawn.
     2001        const Ring skycenter(768/2+off.X(), 576/2+off.Y());
    19972002
    19982003        // There are two corrections to the misspointing
Note: See TracChangeset for help on using the changeset viewer.