load_collar_accl_data.cpp File Reference

Load acclerometer data into tib/femur structure. More...

#include "lowerleg_func.h"
#include "postprocess.h"
Include dependency graph for load_collar_accl_data.cpp:
This graph shows which files directly or indirectly include this file:

Functions

int load_collar_accl_data (char *filename, tibia &tib, femur &fem)
 Load Accelerometer data for all Accelerometers on leg into tibia structure.

Detailed Description

Load acclerometer data into tib/femur structure.


Function Documentation

int load_collar_accl_data ( char *  filename,
tibia tib,
femur fem 
)

Load Accelerometer data for all Accelerometers on leg into tibia structure.

The load_accls_data functions pulls in motion data for each acclerometers into a 2d vector (each). This function further processes the data and assigns it to correct child structure (accelerometers) of the tibia structure. This is done by comparing the sensor id of the accelerometer stored in input vector with the of the in tib.accelerometers[i].label_id

Ensure that load_accl_data function has run before!

References tibia::accelerometers, tibia::accl_count, filter_accl(), sensor::label_id, load_accl_data(), and sensor::mdata.

Referenced by load_all_measures(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines