mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
Car interface: require fingerprint and FW versions to get params (#26932)
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
old-commit-hash: b00bc4f57e
This commit is contained in:
@@ -20,7 +20,7 @@ T_SIM = 5 * 60 # s
|
||||
DT = 0.01
|
||||
|
||||
|
||||
CP = CarInterface.get_params(CAR.CIVIC)
|
||||
CP = CarInterface.get_non_essential_params(CAR.CIVIC)
|
||||
VM = VehicleModel(CP)
|
||||
|
||||
x, y = 0, 0 # m, m
|
||||
|
||||
Reference in New Issue
Block a user