Changeset 7338 for trunk/MagicSoft


Ignore:
Timestamp:
08/29/05 16:23:44 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r7313 r7338  
    11                                                                  -*-*- END -*-*-
     2 2005/08/29 - Daniela Dorner
     3
     4   * main/MStarguider.cc, tcpip/MDriveCom.[h,cc]:
     5     - added to variables to the Starguider report
     6
     7
    28
    39 2005/08/22 - Thomas Bretz
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r7297 r7338  
    16371637            if (fCosy) {
    16381638                MDriveCom &com = *fCosy->GetDriveCom();
    1639                 com.SendStargReport(fStatus, fD, fSao->GetZdAz(), sgcenter, spots.GetEntries(), bright, time.GetMjd());    // Report
     1639                com.SendStargReport(fStatus, fD, fSao->GetZdAz(), sgcenter, spots.GetEntries(), bright, time.GetMjd(), 0, 0);    // Report
    16401640            }
    16411641
  • trunk/MagicSoft/Cosy/tcpip/MDriveCom.cc

    r6867 r7338  
    220220}
    221221
    222 bool MDriveCom::SendStargReport(UInt_t stat, ZdAz miss, ZdAz nompos, Ring center, Int_t n, Double_t bright, Double_t mjd)
     222bool MDriveCom::SendStargReport(UInt_t stat, ZdAz miss, ZdAz nompos, Ring center, Int_t n, Double_t bright, Double_t mjd, Double_t x, Double_t y)
    223223{
    224224    // miss   [deg]
     
    249249    str += txt.Print("%04d ",   n);               //number
    250250    str += txt.Print("%03.1f ",  bright);
    251     str += txt.Print("%12.6f", t.GetMjd());      // mjd
    252    
     251    str += txt.Print("%12.6f ", t.GetMjd());      // mjd
     252    str += txt.Print("%.1f ", x);
     253    str += txt.Print("%.1f ", y);
     254
    253255    return Send("STARG-REPORT", str, kTRUE);
    254256
  • trunk/MagicSoft/Cosy/tcpip/MDriveCom.h

    r6841 r7338  
    4141
    4242    bool SendReport(UInt_t stat, RaDec rd, ZdAz so, ZdAz is, ZdAz er);
    43     bool SendStargReport(UInt_t stat, ZdAz miss, ZdAz nompos, Ring center, Int_t n, Double_t bright, Double_t mjd);
     43    bool SendStargReport(UInt_t stat, ZdAz miss, ZdAz nompos, Ring center, Int_t n, Double_t bright, Double_t mjd, Double_t x, Double_t y);
    4444    bool SendStatus(const char *stat);
    4545};
Note: See TracChangeset for help on using the changeset viewer.