Changed scaling factor for coulomb counter. Seems to work now
This commit is contained in:
		@ -159,7 +159,7 @@ class BMSEvalBoard(BMS):
 | 
			
		||||
            dec = BinaryPayloadDecoder.fromRegisters(result.registers, Endian.Big)
 | 
			
		||||
            self._data.current = dec.decode_32bit_int() * CURRENT_QUANT
 | 
			
		||||
            self._data.current_integrated = (
 | 
			
		||||
                dec.decode_64bit_int() * CURRENT_QUANT * 0.05 / 3600
 | 
			
		||||
                dec.decode_64bit_int() * CURRENT_QUANT / (3600*1000)
 | 
			
		||||
            )
 | 
			
		||||
            self.dataUpdated.emit(self._data)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user