r.setTimeOfRecord(System.currentTimeMillis());
r.setTimeOfLocationUpdate(r.getTimeOfRecord());
r.setScheduleDeviation(best.getScheduleDeviation());
if (_includeTimepointPredictionRecords) {
TimepointPredictionRecord tpr = new TimepointPredictionRecord();
tpr.setTimepointId(best.getTimepointId());
tpr.setTimepointPredictedTime(best.getTimepointPredictedTime());
tpr.setTimepointScheduledTime(best.getTimepointScheduledTime());
r.setTimepointPredictions(Arrays.asList(tpr));
}
r.setTripId(best.getTripId());
r.setVehicleId(best.getVehicleId());