  
  
  @dispatcher.add_method
  def setNavDestination(latitude=0, longitude=0):
    destination = {
      "latitude": latitude,
      "longitude": longitude,
 
</s> remove with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "common", "version.h")) as _versionf:
  version = _versionf.read().split('"')[1]
 </s> add def get_version():
  with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "common", "version.h")) as _versionf:
    version = _versionf.read().split('"')[1]
  return version </s> remove from selfdrive.version import dirty, origin, branch, commit
 </s> add from selfdrive.version import dirty, origin, branch, commit, get_version, get_git_remote, get_git_branch, get_git_commit
@dispatcher.add_method
def getVersion():
  return {
    "version": get_version(),
    "remote": get_git_remote(),
    "branch": get_git_branch(),
    "commit": get_git_commit(),
  }


  
  
@dispatcher.add_method
def getVersion():
  return {
    "version": get_version(),
    "remote": get_git_remote(),
    "branch": get_git_branch(),
    "commit": get_git_commit(),
  }


  @dispatcher.add_method
  def setNavDestination(latitude=0, longitude=0):
    destination = {
      "latitude": latitude,
      "longitude": longitude,
keep add keep keep keep keep keep
 athena: version endpoint (#21045)

* athena: version endpoint

* get_version function

* more explicit version validation 
selfdrive/athena/athenad.py