|  |  | @ -73,7 +73,7 @@ class SelfdriveD: | 
			
		
	
		
		
			
				
					
					|  |  |  |                                    'controlsState', 'carControl', 'driverAssistance'] + \ |  |  |  |                                    'controlsState', 'carControl', 'driverAssistance'] + \ | 
			
		
	
		
		
			
				
					
					|  |  |  |                                    self.camera_packets + self.sensor_packets + self.gps_packets, |  |  |  |                                    self.camera_packets + self.sensor_packets + self.gps_packets, | 
			
		
	
		
		
			
				
					
					|  |  |  |                                   ignore_alive=ignore, ignore_avg_freq=ignore+['radarState',], |  |  |  |                                   ignore_alive=ignore, ignore_avg_freq=ignore+['radarState',], | 
			
		
	
		
		
			
				
					
					|  |  |  |                                   frequency=int(1/DT_CTRL)) |  |  |  |                                   ignore_valid=ignore, frequency=int(1/DT_CTRL)) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     # read params |  |  |  |     # read params | 
			
		
	
		
		
			
				
					
					|  |  |  |     self.is_metric = self.params.get_bool("IsMetric") |  |  |  |     self.is_metric = self.params.get_bool("IsMetric") | 
			
		
	
	
		
		
			
				
					|  |  | @ -365,8 +365,10 @@ class SelfdriveD: | 
			
		
	
		
		
			
				
					
					|  |  |  |         available_streams = VisionIpcClient.available_streams("camerad", block=False) |  |  |  |         available_streams = VisionIpcClient.available_streams("camerad", block=False) | 
			
		
	
		
		
			
				
					
					|  |  |  |         if VisionStreamType.VISION_STREAM_ROAD not in available_streams: |  |  |  |         if VisionStreamType.VISION_STREAM_ROAD not in available_streams: | 
			
		
	
		
		
			
				
					
					|  |  |  |           self.sm.ignore_alive.append('roadCameraState') |  |  |  |           self.sm.ignore_alive.append('roadCameraState') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           self.sm.ignore_valid.append('roadCameraState') | 
			
		
	
		
		
			
				
					
					|  |  |  |         if VisionStreamType.VISION_STREAM_WIDE_ROAD not in available_streams: |  |  |  |         if VisionStreamType.VISION_STREAM_WIDE_ROAD not in available_streams: | 
			
		
	
		
		
			
				
					
					|  |  |  |           self.sm.ignore_alive.append('wideRoadCameraState') |  |  |  |           self.sm.ignore_alive.append('wideRoadCameraState') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           self.sm.ignore_valid.append('wideRoadCameraState') | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if REPLAY and any(ps.controlsAllowed for ps in self.sm['pandaStates']): |  |  |  |         if REPLAY and any(ps.controlsAllowed for ps in self.sm['pandaStates']): | 
			
		
	
		
		
			
				
					
					|  |  |  |           self.state_machine.state = State.enabled |  |  |  |           self.state_machine.state = State.enabled | 
			
		
	
	
		
		
			
				
					|  |  | 
 |