This commit is contained in:
discountchubbs
2025-10-23 19:20:15 -07:00
parent 6a08186434
commit 3b1ada64be
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -466,6 +466,7 @@ struct Navigationd @0xcb9fd56c7057593a {
distance @0 :Float64;
type @1 :Text;
modifier @2 :Text;
instruction @3 :Text;
}
}
+2 -1
View File
@@ -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 []
)