Improvements to the ImageSequencer class.

- Now _properly_ switches instruments at the moment set instrument is activated
This commit is contained in:
Michal Marcinkowski
2015-02-26 15:50:37 -05:00
parent 47d6fe3141
commit 39e5f2aa28
7 changed files with 76 additions and 87 deletions

View File

@@ -54,17 +54,23 @@ public:
double getNextCaptureTime();
double getIntervalLength(){ return _intervalLength; };
std::string& getActiveInstrument(){ return _activeInstrument; };
std::string findActiveInstrument(double time);
static ImageSequencer* _sequencer;
private:
double getMissionElapsedTime(std::string timestr);
double nextCaptureTime(double _time);
void createImage(double t1, double t2, std::string instrument, std::string path = "dummypath");
double _nextCapture;
double _intervalLength;
double _metRef = 299180517;
std::string _defaultCaptureImage;
std::string _activeInstrument;