Skip to content

Commit

Permalink
Revert "paramsd: use real logMonoTime (commaai#24279)"
Browse files Browse the repository at this point in the history
This reverts commit 4c90208.
  • Loading branch information
Nicholas Toeniskoetter committed May 31, 2022
1 parent 0997bc8 commit 57c9a62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/locationd/paramsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ 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 57c9a62

Please sign in to comment.