2016-04-07 11:18:59 -03:00
|
|
|
fname = 'indoor_flight_test.px4log';
|
|
|
|
|
|
|
|
%% entire log
|
|
|
|
wholeLog = importPX4log(fname,{});
|
|
|
|
|
|
|
|
%% attitude message
|
2016-04-07 15:58:51 -03:00
|
|
|
attitudeData = importPX4log(fname,{'ATT'});
|
2016-04-07 11:18:59 -03:00
|
|
|
|
|
|
|
%% estimator messages
|
2016-04-07 19:13:19 -03:00
|
|
|
estimatorData = importPX4log(fname,{'EST0','EST1','EST2','EST3','EST4','EST5','EST6'});
|
2016-04-07 20:39:32 -03:00
|
|
|
|
|
|
|
%% to save
|
|
|
|
save ift estimatorData;
|
|
|
|
|
|
|
|
%% to run viewer
|
|
|
|
estimatorLogViewer('ift.mat');
|