|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
#include <stdint.h>#include <zephyr/toolchain.h>#include <infuse/algorithm_runner/runner.h>#include <infuse/math/statistics.h>#include <infuse/math/filter.h>#include <infuse/fs/kv_types.h>#include <infuse/zbus/channels.h>Go to the source code of this file.
Data Structures | |
| struct | algorithm_tilt_config |
| struct | algorithm_tilt_data |
Macros | |
| #define | ALGORITHM_TILT_DEFINE(name, loggers_, tdfs, filter_alpha, one_g_valid_percent) |
| Statically define an instance of the tilt algorithm. | |
Enumerations | |
| enum | { ALGORITHM_TILT_LOG_ANGLE = BIT(0) } |
Functions | |
| void | algorithm_tilt_fn (const struct zbus_channel *chan, const void *config, void *data) |
| Algorithm implementation, see algorithm_run_fn. | |
SPDX-License-Identifier: FSL-1.1-ALv2
Algorithm that calculates the tilt of a device relative to a reference gravity vector.