openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
 
 
 
 
 
 

8 lines
146 B

#!/usr/bin/env python
import sys
from tools.zookeeper import Zookeeper
z = Zookeeper()
z.set_device_ignition(1 if int(sys.argv[1]) > 0 else 0)