Merge branch 'master-priv' into SP-168-chevron-time-to-lead

This commit is contained in:
Jason Wen
2024-07-08 10:20:03 -04:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ class CarState(CarStateBase):
ret.brakePressed = (cp.vl["POWERTRAIN_DATA"]["BRAKE_PRESSED"] != 0) or self.brake_switch_active
ret.brake = cp.vl["VSA_STATUS"]["USER_BRAKE"]
ret.cruiseState.enabled = self.pcm_cruise_enabled = cp.vl["POWERTRAIN_DATA"]["ACC_STATUS"] != 0
ret.cruiseState.enabled = cp.vl["POWERTRAIN_DATA"]["ACC_STATUS"] != 0
ret.cruiseState.available = bool(cp.vl[self.main_on_sig_msg]["MAIN_ON"])
# Gets rid of Pedal Grinding noise when brake is pressed at slow speeds for some models
+1 -1
View File
@@ -298,7 +298,7 @@ class CarInterface(CarInterfaceBase):
if self.CP.pcmCruise and self.CP.minEnableSpeed > 0 and self.CP.pcmCruiseSpeed:
if ret.gasPressed and not ret.cruiseState.enabled:
self.CS.accEnabled = False
self.CS.accEnabled = self.CS.pcm_cruise_enabled
self.CS.accEnabled = ret.cruiseState.enabled or self.CS.accEnabled
ret, self.CS = self.get_sp_common_state(ret, self.CS,
min_enable_speed_pcm=(self.CP.pcmCruise and self.CP.minEnableSpeed > 0 and self.CP.pcmCruiseSpeed),
-1
View File
@@ -778,7 +778,6 @@ class CarStateBase(ABC):
self.mads_enabled = False
self.prev_mads_enabled = False
self.control_initialized = False
self.pcm_cruise_enabled = False
Q = [[0.0, 0.0], [0.0, 100.0]]
R = 0.3
+2 -1
View File
@@ -55,7 +55,8 @@ function install_ubuntu_common_requirements() {
portaudio19-dev \
qml-module-qtquick2 \
qtmultimedia5-dev \
qtdeclarative5-dev \
qtlocation5-dev \
qtpositioning5-dev \
qttools5-dev-tools \
libqt5svg5-dev \
libqt5serialbus5-dev \