mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-03 23:03:41 +08:00
Update paramsd.py
This commit is contained in:
@@ -290,8 +290,8 @@ def main():
|
||||
msg_dat = msg.to_bytes()
|
||||
if sm.frame % 1200 == 0: # once a minute
|
||||
params.put_nonblocking("LiveParametersV2", msg_dat)
|
||||
if sm.frame % 50 == 0: # once a minute
|
||||
params.put_float("AngleOffsetDegree", msg.liveParameters.angleOffsetDeg)
|
||||
if sm.frame % 50 == 0:
|
||||
params.put_nonblocking("AngleOffsetDegree", str(msg.liveParameters.angleOffsetDeg))
|
||||
|
||||
pm.send('liveParameters', msg_dat)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user