did_ins_2.qn2b[0],did_ins_2.qn2b[1],did_ins_2.qn2b[2],did_ins_2.qn2b[3],// Quaternion body rotation with respect to NED: W, X, Y, Z
did_ins_2.uvw[0],did_ins_2.uvw[1],did_ins_2.uvw[2],// Velocity U, V, W in meters per second. Convert to NED velocity using "vectorBodyToReference( uvw, theta, vel_ned )".
did_pimu.theta[0]/did_pimu.dt,did_pimu.theta[1]/did_pimu.dt,did_pimu.theta[2]/did_pimu.dt,// Euler angles: roll, pitch, yaw in radians with respect to NED
did_pimu.vel[0]/did_pimu.dt,did_pimu.vel[1]/did_pimu.dt,did_pimu.vel[2]/did_pimu.dt// Velocity U, V, W in meters per second. Convert to NED velocity using "vectorBodyToReference( uvw, theta, vel_ned )".
);
if(writer!=null){
writer.write(line);
}else{
System.out.print(line);
}
}
}
if(writer!=null){
writer.close();
}
if(!keep){
close();
}
}
byte[]getDidPayload(
EventLoggerFileInfonext_fileinfo,// may be null if payload does not extend beyond single record