write trajectory to calibrated sensor file