| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -114,11 +114,10 @@ class CarController: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        accel = clip(accel, CarControllerParams.ACCEL_MIN, CarControllerParams.ACCEL_MAX) | 
					 | 
					 | 
					 | 
					        accel = clip(accel, CarControllerParams.ACCEL_MIN, CarControllerParams.ACCEL_MAX) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        lead_visible = False | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        stopping = actuators.longControlState == LongCtrlState.stopping | 
					 | 
					 | 
					 | 
					        stopping = actuators.longControlState == LongCtrlState.stopping | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        set_speed_in_units = hud_control.setSpeed * (CV.MS_TO_MPH if CS.clu11["CF_Clu_SPEED_UNIT"] == 1 else CV.MS_TO_KPH) | 
					 | 
					 | 
					 | 
					        set_speed_in_units = hud_control.setSpeed * (CV.MS_TO_MPH if CS.clu11["CF_Clu_SPEED_UNIT"] == 1 else CV.MS_TO_KPH) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        can_sends.extend(hyundaican.create_acc_commands(self.packer, CC.enabled, accel, jerk, int(self.frame / 2), lead_visible, | 
					 | 
					 | 
					 | 
					        can_sends.extend(hyundaican.create_acc_commands(self.packer, CC.enabled, accel, jerk, int(self.frame / 2), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                             set_speed_in_units, stopping, CS.out.gasPressed)) | 
					 | 
					 | 
					 | 
					                                                        hud_control.leadVisible, set_speed_in_units, stopping, CS.out.gasPressed)) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        self.accel = accel | 
					 | 
					 | 
					 | 
					        self.accel = accel | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      # 20 Hz LFA MFA message | 
					 | 
					 | 
					 | 
					      # 20 Hz LFA MFA message | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |