Changeset 13772


Ignore:
Timestamp:
05/18/12 10:07:52 (12 years ago)
Author:
tbretz
Message:
Updates for the camera temprature display.
File:
1 edited

Legend:

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

    r13765 r13772  
    911911        rms = sqrt(rms/num-avg*avg);
    912912
    913         fFscControlTemperatureHist.push_back(avg);
     913            fFscControlTemperatureHist.push_back(avg-fMagicWeatherHist[kTemp].back());
    914914        if (fFscControlTemperatureHist.size()>300)
    915915            fFscControlTemperatureHist.pop_front();
     
    931931
    932932        WriteBinary(d, "fsccontrol-temperature-hist",
    933                     fFscControlTemperatureHist, 30);
     933                    fFscControlTemperatureHist, 10);
    934934    }
    935935
     
    12581258        if (fDimFscControl.state()>1 && fFscControlTemperatureHist.size()>0)
    12591259        {
    1260             if (fDimMagicWeather.state()==3 && fMagicWeatherHist[kTemp].size()>0)
    1261                 out << kHtmlGreen << '\t' << fFscControlTemperatureHist.back()-fMagicWeatherHist[kTemp].back() << '\n';
    1262             else
    1263                 out << kHtmlGreen << '\t' << fFscControlTemperatureHist.back() << " [abs]";
    1264 
     1260            out << kHtmlGreen << '\t' << fFscControlTemperatureHist.back() << '\n';
    12651261        }
    12661262        else
Note: See TracChangeset for help on using the changeset viewer.