Skip to content
Snippets Groups Projects
Commit 0e1745c4 authored by Armin Co's avatar Armin Co
Browse files

Sharper steering impulses

parent 662c1621
Branches
No related tags found
No related merge requests found
...@@ -69,31 +69,31 @@ class ManualSteeringWheel: ...@@ -69,31 +69,31 @@ class ManualSteeringWheel:
return [0.0, 0.0, 0.0, False] return [0.0, 0.0, 0.0, False]
if action == FORWARD: if action == FORWARD:
return [0.6, 0.0, 0.0, False] return [0.65, 0.0, 0.0, False]
if action == REVERSE: if action == REVERSE:
return [0.5, 0.0, 0.0, True] return [0.5, 0.0, 0.0, True]
if action == FORWARD_LEFT: if action == FORWARD_LEFT:
return [0.4, -0.4, 0.0, False] return [0.4, -0.6, 0.0, False]
if action == FORWARD_RIGHT: if action == FORWARD_RIGHT:
return [0.4, 0.4, 0.0, False] return [0.4, 0.6, 0.0, False]
if action == LEFT: if action == LEFT:
return [0.0, -0.4, 0.0, False] return [0.0, -0.6, 0.0, False]
if action == RIGHT: if action == RIGHT:
return [0.0, 0.4, 0.0, False] return [0.0, 0.6, 0.0, False]
if action == BRAKE: if action == BRAKE:
return [0.0, 0.0, 0.5, False] return [0.0, 0.0, 0.5, False]
if action == REVERSE_LEFT: if action == REVERSE_LEFT:
return [0.4, -0.4, 0.0, True] return [0.4, -0.6, 0.0, True]
if action == REVERSE_RIGHT: if action == REVERSE_RIGHT:
return [0.4, 0.4, 0.0, True] return [0.4, 0.6, 0.0, True]
def get_action(self): def get_action(self):
action = IDLE action = IDLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment