Rev | Line | |
---|
[534] | 1 | // gyrocalibrator.h
|
---|
| 2 | // Eric Aubourg CEA/DAPNIA/SPP octobre 1999
|
---|
| 3 |
|
---|
| 4 | #ifndef GYROCALIBRATOR_H
|
---|
| 5 | #define GYROCALIBRATOR_H
|
---|
| 6 |
|
---|
| 7 | #include "toiderivproducer.h"
|
---|
| 8 |
|
---|
| 9 | #include <vector>
|
---|
| 10 |
|
---|
| 11 | class GyroCalibrator : public TOIDerivProducer {
|
---|
| 12 | public:
|
---|
| 13 | GyroCalibrator();
|
---|
| 14 | virtual void dataFeed(TOIProducer* source, TOI const& toi, long sampleNum, double value);
|
---|
| 15 | virtual string getName();
|
---|
| 16 |
|
---|
| 17 | virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum
|
---|
| 18 | virtual double getValue(long sampleNum, TOI const& toi);
|
---|
| 19 |
|
---|
| 20 | protected:
|
---|
| 21 | virtual set<TOI> reqTOIFor(TOI const&);
|
---|
| 22 | virtual void propagateLowBound(TOI const&, long sampleNum);
|
---|
| 23 |
|
---|
| 24 | private:
|
---|
| 25 | long startSample;
|
---|
| 26 | vector<double> gyro2;
|
---|
| 27 | long lastFence1, lastFence2;
|
---|
| 28 | };
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.