Scripts/src/teventcamera.cpp
ThermalEventCamera::ThermalEventCamera()
{
	MLX90640_SetDeviceMode(MLX_I2C_ADDR, 0);
	MLX90640_SetSubPageRepeat(MLX_I2C_ADDR, 0);
	MLX90640_SetRefreshRate(MLX_I2C_ADDR, 0b110);
	this->fps = 32;
	MLX90640_SetChessMode(MLX_I2C_ADDR);
	MLX90640_DumpEE(MLX_I2C_ADDR, this->eeMLX90640);
        MLX90640_SetResolution(MLX_I2C_ADDR, 0x03);
	MLX90640_ExtractParameters(this->eeMLX90640, &this->mlx90640);
}
// basic constructor
// initialised to 32 fps
basic constructor
initialised to 32 fps
basic constructor initialised to 32 fps
ThermalEventCamera::ThermalEventCamera()
{
	MLX90640_SetDeviceMode(MLX_I2C_ADDR, 0);
	MLX90640_SetSubPageRepeat(MLX_I2C_ADDR, 0);
	MLX90640_SetRefreshRate(MLX_I2C_ADDR, 0b110);
	this->fps = 32;
	MLX90640_SetChessMode(MLX_I2C_ADDR);
	MLX90640_DumpEE(MLX_I2C_ADDR, this->eeMLX90640);
        MLX90640_SetResolution(MLX_I2C_ADDR, 0x03);
	MLX90640_ExtractParameters(this->eeMLX90640, &this->mlx90640);
}
ThermalEventCamera :: ThermalEventCamera ( ) { MLX90640_SetDeviceMode ( MLX_I2C_ADDR , 0 ) ; MLX90640_SetSubPageRepeat ( MLX_I2C_ADDR , 0 ) ; MLX90640_SetRefreshRate ( MLX_I2C_ADDR , 0b110 ) ; this -> fps = 32 ; MLX90640_SetChessMode ( MLX_I2C_ADDR ) ; MLX90640_DumpEE ( MLX_I2C_ADDR , this -> eeMLX90640 ) ; MLX90640_SetResolution ( MLX_I2C_ADDR , 0x03 ) ; MLX90640_ExtractParameters ( this -> eeMLX90640 , & this -> mlx90640 ) ; }
basic constructor
initialised to 32 fps
basic constructor initialised to 32 fps