From 0e1745c490f9667ab90375588f17f44bda5c4f1d Mon Sep 17 00:00:00 2001 From: Armin <armin.co@hs-bochum.de> Date: Sun, 21 Feb 2021 13:51:49 +0100 Subject: [PATCH] Sharper steering impulses --- steering_wheel.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/steering_wheel.py b/steering_wheel.py index 9f968f4..62f9fcf 100644 --- a/steering_wheel.py +++ b/steering_wheel.py @@ -69,31 +69,31 @@ class ManualSteeringWheel: return [0.0, 0.0, 0.0, False] if action == FORWARD: - return [0.6, 0.0, 0.0, False] + return [0.65, 0.0, 0.0, False] if action == REVERSE: return [0.5, 0.0, 0.0, True] if action == FORWARD_LEFT: - return [0.4, -0.4, 0.0, False] + return [0.4, -0.6, 0.0, False] if action == FORWARD_RIGHT: - return [0.4, 0.4, 0.0, False] + return [0.4, 0.6, 0.0, False] if action == LEFT: - return [0.0, -0.4, 0.0, False] + return [0.0, -0.6, 0.0, False] if action == RIGHT: - return [0.0, 0.4, 0.0, False] + return [0.0, 0.6, 0.0, False] if action == BRAKE: return [0.0, 0.0, 0.5, False] if action == REVERSE_LEFT: - return [0.4, -0.4, 0.0, True] + return [0.4, -0.6, 0.0, True] if action == REVERSE_RIGHT: - return [0.4, 0.4, 0.0, True] + return [0.4, 0.6, 0.0, True] def get_action(self): action = IDLE -- GitLab