Skip to content

Commit c2beb74

Browse files
committed
Path offset no longer relevant
1 parent 48aeb30 commit c2beb74

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

selfdrive/controls/lib/lane_planner.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@
99

1010
TRAJECTORY_SIZE = 33
1111
# camera offset is meters from center car to camera
12-
# model path is in the frame of EON's camera. TICI is 0.1 m away,
13-
# however the average measured path difference is 0.04 m
12+
# model path is in the frame of the camera. Empirically
13+
# the model knows the difference between TICI and EON
14+
# so a path offset is not needed
15+
PATH_OFFSET = 0.00
1416
if EON:
1517
CAMERA_OFFSET = -0.06
16-
PATH_OFFSET = 0.0
1718
elif TICI:
1819
CAMERA_OFFSET = 0.04
19-
PATH_OFFSET = 0.04
2020
else:
2121
CAMERA_OFFSET = 0.0
22-
PATH_OFFSET = 0.0
2322

2423

2524
class LanePlanner:

0 commit comments

Comments
 (0)