Ignore:
Timestamp:
Nov 9, 1999, 3:04:05 PM (26 years ago)
Author:
ansari
Message:

portage cxx en cours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/gyrocalibrator.h

    r534 r555  
    55#define GYROCALIBRATOR_H
    66
    7 #include "toiderivproducer.h"
     7#include "toipullproducer.h"
    88
    99#include <vector>
    1010
    11 class GyroCalibrator : public TOIDerivProducer {
     11class GyroCalibrator : public TOIPullProducer {
    1212public:
    1313  GyroCalibrator();
     
    1616
    1717  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 
    1820  virtual double getValue(long sampleNum, TOI const& toi);
    19 
     21 
    2022protected:
    2123  virtual set<TOI>     reqTOIFor(TOI const&);
    2224  virtual void         propagateLowBound(TOI const&, long sampleNum);
    2325 
    24 private:
     26  virtual void recomputeCalib();
     27  virtual bool fetchFences(long sampleNum);
     28 
     29 
    2530  long startSample;
    26   vector<double> gyro2;
     31  vector<double> gyro[3];
    2732  long lastFence1, lastFence2;
     33  double lastRotSpeed; // on gyro 2
     34  double lastCalib[3];
     35  double lastOffset[3];
     36  TOIProducer* gyroProducer;
    2837};
    2938
Note: See TracChangeset for help on using the changeset viewer.