mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-11-04 06:04:15 +08:00
YOUR DESTINATION IS ON THE RIGHT
This commit is contained in:
@@ -132,4 +132,6 @@ class NavigationInstructions:
|
||||
def arrived_at_destination(self, progress) -> bool:
|
||||
if progress['all_maneuvers'][0]['type'] == 'arrive':
|
||||
return True
|
||||
elif progress['all_maneuvers'][0]['instruction'].startswith('Your destination'):
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user