.algorithm_id = 0x15F20000, \
}; \
.logging = \
{ \
.loggers = loggers_, \
.tdf_mask = tdfs, \
}, \
.args = \
{ \
.window_seconds = window_seconds_, \
.std_dev_threshold_ug = threshold_ug, \
}, \
}; \
static struct algorithm_stationary_windowed_data name##_data; \
static struct algorithm_runner_algorithm name = { \
.config = &name##_config, \
.arguments = &name##_default_args, \
.runtime_state = &name##_data, \
}
@ KV_KEY_ALG_STATIONARY_WINDOWED_ARGS
Configuration for the 'Stationary Windowed' algorithm.
Definition kv_types.h:638
@ INFUSE_ZBUS_CHAN_IMU_ACC_MAG
Data type: imu_magnitude_array.
Definition channels.h:55
void algorithm_stationary_windowed_fn(const struct zbus_channel *chan, const struct algorithm_runner_common_config *common, const void *args, void *data)
Algorithm implementation, see algorithm_run_fn.
Definition stationary_windowed.h:37
Configuration for the 'Stationary Windowed' algorithm.
Definition kv_types.h:474
Statically define an instance of the stationary windows algorithm.