.algorithm_id = 0x15F20001, \
}; \
.logging = \
{ \
.loggers = loggers_, \
.tdf_mask = tdfs, \
}, \
.args = \
{ \
.iir_filter_alpha = filter_alpha, \
.one_g_percent = one_g_valid_percent, \
}, \
}; \
static struct algorithm_tilt_data name##_data; \
static struct algorithm_runner_algorithm name = { \
.config = &name##_config, \
.arguments = &name##_default_args, \
.runtime_state = &name##_data, \
}
@ KV_KEY_ALG_TILT_ARGS
Configuration for the 'Tilt' algorithm.
Definition kv_types.h:640
@ INFUSE_ZBUS_CHAN_IMU
Data type: imu_sample_array.
Definition channels.h:53
void algorithm_tilt_fn(const struct zbus_channel *chan, const struct algorithm_runner_common_config *common, const void *args, void *data)
Algorithm implementation, see algorithm_run_fn.
Configuration for the 'Tilt' algorithm.
Definition kv_types.h:482
Statically define an instance of the tilt algorithm.