MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
Functions
rss.h File Reference

Computes the root sum square of the input. More...

#include "processor_common.h"

Go to the source code of this file.

Functions

METAWEAR_API int32_t mbl_mw_dataprocessor_rss_create (MblMwDataSignal *source, void *context, MblMwFnDataProcessor processor_created)
 Create an rss processor. More...
 

Detailed Description

Computes the root sum square of the input.

Function Documentation

◆ mbl_mw_dataprocessor_rss_create()

METAWEAR_API int32_t mbl_mw_dataprocessor_rss_create ( MblMwDataSignal source,
void *  context,
MblMwFnDataProcessor  processor_created 
)

Create an rss processor.


Computes the root sum square of the input. Works on inputs such as acc, gyro, and magnetometer data (x,y,z) A pointer representing the processor will be passed back to the user via a callback function.

Parameters
sourceData signal providing the input for the processor
contextPointer to additional data for the callback function
processor_createdCallback function to be executed when the processor is created