mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-10 14:33:42 +08:00
f71daaf60f
Add the Volvo C1 port with matching Python registration and exact native parameter admission. Co-authored-by: firestarsdog <229254897+firestarsdog@users.noreply.github.com>
25 lines
1.2 KiB
Python
25 lines
1.2 KiB
Python
from typing import get_args
|
|
from opendbc.car.body.values import CAR as BODY
|
|
from opendbc.car.byd.values import CAR as BYD
|
|
from opendbc.car.chrysler.values import CAR as CHRYSLER
|
|
from opendbc.car.ford.values import CAR as FORD
|
|
from opendbc.car.gm.values import CAR as GM
|
|
from opendbc.car.honda.values import CAR as HONDA
|
|
from opendbc.car.hyundai.values import CAR as HYUNDAI
|
|
from opendbc.car.mazda.values import CAR as MAZDA
|
|
from opendbc.car.mock.values import CAR as MOCK
|
|
from opendbc.car.nissan.values import CAR as NISSAN
|
|
from opendbc.car.psa.values import CAR as PSA
|
|
from opendbc.car.rivian.values import CAR as RIVIAN
|
|
from opendbc.car.mg.values import CAR as MG
|
|
from opendbc.car.subaru.values import CAR as SUBARU
|
|
from opendbc.car.tesla.values import CAR as TESLA
|
|
from opendbc.car.toyota.values import CAR as TOYOTA
|
|
from opendbc.car.volvo.values import CAR as VOLVO
|
|
from opendbc.car.volkswagen.values import CAR as VOLKSWAGEN
|
|
|
|
Platform = BODY | BYD | CHRYSLER | FORD | GM | HONDA | HYUNDAI | MAZDA | MOCK | MG | NISSAN | PSA | RIVIAN | SUBARU | TESLA | TOYOTA | VOLVO | VOLKSWAGEN
|
|
BRANDS = get_args(Platform)
|
|
|
|
PLATFORMS: dict[str, Platform] = {str(platform): platform for brand in BRANDS for platform in brand}
|