mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 00:42:05 +08:00
b0eae8c1b7
* required * mock can be a platform! * default is mock * fix that * and that one
15 lines
248 B
Python
15 lines
248 B
Python
from openpilot.selfdrive.car import CarSpecs, PlatformConfig, Platforms
|
|
|
|
|
|
|
|
class CAR(Platforms):
|
|
MOCK = PlatformConfig(
|
|
'mock',
|
|
None,
|
|
CarSpecs(mass=1700, wheelbase=2.7, steerRatio=13),
|
|
{}
|
|
)
|
|
|
|
|
|
CAR_INFO = CAR.create_carinfo_map()
|