MetaWear C++ API
0.20.0
C++ implementation of the MetaWear protocol
|
Combine data from multiple data sources into 1 data packet. More...
#include "processor_common.h"
Go to the source code of this file.
Functions | |
METAWEAR_API int32_t | mbl_mw_dataprocessor_fuser_create (MblMwDataSignal *source, MblMwDataSignal **ops, uint32_t n_ops, void *context, MblMwFnDataProcessor processor_created) |
Create a fuser processor which fuses signals or processors together. More... | |
Combine data from multiple data sources into 1 data packet.
METAWEAR_API int32_t mbl_mw_dataprocessor_fuser_create | ( | MblMwDataSignal * | source, |
MblMwDataSignal ** | ops, | ||
uint32_t | n_ops, | ||
void * | context, | ||
MblMwFnDataProcessor | processor_created | ||
) |
Create a fuser processor which fuses signals or processors together.
Combine data from multiple data sources into 1 data packet. Popular for combining gyro and acc data into 1 packet. A pointer representing the processor will be passed back to the user via a callback function.
source | Data signal providing the input for the processor |
ops | Array of data signals to combine into 1 message |
n_ops | Number of items in the array |
context | Pointer to additional data for the callback function |
processor_created | Callback function to be executed when the processor is created |