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
fcf6a510
Commit
fcf6a510
authored
Oct 20, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
goniometer manual control
parent
4667c49d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Goniometer.java
src/main/java/Goniometer.java
+3
-0
No files found.
src/main/java/Goniometer.java
View file @
fcf6a510
...
...
@@ -136,12 +136,15 @@ horizontal axis:
gd
.
addNumericField
(
"Goniometer tilt angle"
,
currentTilt
,
1
,
5
,
"\u00b0 (positive - look up)"
);
gd
.
addNumericField
(
"Goniometer axial angle"
,
currentAxial
,
1
,
5
,
"\u00b0 (positive - CCW)"
);
gd
.
addCheckbox
(
"Initialize goniometer motor driver"
,
needsInit
);
gd
.
addNumericField
(
"Debug level"
,
debugLevel
,
0
,
1
,
""
);
gd
.
showDialog
();
if
(
gd
.
wasCanceled
())
return
false
;
String
selectedAction
=
gd
.
getNextRadioButton
();
currentTilt
=
gd
.
getNextNumber
();
currentAxial
=
gd
.
getNextNumber
();
needsInit
=
gd
.
getNextBoolean
();
debugLevel
=(
int
)
gd
.
getNextNumber
();
this
.
goniometerParameters
.
goniometerMotors
.
debugLevel
=
this
.
debugLevel
;
// +1;
if
(
needsInit
){
if
(!
this
.
goniometerParameters
.
goniometerMotors
.
tryInit
(
true
,
updateStatus
)){
String
msg
=
"Failed to initialize goniometer motor driver"
;
...
...
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