mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-12 23:43:44 +08:00
22a8575199
Keep official openpilot ancestry and dependency licenses. Store resources directly in Git, remove LFS setup requirements, and leave the downloadable big model outside the source tree.
10 lines
334 B
Python
10 lines
334 B
Python
import glob
|
|
import os
|
|
|
|
from opendbc import DBC_PATH, get_generated_dbcs
|
|
|
|
static_dbcs = [os.path.basename(dbc).split('.')[0] for dbc in
|
|
glob.glob(f"{DBC_PATH}/*.dbc")]
|
|
ALL_DBCS = sorted(set(static_dbcs + list(get_generated_dbcs().keys())))
|
|
TEST_DBC = os.path.abspath(os.path.join(os.path.dirname(__file__), "test.dbc"))
|