From 7d3c122d8e1d3ca541b03969334ff163d6fb1775 Mon Sep 17 00:00:00 2001 From: szfp98 Date: Mon, 25 Mar 2024 16:22:11 +0100 Subject: [PATCH 1/2] fix joystick pos --- .../java/hu/bme/mit/train/controller/TrainControllerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java b/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java index dec7961f8..f55d75057 100644 --- a/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java +++ b/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java @@ -44,7 +44,7 @@ private void enforceSpeedLimit() { @Override public void setJoystickPosition(int joystickPosition) { this.step = joystickPosition; - followSpeed(); + followSpeed(); } } From 437a4ac65798e44920babc036929105c54542d42 Mon Sep 17 00:00:00 2001 From: szfp98 Date: Mon, 25 Mar 2024 17:12:24 +0100 Subject: [PATCH 2/2] update pom.xml --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 2be9fb5f5..2fc82dd58 100644 --- a/pom.xml +++ b/pom.xml @@ -7,6 +7,8 @@ UTF-8 + szfp98 + https://sonarcloud.io pom