Skip to content
Snippets Groups Projects
Commit 77efa3b9 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: reset offsets before optimization for consistent sensor state

parent 00a59d0f
Branches
Tags 6.4.0-rc1
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment