|  |  | @ -101,6 +101,10 @@ class CarController(): | 
			
		
	
		
		
			
				
					
					|  |  |  |       # send pcm acc cancel cmd if drive is disabled but pcm is still on, or if the system can't be activated |  |  |  |       # send pcm acc cancel cmd if drive is disabled but pcm is still on, or if the system can't be activated | 
			
		
	
		
		
			
				
					
					|  |  |  |       pcm_cancel_cmd = True |  |  |  |       pcm_cancel_cmd = True | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     # Never send cancel command if we never enter cruise state (pedal) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     # Cancel cmd causes brakes to release at a standstill | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     pcm_cancel_cmd &= CS.CP.enableCruise | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     # *** rate limit after the enable check *** |  |  |  |     # *** rate limit after the enable check *** | 
			
		
	
		
		
			
				
					
					|  |  |  |     self.brake_last = rate_limit(brake, self.brake_last, -2., DT_CTRL) |  |  |  |     self.brake_last = rate_limit(brake, self.brake_last, -2., DT_CTRL) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |