Functions to load passive wire data into tib/femur structures. More...
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. |
Functions to load passive wire data into tib/femur structures.
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().