30 #ifndef VF_EXTENDED_FLOAT_H
31 #define VF_EXTENDED_FLOAT_H
33 #define VFF_STATE_SIZE 5
58 extern void vff_init(
float z,
float zdot,
float accel_bias,
float baro_offset,
float obstacle_hieght);
void vff_update_agl(float z_meas, float conf)
float P[VFF_STATE_SIZE][VFF_STATE_SIZE]
covariance matrix
void vff_realign(float z_meas)
float bias
accel bias estimate in m/s^2
float z
z-position estimate in m (NED, z-down)
void vff_propagate(float accel, float dt)
Propagate the filter in time.
float offset
baro offset estimate
float zdotdot
z-acceleration in m/s^2 (NED, z-down)
void vff_update_baro(float z_meas)
void vff_init(float z, float zdot, float accel_bias, float baro_offset, float obstacle_hieght)
float obs_height
estimate of height of obstacles under the vehicle
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)