| 136 | } |
| 137 | |
| 138 | void DetectionAutomatic::calibration::reset() |
| 139 | { |
| 140 | isSuccess = false; |
| 141 | isRunning = false; |
| 142 | |
| 143 | sdrStat = 0; |
| 144 | hdrStat = 0; |
| 145 | |
| 146 | backupHDR = 0; |
| 147 | decimationFPS = 0; |
| 148 | phaseStartTime = InternalClock::now() + 200; |
| 149 | phaseEndTime = InternalClock::now() + 5000 + 200; |
| 150 | endTime = InternalClock::now() + 60 * 1000; |
| 151 | currentSDRframe = 0; |
| 152 | currentHDRframe = 0; |
| 153 | signature = ""; |
| 154 | width = -1; |
| 155 | height = -1; |
| 156 | tolerance = 0; |
| 157 | model = 0; |
| 158 | quality = 0; |
| 159 | status = "Waiting for the first SDR frame"; |
| 160 | |
| 161 | currentPhase = calibrationPhase::WAITING_FOR_SDR; |
| 162 | |
| 163 | sdrPoint.clear(); |
| 164 | hdrPoint.clear(); |
| 165 | }; |
| 166 | |
| 167 | DetectionAutomatic::calibrationPoint::calibrationPoint(int _x, int _y) |
| 168 | { |
no test coverage detected