load_collar_passive_data.cpp File Reference

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

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

Functions

int load_collar_passive_data (vector< vector< double > > all_pass_data, tibia &tib, femur &fem)
 Load Passive wire data for all passive wires on leg into tibia and femur structure.

Detailed Description

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


Function Documentation

int load_collar_passive_data ( vector< vector< double > >  all_pass_data,
tibia tib,
femur fem 
)

Load Passive wire data for all passive wires on leg into tibia and femur structure.

The load_collar_passive_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 (passive_wires) of the tibia (and femur) structure. This is done by comparing the sensor id of the passive wire stored in input vector with the of the in tib.passive_wires[i].label_id

References sensor::label_id, sensor::mdata, tibia::pass_wire_count, and tibia::passive_wires.

Referenced by load_all_measures().

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Defines