nav: athena destination with name and details (#23155)

pull/23168/head
Joost Wooning 4 years ago committed by GitHub
parent bb7208f4c3
commit 4a73445ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/athena/athenad.py

@ -183,10 +183,12 @@ def getVersion():
@dispatcher.add_method
def setNavDestination(latitude=0, longitude=0):
def setNavDestination(latitude=0, longitude=0, place_name=None, place_details=None):
destination = {
"latitude": latitude,
"longitude": longitude,
"place_name": place_name,
"place_details": place_details,
}
Params().put("NavDestination", json.dumps(destination))

Loading…
Cancel
Save