mirror of https://github.com/commaai/openpilot.git
set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai
* update ref
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 9cd7a7c14b
This commit is contained in:
parent
d47396f4da
commit
494353099b
|
@ -204,6 +204,7 @@ class CarInterface(CarInterfaceBase):
|
|||
|
||||
ret = self.CS.update(self.cp, self.cp_cam)
|
||||
ret.canValid = self.cp.can_valid and self.cp_cam.can_valid
|
||||
ret.steeringRateLimited = self.CC.steer_rate_limited if self.CC is not None else False
|
||||
|
||||
events = self.create_common_events(ret)
|
||||
# TODO: addd abs(self.CS.angle_steers) > 90 to 'steerTempUnavailable' event
|
||||
|
|
|
@ -1 +1 @@
|
|||
643db5a2a2555f9b9be755362b04fc346a1222de
|
||||
2c61a18410dca75500a87a733aa5c3cc50d21fcc
|
Loading…
Reference in New Issue