mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-08 09:13:42 +08:00
Update paramsd.py
This commit is contained in:
@@ -290,6 +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 % 20 == 0: # once a minute
|
||||
params.put_float("AngleOffsetDegree", msg.liveParameters.angleOffsetDeg)
|
||||
|
||||
pm.send('liveParameters', msg_dat)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user