01de4ce2cf 
					 
					
						
						
							
							first soap ideals  
						
						 
						
						
						
						
					 
					
						2023-06-29 23:57:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						75b9136a1d 
					 
					
						
						
							
							fixed soe function declaration  
						
						 
						
						
						
						
					 
					
						2023-06-29 23:45:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						484de3f7d9 
					 
					
						
						
							
							Added State of Energy LUT  
						
						 
						
						
						
						
					 
					
						2023-06-29 23:35:08 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6c0bbb83f6 
					 
					
						
						
							
							My own algo Branch with Blackjack and Hookers  
						
						 
						
						
						
						
					 
					
						2023-06-29 23:17:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c4543e7e01 
					 
					
						
						
							
							Implementation of SoC Prediction  
						
						 
						
						... 
						
						
						
						untested. Maybe revert to Jaspers Version 
						
						
					 
					
						2023-06-21 13:13:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						78fe61e231 
					 
					
						
						
							
							Discharge if SDC is open and TS_Activate is sent  
						
						 
						
						... 
						
						
						
						If we never leave TS_INACTIVE, the ABX keeps sending TS_Activate, and we
activate the TS as soon as the SDC is closed. 
						
						
					 
					
						2023-06-13 20:49:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6d6c1c1f15 
					 
					
						
						
							
							Only leave TS_INACTIVE if SDC is closed  
						
						 
						
						
						
						
					 
					
						2023-06-05 18:45:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf018f9e4a 
					 
					
						
						
							
							Full battery  
						
						 
						
						
						
						
					 
					
						2023-06-05 18:17:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25d6ab2667 
					 
					
						
						
							
							Shunt timeout  
						
						 
						
						
						
						
					 
					
						2023-05-31 00:46:49 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf11004c64 
					 
					
						
						
							
							Receive individual slave status messages  
						
						 
						
						
						
						
					 
					
						2023-05-14 19:52:24 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c54f3a65e3 
					 
					
						
						
							
							Fix slave error source  
						
						 
						
						
						
						
					 
					
						2023-05-03 17:13:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ce4d7253eb 
					 
					
						
						
							
							Send AMS error messages  
						
						 
						
						
						
						
					 
					
						2023-04-30 00:57:42 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48ae56fbdf 
					 
					
						
						
							
							Set AMS Error pin  
						
						 
						
						
						
						
					 
					
						2023-04-30 00:04:00 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6810790349 
					 
					
						
						
							
							Don't wait after reaching 95%  
						
						 
						
						
						
						
					 
					
						2023-04-29 23:45:59 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c43b6a3b6e 
					 
					
						
						
							
							Broadcast SDC state  
						
						 
						
						
						
						
					 
					
						2023-04-29 23:44:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						29b411e4af 
					 
					
						
						
							
							Make SDC state globally available  
						
						 
						
						
						
						
					 
					
						2023-04-26 13:18:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6c27b83377 
					 
					
						
						
							
							Motors turning  
						
						 
						
						
						
						
					 
					
						2023-04-24 19:20:21 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f5e26aad24 
					 
					
						
						
							
							Run main loop every 50ms  
						
						 
						
						
						
						
					 
					
						2023-04-15 22:47:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f09665ad28 
					 
					
						
						
							
							Decouple slave IDs from slaves array indices  
						
						 
						
						
						
						
					 
					
						2023-04-15 22:23:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e86a0f90fb 
					 
					
						
						
							
							Open AIRs in error handlers  
						
						 
						
						
						
						
					 
					
						2023-04-15 22:13:33 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ca6bdec839 
					 
					
						
						
							
							Handle slave status frames  
						
						 
						
						
						
						
					 
					
						2023-04-15 22:01:22 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						66d9baba7a 
					 
					
						
						
							
							Go into discharge for 5s  
						
						 
						
						... 
						
						
						
						The discharge circuit is only active while the SDC is open. If the SDC
never opens (or opens for a very short time only), but we go to
TS_INACTIVE, then the discharge circuit will never be active. Going into
a discharge state for 5s allows the PDU to open the SDC for long enough
to reach <60V. 
						
						
					 
					
						2023-04-15 16:58:40 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0b2010797e 
					 
					
						
						
							
							AMS_ERROR pin is actually inverted  
						
						 
						
						
						
						
					 
					
						2023-04-04 14:51:55 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1e87137cc4 
					 
					
						
						
							
							Update can-halal  
						
						 
						
						
						
						
					 
					
						2023-04-02 01:06:28 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f8b74a0aa3 
					 
					
						
						
							
							Send min voltage & max temp as 16 bit ints  
						
						 
						
						
						
						
					 
					
						2023-03-18 23:01:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3ac8e0e746 
					 
					
						
						
							
							FT_CAN_AL -> can-halal  
						
						 
						
						
						
						
					 
					
						2023-03-18 20:24:07 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c5bc3678a 
					 
					
						
						
							
							Temperature is 12-bit  
						
						 
						
						
						
						
					 
					
						2023-03-18 18:46:02 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e18135558d 
					 
					
						
						
							
							Use FaSTTUBe CAN Abstraction Layer  
						
						 
						
						
						
						
					 
					
						2023-03-15 18:07:38 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9355595b73 
					 
					
						
						
							
							Reset timestamps when leaving their state  
						
						 
						
						
						
						
					 
					
						2023-03-12 23:01:13 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						838c6195bb 
					 
					
						
						
							
							Configure PROFET  
						
						 
						
						
						
						
					 
					
						2023-03-12 21:15:32 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ea4c10a093 
					 
					
						
						
							
							Remove unused variable  
						
						 
						
						
						
						
					 
					
						2023-03-12 21:10:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4f43895235 
					 
					
						
						
							
							Port FT22 code  
						
						 
						
						
						
						
					 
					
						2023-03-12 21:06:23 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b453286f08 
					 
					
						
						
							
							Initial commit  
						
						 
						
						
						
						
					 
					
						2023-03-12 18:32:12 +01:00