mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort * Update ref_commit old-commit-hash: e1001a3036fb93d6d0340d139d4ae2a1f2419d52
This commit is contained in:
@@ -54,6 +54,7 @@ class CarState(CarStateBase):
|
||||
)
|
||||
ret.vEgoRaw = mean([ret.wheelSpeeds.fl, ret.wheelSpeeds.fr, ret.wheelSpeeds.rl, ret.wheelSpeeds.rr])
|
||||
ret.vEgo, ret.aEgo = self.update_speed_kf(ret.vEgoRaw)
|
||||
ret.vEgoCluster = ret.vEgo * 1.015 # minimum of all the cars
|
||||
|
||||
ret.standstill = ret.vEgoRaw == 0
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
372a67c524342bbf15e22f0caea08d2038973281
|
||||
a36f7e2fd922fcadca6f8a3d777f4db787cba016
|
||||
|
||||
Reference in New Issue
Block a user