.common = \
{ \
.algorithm_id = 0x15F20001, \
.logging = \
{ \
.loggers = loggers_, \
.tdf_mask = tdfs, \
}, \
}, \
.iir_filter_alpha = filter_alpha, \
.one_g_percent = one_g_valid_percent, \
}; \
.config = &name##_config.
common, \
.runtime_state = &name##_data, \
}
@ INFUSE_ZBUS_CHAN_IMU
Data type: imu_sample_array.
Definition channels.h:52
void algorithm_tilt_fn(const struct zbus_channel *chan, const void *config, void *data)
Algorithm implementation, see algorithm_run_fn.
struct algorithm_runner_common_config common
Common algorithm configuration.
Definition tilt.h:41
Statically define an instance of the tilt algorithm.