Changeset 7774 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 06/29/06 13:29:59 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MStarguider.cc
r7773 r7774 1982 1982 // 53.2 and 293.6 are the "preliminary" camera center 1983 1983 // -9 and 28.5 are the offsets of the pointing position in the sky 1984 Ring skycenter(0, 0);1985 1984 1986 1985 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); 1990 1989 1991 1990 // we obtain stars in the effective star FOV and draw them. 1992 1991 // coordinates are video frame coords. 1993 1992 // 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()); 1996 1998 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()); 1997 2002 1998 2003 // There are two corrections to the misspointing
Note:
See TracChangeset
for help on using the changeset viewer.