Add nudge notif to event builder

This commit is contained in:
discountchubbs
2025-10-28 06:46:39 -07:00
parent 7446c43f69
commit 3681caa717
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ def _build_banner_message(nav_msg):
def _get_turning_message(upcoming_turn):
turn_messages = {
'left': 'Turning Left',
'right': 'Turning Right',
'left': 'Turning Left. Make sure to nudge the wheel!',
'right': 'Turning Right. Make sure to nudge the wheel!',
'slightLeft': 'Keeping Left',
'slightRight': 'Keeping Right',
'sharpLeft': 'Sharp Left Turn',
+1 -1
View File
@@ -45,7 +45,7 @@ class TestEventBuilder:
events = build_navigation_events(MockSM(nav_msg))
expected = [{
'name': custom.OnroadEventSP.EventName.navigationBanner,
'message': 'Turning Left',
'message': 'Turning Left. Make sure to nudge the wheel!',
}]
assert events == expected