2% For LICENSE / TERMS OF USE, see the file LICENSE in the root directory of the repository.
6%% add functions path and get data path
7addpath(genpath(
'../../functions'));
9datapath = fullfile(datapath,
"self_captured/231206_axis_test");
12data =
jumpReadData(fullfile(datapath,
"S-24-A-13026_000.BIN"),
"plot_time_correction",
true);
14%% 3x2 subplot with the acceleration data left and the gyroscope data right
17plot(data.tt.t, data.tt.acc(:,1));
20plot(data.tt.t, data.tt.acc(:,2));
23plot(data.tt.t, data.tt.acc(:,3));
26plot(data.tt.t, data.tt.gyr(:,1));
29plot(data.tt.t, data.tt.gyr(:,2));
32plot(data.tt.t, data.tt.gyr(:,3));
35%% Inertial Orientation Estimation with VQF
38% IOE.vqf = vqf.filterOffline(data.tt.acc, data.tt.gyr, data.tt.mag);
40% %% animate the quaternion
42% animate_quat(IOE.vqf.quat9D);
MyVqf is an interface to the VQF python package.
function jumpReadData(in filePath, in options)