Changeset 555 in Sophya for trunk/Poubelle/archTOI.old/gyrocalibrator.h
- Timestamp:
- Nov 9, 1999, 3:04:05 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/gyrocalibrator.h
r534 r555 5 5 #define GYROCALIBRATOR_H 6 6 7 #include "toi derivproducer.h"7 #include "toipullproducer.h" 8 8 9 9 #include <vector> 10 10 11 class GyroCalibrator : public TOI DerivProducer {11 class GyroCalibrator : public TOIPullProducer { 12 12 public: 13 13 GyroCalibrator(); … … 16 16 17 17 virtual bool canGetValue(long sampleNum, TOI const& toi); // for this samplenum 18 virtual bool canGetValueLater(long sampleNum, TOI const& toi); // Might, later but not now 19 18 20 virtual double getValue(long sampleNum, TOI const& toi); 19 21 20 22 protected: 21 23 virtual set<TOI> reqTOIFor(TOI const&); 22 24 virtual void propagateLowBound(TOI const&, long sampleNum); 23 25 24 private: 26 virtual void recomputeCalib(); 27 virtual bool fetchFences(long sampleNum); 28 29 25 30 long startSample; 26 vector<double> gyro 2;31 vector<double> gyro[3]; 27 32 long lastFence1, lastFence2; 33 double lastRotSpeed; // on gyro 2 34 double lastCalib[3]; 35 double lastOffset[3]; 36 TOIProducer* gyroProducer; 28 37 }; 29 38
Note:
See TracChangeset
for help on using the changeset viewer.