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 [] )