Received time is otherwise recorded as the time when the packets were
read from the file, which doesn't work in real-time playback
Signed-off-by: Keith Packard <keithp@keithp.com>
/* Make it run in realtime after the rocket leaves the pad */
if (state.state > AltosLib.ao_flight_pad)
Thread.sleep((int) (Math.min(state.time_change,10) * 1000));
/* Make it run in realtime after the rocket leaves the pad */
if (state.state > AltosLib.ao_flight_pad)
Thread.sleep((int) (Math.min(state.time_change,10) * 1000));
+ state.set_received_time(System.currentTimeMillis());
}
public File backing_file() { return file; }
}
public File backing_file() { return file; }