Commit 77efa3b9 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: reset offsets before optimization for consistent sensor state

parent 00a59d0f
......@@ -953,6 +953,9 @@ namespace ossimplugins
DurationType cumulAzimuthTime(seconds(0));
double cumulRangeTime(0);
unsigned int count=0;
// reset offsets before optimisation
theAzimuthTimeOffset = seconds(0);
theRangeTimeOffset = 0.0;
// First, fix the azimuth time
for(std::vector<GCPRecordType>::const_iterator gcpIt = theGCPRecords.begin(); gcpIt!=theGCPRecords.end();++gcpIt)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment