|  |  | @ -37,7 +37,7 @@ class CarController(): | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     self.packer = CANPacker(dbc_name) |  |  |  |     self.packer = CANPacker(dbc_name) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   def update(self, enabled, CS, frame, actuators, pcm_cancel_cmd, hud_alert, |  |  |  |   def update(self, enabled, active, CS, frame, actuators, pcm_cancel_cmd, hud_alert, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |              left_line, right_line, lead, left_lane_depart, right_lane_depart): |  |  |  |              left_line, right_line, lead, left_lane_depart, right_lane_depart): | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     # *** compute control surfaces *** |  |  |  |     # *** compute control surfaces *** | 
			
		
	
	
		
		
			
				
					|  |  | @ -53,7 +53,7 @@ class CarController(): | 
			
		
	
		
		
			
				
					
					|  |  |  |       elif CS.out.vEgo > MIN_ACC_SPEED + PEDAL_HYST_GAP: |  |  |  |       elif CS.out.vEgo > MIN_ACC_SPEED + PEDAL_HYST_GAP: | 
			
		
	
		
		
			
				
					
					|  |  |  |         self.use_interceptor = False |  |  |  |         self.use_interceptor = False | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if self.use_interceptor and enabled: |  |  |  |       if self.use_interceptor and active: | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         # only send negative accel when using interceptor. gas handles acceleration |  |  |  |         # only send negative accel when using interceptor. gas handles acceleration | 
			
		
	
		
		
			
				
					
					|  |  |  |         # +0.18 m/s^2 offset to reduce ABS pump usage when OP is engaged |  |  |  |         # +0.18 m/s^2 offset to reduce ABS pump usage when OP is engaged | 
			
		
	
		
		
			
				
					
					|  |  |  |         MAX_INTERCEPTOR_GAS = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED], [0.2, 0.5]) |  |  |  |         MAX_INTERCEPTOR_GAS = interp(CS.out.vEgo, [0.0, MIN_ACC_SPEED], [0.2, 0.5]) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |