Skip to content

Commit

Permalink
paramsd: use real logMonoTime (commaai#24279)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored and spektor56 committed May 7, 2022
1 parent ccebc75 commit 699f3b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion selfdrive/locationd/paramsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ def main(sm=None, pm=None):
angle_offset = clip(math.degrees(x[States.ANGLE_OFFSET] + x[States.ANGLE_OFFSET_FAST]), angle_offset - MAX_ANGLE_OFFSET_DELTA, angle_offset + MAX_ANGLE_OFFSET_DELTA)

msg = messaging.new_message('liveParameters')
msg.logMonoTime = sm.logMonoTime['carState']

liveParameters = msg.liveParameters
liveParameters.posenetValid = True
Expand Down

0 comments on commit 699f3b4

Please sign in to comment.