Skip to content

SwiftGust/simflight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simflight

Simulation environment for flight systems, based on drake.

Dependancies

Examples

Running system identification using logs

  • Use do_pem.m for system identification of the model tbsc_model.m:
% Load dependancies
>> addpath('<path to Drake, for example: /home/user/drake/build/matlab/>')
>> addpath_drake

% Run PEM system identification
% Edit do_pem.m and fill in:
%   logfile_path
%   logfile_name

% Execute
>> do_pem

Generating a trajectory library

>> BuildTrajectoryLibrary

Use a trajectory library

>> lib.ListTrajectories

0: TI-straight-R-200
1: TI-climb-R-200
2: takeoff-no-throttle
3: TI-left-turn1-R-200
4: TI-right-turn1-R-200
5: TI-aggressive-left-turn2-R-200
6: TI-aggressive-right-turn2-R-200

>> lib.DrawTrajectories

>> lib.SimulateTrajectory(0)

    Simulating: "TI-straight-R-200" for 1 second(s) with default initial conditions...

About

Simulation environment for flight systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%