// Getter for the imu sample on the delayed time horizon
imuSampleget_imu_sample_delayed()
{
return_imu_sample_delayed;
}
// Getter for the baro sample on the delayed time horizon
baroSampleget_baro_sample_delayed()
{
return_baro_sample_delayed;
}
// Getter for a flag indicating if the ekf should update (completed downsampling process)
boolget_imu_updated()
{
return_imu_updated;
}
staticconstunsignedFILTER_UPDATE_PERIOD_MS=12;// ekf prediction period in milliseconds - this should ideally be an integer multiple of the IMU time delta
staticconstunsignedFILTER_UPDATE_PERIOD_MS=12;// ekf prediction period in milliseconds - this should ideally be an integer multiple of the IMU time delta
unsigned_min_obs_interval_us{0};// minimum time interval between observations that will guarantee data is not lost (usec)