You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
1004 B
21 lines
1004 B
2 months ago
|
from typing import get_args
|
||
|
from opendbc.car.body.values import CAR as BODY
|
||
|
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.rivian.values import CAR as RIVIAN
|
||
|
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.volkswagen.values import CAR as VOLKSWAGEN
|
||
|
|
||
|
Platform = BODY | CHRYSLER | FORD | GM | HONDA | HYUNDAI | MAZDA | MOCK | NISSAN | RIVIAN | SUBARU | TESLA | TOYOTA | VOLKSWAGEN
|
||
|
BRANDS = get_args(Platform)
|
||
|
|
||
|
PLATFORMS: dict[str, Platform] = {str(platform): platform for brand in BRANDS for platform in brand}
|