load_collar_active_data.cpp File Reference

Functions to load active wire data into tib/femur structures. More...

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

Functions

int load_collar_active_data (vector< vector< double > > all_act_data, tibia &tib, femur &fem)
 Load Active wire data for all active wires on leg into tibia and femur structure.

Detailed Description

Functions to load active wire data into tib/femur structures.


Function Documentation

int load_collar_active_data ( vector< vector< double > >  all_act_data,
tibia tib,
femur fem 
)

Load Active wire data for all active wires on leg into tibia and femur structure.

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

References tibia::act_wire_count, tibia::active_wires, and sensor::mdata.

Referenced by load_all_measures().

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines