Ignore:
Timestamp:
07/22/05 13:18:44 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MHPointing.cc

    r7202 r7210  
    130130    fReportSG = (MReportStarguider*)plist->FindObject("MReportStarguider");
    131131    if (!fReportSG)
    132     {
    133         *fLog << warn << "MReportStarguider not found... abort." << endl;
    134         return kFALSE;
    135     }
     132        *fLog << warn << "MReportStarguider not found..." << endl;
     133
    136134    fReportCosy = (MReportDrive*)plist->FindObject("MReportDrive");
    137135    if (!fReportCosy)
    138     {
    139         *fLog << warn << "MReportDrive not found... abort." << endl;
    140         return kFALSE;
    141     }
     136        *fLog << warn << "MReportDrive not found..." << endl;
    142137
    143138    // Reset Graphs
     
    166161    if (t->GetName()==(TString)"MTimeStarguider")
    167162    {
     163        if (!fReportSG)
     164        {
     165            *fLog << err << "ERROR: fReportSG==NULL... abort." << endl;
     166            return kFALSE;
     167        }
     168
    168169        AddPoint(fBrightness, tm, fReportSG->GetSkyBrightness());
    169170        AddPoint(fNumStars,   tm, fReportSG->GetNumIdentifiedStars());
     
    184185    }
    185186
    186     if (t->GetName()==(TString)"MTimeDrive")
    187     {
     187    if (fReportCosy && t->GetName()==(TString)"MTimeDrive")
     188    {
     189        if (!fReportCosy)
     190        {
     191            *fLog << err << "ERROR: fReportCosy==NULL... abort." << endl;
     192            return kFALSE;
     193        }
     194
    188195        AddPoint(fDevTimeCosy, tm, fReportCosy->GetAbsError()*60);
    189196        if (fPosZd.GetY()[fPosZd.GetN()-1] != fReportCosy->GetNominalZd())
Note: See TracChangeset for help on using the changeset viewer.