30 #ifndef VF_EXTENDED_FLOAT_H
31 #define VF_EXTENDED_FLOAT_H
33 #define VFF_STATE_SIZE 4
57 extern void vff_init(
float z,
float zdot,
float accel_bias,
float baro_offset);
float P[VFF_STATE_SIZE][VFF_STATE_SIZE]
covariance matrix
void vff_realign(float z_meas)
void vff_update_offset(float offset)
float bias
accel bias estimate in m/s^2
void vff_init(float z, float zdot, float accel_bias, float baro_offset)
float z
z-position estimate in m (NED, z-down)
void vff_propagate(float accel, float dt)
Propagate the filter in time.
static const float offset[]
float offset
baro offset estimate
float zdotdot
z-acceleration in m/s^2 (NED, z-down)
void vff_update_baro(float z_meas)
float z_meas
last z measurement in m
float zdot
z-velocity estimate in m/s (NED, z-down)
void vff_update_baro_conf(float z_meas, float conf)
void vff_update_z_conf(float z_meas, float conf)
float z_meas_baro
last z measurement from baro in m
void vff_update_z(float z_meas)
void vff_update_vz_conf(float vz_meas, float conf)