2024-04-19 17:46:40 -07:00
|
|
|
from typing import get_args
|
2024-02-25 01:18:13 -05:00
|
|
|
from openpilot.selfdrive.car.body.values import CAR as BODY
|
|
|
|
|
from openpilot.selfdrive.car.chrysler.values import CAR as CHRYSLER
|
|
|
|
|
from openpilot.selfdrive.car.ford.values import CAR as FORD
|
|
|
|
|
from openpilot.selfdrive.car.gm.values import CAR as GM
|
|
|
|
|
from openpilot.selfdrive.car.honda.values import CAR as HONDA
|
|
|
|
|
from openpilot.selfdrive.car.hyundai.values import CAR as HYUNDAI
|
|
|
|
|
from openpilot.selfdrive.car.mazda.values import CAR as MAZDA
|
2024-03-06 14:22:12 -05:00
|
|
|
from openpilot.selfdrive.car.mock.values import CAR as MOCK
|
2024-02-25 01:18:13 -05:00
|
|
|
from openpilot.selfdrive.car.nissan.values import CAR as NISSAN
|
|
|
|
|
from openpilot.selfdrive.car.subaru.values import CAR as SUBARU
|
|
|
|
|
from openpilot.selfdrive.car.tesla.values import CAR as TESLA
|
|
|
|
|
from openpilot.selfdrive.car.toyota.values import CAR as TOYOTA
|
|
|
|
|
from openpilot.selfdrive.car.volkswagen.values import CAR as VOLKSWAGEN
|
|
|
|
|
|
2024-03-06 14:22:12 -05:00
|
|
|
Platform = BODY | CHRYSLER | FORD | GM | HONDA | HYUNDAI | MAZDA | MOCK | NISSAN | SUBARU | TESLA | TOYOTA | VOLKSWAGEN
|
2024-04-19 17:46:40 -07:00
|
|
|
BRANDS = get_args(Platform)
|
2024-02-25 01:18:13 -05:00
|
|
|
|
2024-04-19 17:46:40 -07:00
|
|
|
PLATFORMS: dict[str, Platform] = {str(platform): platform for brand in BRANDS for platform in brand}
|