Commit a656136c authored by Andrey Filippov's avatar Andrey Filippov

testing with specific paths

parent 5f08ad84
......@@ -34,7 +34,7 @@ public class EventLogger {
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 = 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
for (int nf = 0; nf < logger_files.length; nf++) {
System.out.println("Printing all DID_INS_1 data in "+logger_files[nf].abs_path);
......@@ -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++) {
System.out.println("Printing all DID_INS_1 data in "+logger_files[nf].abs_path);
try {
......
......@@ -228,6 +228,11 @@ public class EventLoggerFileInfo implements Comparable<EventLoggerFileInfo> {
sy += 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?)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment