Load acclerometer data into tib/femur structure. More...
Functions | |
int | load_collar_accl_data (char *filename, tibia &tib, femur &fem) |
Load Accelerometer data for all Accelerometers on leg into tibia structure. |
Load acclerometer data into tib/femur structure.
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().