Master Thesis Code
by Simon Moser
Loading...
Searching...
No Matches
exp_240610_ETHZ_calib.m File Reference

script to derive the calibration parameters for the IMU More...

Go to the source code of this file.

Functions

function selectStartEndMovement (in acc, in name)
 select the start and end of a movement
 

Detailed Description

script to derive the calibration parameters for the IMU

this script is used to derive the calibration parameters for the IMUs used in the experiments at ETH Zurich on 24.06.2010. the calibration parameters are derived by moving the IMUs in a dodecahedron before and after the participants made their trials. based on this movement, the calibration parameters can be estimated. the calibration parameters are then used to correct the acceleration data. the corrected data is then stored in a new file at the same location as the original file.

Definition in file exp_240610_ETHZ_calib.m.

Function Documentation

◆ selectStartEndMovement()

function selectStartEndMovement ( in acc,
in name )

select the start and end of a movement

this function allows the user to select the start and end of a movement in the acceleration data. the user is first asked to roughly select the start and end of the movement. then, the user is asked to select the start and end of the movement in more detail.

Parameters
accthe acceleration data (Nx3)
namethe name of the movement
Return values
x_startthe start index of the movement
x_endthe end index of the movement