Skip to content

Commit

Permalink
cleanup touch_replay (commaai#34305)
Browse files Browse the repository at this point in the history
mathematics
  • Loading branch information
maxime-desroches authored Dec 23, 2024
1 parent e98741f commit 14123e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/debug/touch_replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
elif event.type == 3 and event.code == 57 and event.value == -1:
fingers[current_slot] = [-1, -1]
elif event.type == 3 and event.code == 53:
fingers[current_slot][1] = h - (h - event.value)
fingers[current_slot][1] = event.value
if fingers[current_slot][0] != -1:
touch_points.append(fingers[current_slot].copy())
elif event.type == 3 and event.code == 54:
Expand Down

0 comments on commit 14123e9

Please sign in to comment.