Changeset 14710


Ignore:
Timestamp:
12/01/12 20:29:49 (12 years ago)
Author:
tbretz
Message:
Tracking now is also 'OnTrack'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r14670 r14710  
    23032303        newerr |= SetError(fMagicWeatherHist[kHum].size()>0 && fMagicWeatherHist[kHum].back()>98 && data_taking,
    23042304                           "Outside humidity exceeds 98% during data-taking");
    2305         newerr |= SetError(fMagicWeatherHist[kGusts].size()>0 && fMagicWeatherHist[kGusts].back()>98 && fDimDriveControl.state()==Drive::State::kTracking,
     2305        newerr |= SetError(fMagicWeatherHist[kGusts].size()>0 && fMagicWeatherHist[kGusts].back()>98 && (fDimDriveControl.state()==Drive::State::kTracking||fDimDriveControl.state()==Drive::State::kOnTrack),
    23062306                           "Wind gusts exceed 50km/h during tracking");
    23072307
     
    25232523            if (fDimDriveControl.state()==Drive::State::kArmed) // Armed
    25242524                col = HTML::kWhite;
    2525             if (fDimDriveControl.state()==Drive::State::kTracking) // Tracking
     2525            if (fDimDriveControl.state()==Drive::State::kTracking || fDimDriveControl.state()==Drive::State::kOnTrack) // Tracking
    25262526            {
    25272527                if (dev>60)   // ~1.5mm
     
    25382538            out << fDriveControlPointingZd  << "&deg;";
    25392539            out << setprecision(2);
    2540             if (fDimDriveControl.state()==Drive::State::kTracking)
     2540            if (fDimDriveControl.state()==Drive::State::kTracking || fDimDriveControl.state()==Drive::State::kOnTrack)
    25412541            {
    25422542                out << " &plusmn; " << dev << '"';
Note: See TracChangeset for help on using the changeset viewer.