Skip to content

Commit 0614960

Browse files
committed
Mypy check
1 parent 0d27fa9 commit 0614960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LocalPathPlanning/FSAE_PathPlanning/FSAE_local_path_planning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def sort_traffic_cone(traffic_cone: np.ndarray, mode: int = 0) -> np.ndarray:
5959
counter = 0
6060

6161
# 找到第1个锥桶
62-
fist_cone_index = np.argmin(traffic_cone[:, 0]) # x坐标最小的作为首个锥桶
62+
fist_cone_index = int(np.argmin(traffic_cone[:, 0])) # x坐标最小的作为首个锥桶
6363
sorted_index.append(fist_cone_index)
6464
unsorted_index.remove(fist_cone_index)
6565

0 commit comments

Comments
 (0)