File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/main/java/telraam/logic/positioner/nostradamus Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ private void calculatePosition() {
131
131
entry .getValue ().getPosition ().getProgress ()
132
132
))
133
133
);
134
+ entry .getValue ().setPreviousStationArrival (entry .getValue ().getPreviousStationArrival () + MAX_NO_DATA_MS );
134
135
}
135
136
}
136
137
Original file line number Diff line number Diff line change 1
1
package telraam .logic .positioner .nostradamus ;
2
2
3
3
import lombok .Getter ;
4
+ import lombok .Setter ;
4
5
import telraam .database .models .Detection ;
5
6
import telraam .database .models .Station ;
6
7
import telraam .logic .positioner .Position ;
@@ -13,7 +14,7 @@ public class TeamData {
13
14
private final Map <Integer , StationData > stations ; // Station list
14
15
private StationData currentStation ; // Current station location
15
16
private StationData previousStation ; // Previous station location
16
- @ Getter
17
+ @ Getter @ Setter
17
18
private long previousStationArrival ; // Arrival time of previous station. Used to calculate the average times
18
19
private final int totalDistance ; // Total distance of the track
19
20
private final float maxDeviance ; // Maximum deviance the animation can have from the reality
You can’t perform that action at this time.
0 commit comments