Functions to load all sensor data. More...
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <curses.h>
#include <iostream>
#include <fstream>
#include "c3d.h"
#include "lowerleg_func.h"
#include "postprocess.h"
Defines | |
#define | MAXCOL 10 |
#define | MAX_OPTI_SIZE 50 |
#define | MAX_OPTI_LABEL 50 |
Functions | |
int | load_all_measures (tibia &tib, femur &fem, vector< vector< double > > &frame_refs) |
Load all sensor data into leg structure. |
Functions to load all sensor data.
#define MAX_OPTI_LABEL 50 |
#define MAX_OPTI_SIZE 50 |
#define MAXCOL 10 |
Load all sensor data into leg structure.
load_all_measures function loads all sensor data recorded during experiments into the leg structures: tibia and femur. This function calls other postprocess functions that load respective sensor datas into the structures.
[in,out] | tib | Tibia structure that contains tibial collar data and that will hold data for sensors fixed on tibia. |
[in,out] | fem | Femur structure containing femur collar data and that will hold data for sensors fixed on femur. |
[in] | Frame | reference vector (in MARIONET fixed reference system) The function will ask for the filenames containing sensor data from the user. The tib and fem structures already contain all config data. |
vector containing coordinates of 3 frame reference points in optical frame of ref.
References tibia::accelerometers, tibia::accl_count, tibia::act_wire_count, calc_mario_frame_opti(), clean_opti_data(), convert_opti_to_mario(), filter_sync_passive_active(), load_active_data(), load_collar_accl_data(), load_collar_active_data(), load_collar_opti_data(), load_collar_passive_data(), load_mario_frame_opti_data(), load_opti_data(), load_passive_data(), sensor::mdata, tibia::opti_count, tibia::pass_wire_count, and sync_opti_active().