/*
 * agc_mprf_att_prediction.h
 *
 */

#ifndef AGC_MPRF_ATT_PREDICTION_H_
#define AGC_MPRF_ATT_PREDICTION_H_


struct agc_att_prediction_state_t
{
	float ATT_PROX;

	float ATT_PRED;

	float ATT_EST_k_1;
	float ATT_EST_DOT_k_1;

	float ATT_EST_k;
	float ATT_EST_DOT_k;

	float DELTA_ATT;
	float ATT_PRED_k;

	float DELTA_T;

	float ALPHA;
	float BETA;
};

void AGC_att_prediction_initialize(agc_att_prediction_state_t& state, float att_est, float att_est_dot, float alpha, float beta);

float AGC_att_prediction(float att_k, float dt, agc_att_prediction_state_t& state);



#endif /* AGC_MPRF_ATT_PREDICTION_H_ */
