Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bas Couwenberg
otb
Commits
77efa3b9
Commit
77efa3b9
authored
Jan 23, 2018
by
Guillaume Pasero
Browse files
BUG: reset offsets before optimization for consistent sensor state
parent
00a59d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp
View file @
77efa3b9
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment