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
a656136c
Commit
a656136c
authored
Sep 07, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing with specific paths
parent
5f08ad84
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
EventLogger.java
src/main/java/com/elphel/imagej/ims/EventLogger.java
+2
-2
EventLoggerFileInfo.java
src/main/java/com/elphel/imagej/ims/EventLoggerFileInfo.java
+5
-0
No files found.
src/main/java/com/elphel/imagej/ims/EventLogger.java
View file @
a656136c
...
@@ -34,7 +34,7 @@ public class EventLogger {
...
@@ -34,7 +34,7 @@ public class EventLogger {
Arrays
.
sort
(
logger_files
);
// increasing start time stamps
Arrays
.
sort
(
logger_files
);
// increasing start time stamps
// String out_did_gps_path = "/home/elphel/lwir16-proc/office_04/did_gps";
// String out_did_gps_path = "/home/elphel/lwir16-proc/office_04/did_gps";
String
out_did_gps_path
=
dir
+
"../did_gps"
;
String
out_did_gps_path
=
dir
+
"../did_gps
/did_gps
"
;
int
gps_mask
=
7
;
// +1 - DID_GPS1_POS, +2 - DID_GPS2_POS, +4 - DID_GPS1_UBX_POS
int
gps_mask
=
7
;
// +1 - DID_GPS1_POS, +2 - DID_GPS2_POS, +4 - DID_GPS1_UBX_POS
for
(
int
nf
=
0
;
nf
<
logger_files
.
length
;
nf
++)
{
for
(
int
nf
=
0
;
nf
<
logger_files
.
length
;
nf
++)
{
System
.
out
.
println
(
"Printing all DID_INS_1 data in "
+
logger_files
[
nf
].
abs_path
);
System
.
out
.
println
(
"Printing all DID_INS_1 data in "
+
logger_files
[
nf
].
abs_path
);
...
@@ -49,7 +49,7 @@ public class EventLogger {
...
@@ -49,7 +49,7 @@ public class EventLogger {
String
out_did1_path
=
"/
home/elphel/lwir16-proc/office_04
/did_ins1"
;
String
out_did1_path
=
"/
media/elphel/SSD3-4GB/lwir16-proc/berdich/ims/test_out
/did_ins1"
;
for
(
int
nf
=
0
;
nf
<
logger_files
.
length
;
nf
++)
{
for
(
int
nf
=
0
;
nf
<
logger_files
.
length
;
nf
++)
{
System
.
out
.
println
(
"Printing all DID_INS_1 data in "
+
logger_files
[
nf
].
abs_path
);
System
.
out
.
println
(
"Printing all DID_INS_1 data in "
+
logger_files
[
nf
].
abs_path
);
try
{
try
{
...
...
src/main/java/com/elphel/imagej/ims/EventLoggerFileInfo.java
View file @
a656136c
...
@@ -228,6 +228,11 @@ public class EventLoggerFileInfo implements Comparable<EventLoggerFileInfo> {
...
@@ -228,6 +228,11 @@ public class EventLoggerFileInfo implements Comparable<EventLoggerFileInfo> {
sy
+=
ts_local
;
sy
+=
ts_local
;
sxy
+=
ts_master
*
ts_local
;
sxy
+=
ts_master
*
ts_local
;
}
}
// just print time and gps:
int
type_imx5
=
(
REC_TYPE_GPS
<<
4
)
|
REC_SUBTYPE_IMX5
;
// 0x18 - first subpacket
if
((
full_type
[
0
]
>>
4
)
==
type_imx5
)
{
}
}
}
}
}
// calculate offsets and timestamp range (master?)
// calculate offsets and timestamp range (master?)
...
...
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