Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
cec2fe59
Commit
cec2fe59
authored
Sep 06, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reversed screws Y
parent
f8cffed4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
FocusingField.java
src/main/java/FocusingField.java
+4
-4
No files found.
src/main/java/FocusingField.java
View file @
cec2fe59
...
@@ -6643,12 +6643,12 @@ public boolean LevenbergMarquardt(
...
@@ -6643,12 +6643,12 @@ public boolean LevenbergMarquardt(
double
zErr
,
// positive - away from lens
double
zErr
,
// positive - away from lens
double
tXErr
,
// positive - 1,2 away from lens, 3 - to the lens
double
tXErr
,
// positive - 1,2 away from lens, 3 - to the lens
double
tYErr
){
// positive - 2 away from lens
double
tYErr
){
// positive - 2 away from lens
double
[][]
screws
={
// right, down, thread pitch (pull)
double
[][]
screws
={
// right, down, thread pitch (pull) !!! Inverting Y!
{
20.5
,
17.5
,
-
0.4
},
{
20.5
,-
17.5
,
-
0.4
},
{
20.5
,-
17.5
,
-
0.4
},
{
20.5
,
17.5
,
-
0.4
},
{-
20.5
,
0.0
,
-
0.4
},
{-
20.5
,
0.0
,
-
0.4
},
{
0.0
,
17.5
,
0.4
},
{
0.0
,
-
17.5
,
0.4
},
{
0.0
,
-
17.5
,
0.45
}};
{
0.0
,
17.5
,
0.45
}};
double
[]
moveDownUm
=
new
double
[
screws
.
length
];
double
[]
moveDownUm
=
new
double
[
screws
.
length
];
double
[]
turnCW
=
new
double
[
screws
.
length
];
double
[]
turnCW
=
new
double
[
screws
.
length
];
for
(
int
i
=
0
;
i
<
screws
.
length
;
i
++){
for
(
int
i
=
0
;
i
<
screws
.
length
;
i
++){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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