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);
float zdotdot
z-acceleration in m/s^2 (NED, z-down)
float obs_height
estimate of height of obstacles under the vehicle
void vff_update_z_conf(float z_meas, float conf)
void vff_update_z(float z_meas)
float zdot
z-velocity estimate in m/s (NED, z-down)
float offset
baro offset estimate
float z_meas
last z measurement in m
float bias
accel bias estimate in m/s^2
void vff_update_vz_conf(float vz_meas, float conf)
float z_meas_baro
last z measurement from baro in m
void vff_update_baro(float z_meas)
void vff_realign(float z_meas)
void vff_propagate(float accel, float dt)
Propagate the filter in time.
void vff_update_baro_conf(float z_meas, float conf)
float P[VFF_STATE_SIZE][VFF_STATE_SIZE]
covariance matrix
void vff_update_agl(float z_meas, float conf)
void vff_init(float z, float zdot, float accel_bias, float baro_offset, float obstacle_hieght)
float z
z-position estimate in m (NED, z-down)