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. 
				 
			 
			
		 
		
		
		
		
		
		
			You can not select more than 25 topics 
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 
		
		
		
	
	
		
		
			
	
	
		
			
				
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#!/bin/bash
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								set  -e
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								SETUP = "cd /tmp/openpilot && " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								RUN = "docker run --shm-size 1G --rm tmppilot /bin/sh -c" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								docker build -t tmppilot -f Dockerfile.openpilot .
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  cd /tmp/openpilot/selfdrive/test/ && ./test_fingerprints.py " 
							 
						 
					
						
							
								
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  ./flake8_openpilot.sh " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  ./pylint_openpilot.sh " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover common " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover opendbc/can " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/boardd " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/controls " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/loggerd " 
							 
						 
					
						
							
								
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/car " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/locationd " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  python -m unittest discover selfdrive/athena " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  cd /tmp/openpilot/selfdrive/test/longitudinal_maneuvers && OPTEST=1 ./test_longitudinal.py " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  cd /tmp/openpilot/selfdrive/test/process_replay/ && ./test_processes.py " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								$RUN  " $SETUP  mkdir -p /data/params && cd /tmp/openpilot/selfdrive/test/ && ./test_car_models.py "