Merge branch 'devel-en' into devel-zht

This commit is contained in:
dragonpilot
2019-09-13 16:34:33 +10:00
7 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ def controlsd_thread(sm=None, pm=None, can_sock=None):
while True:
# dragonpilot, don't check for param too often as it's a kernel call
ts = sec_since_boot()
if ts - ts_last_check > 3.:
if ts - ts_last_check > 5.:
dragon_toyota_stock_dsu = False if params.get("DragonToyotaStockDSU") == "0" else True
dragon_lat_control = False if params.get("DragonLatCtrl") == "0" else True
dragon_display_steering_limit_alert = False if params.get("DragonDisplaySteeringLimitAlert") == "0" else True
+1 -1
View File
@@ -69,7 +69,7 @@ class LanePlanner(object):
def update_lane(self, v_ego):
ts = sec_since_boot()
if ts - self.ts_last_check > 3.:
if ts - self.ts_last_check > 5.:
self.camera_offset = int(params.get("DragonCameraOffset")) * 0.01
self.ts_last_check = ts
# only offset left and right lane lines; offsetting p_poly does not make sense