mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 06:22:06 +08:00
set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai * update ref Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user