diff --git a/plugin/controller/src/main/java/org/carlmontrobotics/deepbluesim/WebotsSupervisor.java b/plugin/controller/src/main/java/org/carlmontrobotics/deepbluesim/WebotsSupervisor.java index eb88ffc..29e13bf 100644 --- a/plugin/controller/src/main/java/org/carlmontrobotics/deepbluesim/WebotsSupervisor.java +++ b/plugin/controller/src/main/java/org/carlmontrobotics/deepbluesim/WebotsSupervisor.java @@ -113,7 +113,7 @@ public static void init(Supervisor robot, int basicTimeStep) { delayer = new Timer(); // Set to something like 100 if you are trying to reproduce the latencies we sometimes see // on some underpowered CI machines - double delayMs = 0; + long delayMs = 0; ConnectionProcessor.setThreadExecutor((ev) -> { if (delayMs == 0) { queuedEvents.add(ev);