Skip to content

Commit

Permalink
shorten fetch interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Apr 23, 2024
1 parent 877fe72 commit 27d1dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class Nostradamus implements Positioner {
private static final Logger logger = Logger.getLogger(Nostradamus.class.getName());
private final int INTERVAL_CALCULATE_MS = 500; // How often to handle new detections (in milliseconds)
private final int INTERVAL_FETCH_MS = 60000; // Interval between fetching baton switchovers (in milliseconds)
private final int INTERVAL_FETCH_MS = 10000; // Interval between fetching baton switchovers (in milliseconds)
private final int INTERVAL_DETECTIONS_MS = 3000; // Amount of milliseconds to group detections by
private final int MAX_NO_DATA_MS = 30000; // Send a stationary position after receiving no station update for x amount of milliseconds
private final int MEDIAN_AMOUNT = 10; // Calculate the median running speed of the last x intervals
Expand Down

0 comments on commit 27d1dc4

Please sign in to comment.