Skip to content

Commit 2bca7c4

Browse files
lidar 1.2
1 parent d6bbd97 commit 2bca7c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HL/Driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def ai_update_lidar_camera(self, lidar_data, camera_data):
5151
return angle, vitesse
5252

5353
def ai_update_lidar(self, lidar_data):
54-
lidar_data = np.array(lidar_data, dtype=np.float32) * 1.4
54+
lidar_data = np.array(lidar_data, dtype=np.float32) * 1.2
5555
# 2 vectors direction and speed. direction is between hard left at index 0 and hard right at index 1. speed is between min speed at index 0 and max speed at index 1
5656
vect = self.ai_session.run(None, {'input': lidar_data[None]})[0][0]
5757

0 commit comments

Comments
 (0)