mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-21 06:33:52 +08:00
* get platform_str from the enum name * fix tests * add migration table * remove impossible todo * Add link to PR in MIGRATION table Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN * rename RAM_HD to RAM_HD_5TH_GEN * rename references to RAM_HD and RAM_1500 * change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC * remove MOCK from fingerprints.py * change hard-coded car model in test_can_fingerprint.py/test_timing * migration * update ref * space * prius --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: justin newberry <justin@comma.ai> Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
10 lines
195 B
Python
10 lines
195 B
Python
from openpilot.selfdrive.car import CarSpecs, PlatformConfig, Platforms
|
|
|
|
|
|
class CAR(Platforms):
|
|
MOCK = PlatformConfig(
|
|
[],
|
|
CarSpecs(mass=1700, wheelbase=2.7, steerRatio=13),
|
|
{}
|
|
)
|