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

old-commit-hash: 4a73445ee5
commatwo_master
Joost Wooning 4 years ago committed by GitHub
parent c9ef5b176e
commit 969e181cff
  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