open source driving agent
				
			 
			
		 
		
		
		
		
		
		
			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.
		
		
		
		
		
			
	
	
		
	
		
			
				
				
					
						
						
						
							|  | #!/usr/bin/env python3
 | 
						
						
						
							|  | import numpy as np
 | 
						
						
						
							|  | from system.hardware.tici.power_monitor import sample_power
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | if __name__ == '__main__':
 | 
						
						
						
							|  |   print("measuring for 5 seconds")
 | 
						
						
						
							|  |   for _ in range(3):
 | 
						
						
						
							|  |     pwrs = sample_power()
 | 
						
						
						
							|  |     print("mean %.2f std %.2f" % (np.mean(pwrs), np.std(pwrs)))
 | 
						
						
						
							|  | 
 |