struct estimator::filter_control_status_u::@60 flags
float _dt_update
delta time since last ekf update. This time can be used for filters which run at the same rate as the...
float range_cos_max_tilt
cosine of the maximum tilt angle from the vertical that permits use of range finder and flow data ...
int32_t range_signal_hysteresis_ms
minimum duration during which the reported range finder signal quality needs to be non-zero in order ...
void updateRangeDataContinuity()
uint64_t _time_bad_rng_signal_quality
timestamp at which range finder signal quality was 0 (used for hysteresis)
float _rng_stuck_max_val
maximum value for new rng measurement when being stuck
float _rng_valid_min_val
minimum distance that the rangefinder can measure (m)
rangeSample _range_sample_delayed
float range_stuck_threshold
minimum variation in range finder reading required to declare a range finder 'unstuck' when readings ...
uint64_t _time_last_rng_ready
time the last range finder measurement was ready (uSec)
float rng
range (distance to ground) measurement (m)
float _rng_stuck_min_val
minimum value for new rng measurement when being stuck
int8_t quality
Signal quality in percent (0...100%), where 0 = invalid signal, 100 = perfect signal, and -1 = unknown signal quality.
#define RNG_MAX_INTERVAL
Maximum allowable time interval between range finder measurements (uSec)
uint64_t time_us
timestamp of the measurement (uSec)
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
float rng_gnd_clearance
minimum valid value for range when on ground (m)
filter_control_status_u _control_status
float _rng_valid_max_val
maximum distance that the rangefinder can measure (m)
imuSample _imu_sample_delayed
bool _rng_hgt_valid
true if range finder sample retrieved from buffer is valid
float _R_rng_to_earth_2_2
2,2 element of the rotation matrix from sensor frame to earth frame
uint32_t in_air
7 - true when the vehicle is airborne
float _dt_last_range_update_filt_us
filtered value of the delta time elapsed since the last range measurement came into the filter (uSec)...
bool isRangeDataContinuous()
uint32_t rng_stuck
21 - true when rng data wasn't ready for more than 10s and new rng values haven't changed enough ...
void updateRangeDataStuck()
void updateRangeDataValidity()
Class for core functions for ekf attitude and position estimator.
uint64_t time_us
timestamp of the measurement (uSec)
bool _range_data_ready
true when new range finder data has fallen behind the fusion time horizon and is available to be fuse...