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