From 3b1ada64be4ebae85e72bcb298bc332f41afc495 Mon Sep 17 00:00:00 2001 From: discountchubbs Date: Thu, 23 Oct 2025 19:20:15 -0700 Subject: [PATCH] sync --- cereal/custom.capnp | 1 + sunnypilot/navd/navigationd.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cereal/custom.capnp b/cereal/custom.capnp index bc51c77b7a..5d18b77097 100644 --- a/cereal/custom.capnp +++ b/cereal/custom.capnp @@ -466,6 +466,7 @@ struct Navigationd @0xcb9fd56c7057593a { distance @0 :Float64; type @1 :Text; modifier @2 :Text; + instruction @3 :Text; } } diff --git a/sunnypilot/navd/navigationd.py b/sunnypilot/navd/navigationd.py index 2ce9775ad6..7c43c4912c 100755 --- a/sunnypilot/navd/navigationd.py +++ b/sunnypilot/navd/navigationd.py @@ -95,7 +95,8 @@ class Navigationd: msg.navigationd.valid = self.valid all_maneuvers = ( - [custom.Navigationd.Maneuver.new_message(distance=m['distance'], type=m['type'], modifier=m['modifier']) for m in progress['all_maneuvers']] + [custom.Navigationd.Maneuver.new_message(distance=m['distance'], type=m['type'], modifier=m['modifier'], + instruction=m['instruction']) for m in progress['all_maneuvers']] if progress else [] )