Skip to content

Commit 2bf4ea0

Browse files
dist scale
1 parent a07ab84 commit 2bf4ea0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/HL/Autotech_constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
MAX_SOFT_SPEED = 1
55
MIN_SOFT_SPEED = 0.1
6-
MAX_ANGLE = 18
6+
MAX_ANGLE = 14
77
CRASH_DIST = 110
88

99
script_dir = os.path.dirname(os.path.abspath(__file__))

src/HL/Camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def is_green_or_red(self):
162162
elif red_intensity > green_intensity + COLOR_THRESHOLD:
163163
return COLOUR_KEY["red"]
164164
return COLOUR_KEY["none"]
165-
165+
166166
def is_running_in_reversed(self, LEFT_IS_GREEN=True):
167167
"""
168168
Check if the car is running in reverse.

src/HL/Driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def ai_update_lidar_camera(self, lidar_data, camera_data):
6464
lidar_data = sp.ndimage.zoom(
6565
np.array(lidar_data, dtype=np.float32),
6666
128/len(lidar_data)
67-
) / 1000 * 1.1
67+
) / 1000 * 1
6868
camera_data = sp.ndimage.zoom(
6969
np.array(camera_data, dtype=np.float32),
7070
128/len(camera_data)

0 commit comments

Comments
 (0)