mirror of https://github.com/commaai/panda.git
Increase Subaru RPM limit (#1937)
* feat: increase Subaru RPM limit * test: Update tests for Subaru RPM increase
This commit is contained in:
parent
6f9e2c5159
commit
d4a01f7555
|
@ -28,7 +28,7 @@ const LongitudinalLimits SUBARU_LONG_LIMITS = {
|
|||
.max_brake = 600, // approx -3.5 m/s^2
|
||||
|
||||
.min_transmission_rpm = 0,
|
||||
.max_transmission_rpm = 2400,
|
||||
.max_transmission_rpm = 3600,
|
||||
};
|
||||
|
||||
#define MSG_SUBARU_Brake_Status 0x13c
|
||||
|
|
|
@ -129,7 +129,7 @@ class TestSubaruLongitudinalSafetyBase(TestSubaruSafetyBase, common.Longitudinal
|
|||
MAX_POSSIBLE_BRAKE = 2**16
|
||||
|
||||
MIN_RPM = 0
|
||||
MAX_RPM = 2400
|
||||
MAX_RPM = 3600
|
||||
MAX_POSSIBLE_RPM = 2**13
|
||||
|
||||
FWD_BLACKLISTED_ADDRS = {2: [SubaruMsg.ES_LKAS, SubaruMsg.ES_Brake, SubaruMsg.ES_Distance,
|
||||
|
|
Loading…
Reference in New Issue