Files
dragonpilot/selfdrive/pandad.py
Vehicle Researcher 0ac89e92ae openpilot v0.5 release
2018-07-12 18:52:06 -07:00

15 lines
269 B
Python

#!/usr/bin/env python
# simple boardd wrapper that updates the panda first
import os
from panda import ensure_st_up_to_date
def main(gctx=None):
ensure_st_up_to_date()
os.chdir("boardd")
os.execvp("./boardd", ["./boardd"])
if __name__ == "__main__":
main()