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
47b15645
Commit
47b15645
authored
May 22, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log level for images list
parent
78789ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
LwirReader.java
src/main/java/com/elphel/imagej/lwir/LwirReader.java
+8
-2
No files found.
src/main/java/com/elphel/imagej/lwir/LwirReader.java
View file @
47b15645
...
...
@@ -177,7 +177,7 @@ public class LwirReader {
img_numbers
[
n
][
i
]
=
-
1
;
}
img_names
[
n
][
i
]
=
(
String
)
imps
[
n
][
i
].
getProperty
(
"CONTENT_FILENAME"
);
LOGGER
.
info
(
"Seconds for"
+
n
+
":"
+
i
+
" - "
+
img_seconds
[
n
][
i
]+
", number"
+
img_numbers
[
n
][
i
]+
", name "
+
img_names
[
n
][
i
]);
LOGGER
.
warn
(
"Seconds for"
+
n
+
":"
+
i
+
" - "
+
img_seconds
[
n
][
i
]+
", number"
+
img_numbers
[
n
][
i
]+
", name "
+
img_names
[
n
][
i
]);
}
}
...
...
@@ -292,7 +292,7 @@ public class LwirReader {
out_of_sync
=
false
;
for
(
int
i
=
0
;
i
<
num_channels
;
i
++)
{
// change to info later:
LOGGER
.
info
(
"Channel "
+
i
+
" frame offset="
+
frame_offsets
[
i
]+
", time offset = "
+
time_offsets
[
i
]+
" sec"
);
LOGGER
.
warn
(
"Channel "
+
i
+
" frame offset="
+
frame_offsets
[
i
]+
", time offset = "
+
time_offsets
[
i
]+
" sec"
);
}
// if (lags == null) lags = new int [num_channels];
...
...
@@ -323,6 +323,11 @@ public class LwirReader {
LOGGER
.
error
(
"calibrate(): No LWIR channels are configured"
);
return
false
;
}
// Skipping frame to synchronize setting calibration command
if
(!
skipFrame
(
lrp
))
{
LOGGER
.
error
(
"programLWIRCamera():Failed to skip frame"
);
}
int
chn
=
lrp
.
lwir_channels
[
0
];
int
channels
=
0
;
for
(
int
c
:
lrp
.
lwir_channels
)
{
...
...
@@ -333,6 +338,7 @@ public class LwirReader {
String
url
=
"http://"
+
lrp
.
lwir_ip
+
"/parsedit.php?immediate&sensor_port="
+
chn
+
"&SENSOR_REGS67=0!"
+
hex_chan
;
Document
dom
=
null
;
LOGGER
.
warn
(
"calibrate(): Perform calibration (instead of 15 frames), url="
+
url
);
try
{
DocumentBuilderFactory
dbf
=
DocumentBuilderFactory
.
newInstance
();
DocumentBuilder
db
=
dbf
.
newDocumentBuilder
();
...
...
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