Changeset 634 in Sophya for trunk/Poubelle/archTOI.old/gyrocalibrator.cc
- Timestamp:
- Nov 25, 1999, 9:34:50 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/gyrocalibrator.cc
r555 r634 139 139 } 140 140 } 141 142 // Si nos fournisseurs ne peuvent pas, nous non plus... 143 map<TOI, TOIProducer*> & m = (*(neededTOIs.begin())).second; 144 for (map<TOI, TOIProducer*>::iterator i = m.begin(); i != m.end(); i++) { 145 TOI const& inToi = (*i).first; 146 TOIProducer* prod = (*i).second; 147 if (!prod->canGetValue(sampleNum, inToi) && !prod->canGetValueLater(sampleNum, inToi)) return false; 148 149 } 150 141 151 if (lastFence1<0 || lastFence2<0) return true; 142 152 if (sampleNum > lastFence2) return true; … … 170 180 171 181 172 void GyroCalibrator::propagateLowBound(TOI const& , long /*sampleNum*/) {182 void GyroCalibrator::propagateLowBound(TOI const& toi, long sampleNum) { 173 183 if (startSample < lastFence1) { 174 184 if (gyro[0].size() > lastFence1 - startSample) { … … 180 190 } 181 191 } 192 TOIPullProducer::propagateLowBound(toi, sampleNum); 182 193 } 183 194
Note:
See TracChangeset
for help on using the changeset viewer.