mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
Increase Subaru RPM limit (#1937)
* feat: increase Subaru RPM limit * test: Update tests for Subaru RPM increase
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user