Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Skyward
Matlab dependencies
Common
Merge requests
!24
Draft: Alpha phi
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Alpha phi
alpha-phi
into
main
Overview
0
Commits
9
Pipelines
0
Changes
20
Open
Marco Luigi Gaibotti
requested to merge
alpha-phi
into
main
1 month ago
Overview
0
Commits
9
Pipelines
0
Changes
20
Expand
0
0
Merge request reports
Compare
main
version 3
c9bfcf48
4 weeks ago
version 2
de478f1d
1 month ago
version 1
01ad3737
1 month ago
main (base)
and
latest version
latest version
e6e250f2
9 commits,
2 weeks ago
version 3
c9bfcf48
8 commits,
4 weeks ago
version 2
de478f1d
7 commits,
1 month ago
version 1
01ad3737
6 commits,
1 month ago
20 files
+
112
−
36
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
20
Search (e.g. *.vue) (Ctrl+P)
classes/@Rocket/Rocket.m
+
10
−
6
Options
@@ -52,7 +52,8 @@ classdef Rocket < Config
parachutes
cell
% [-] (nParachutes, nStages) Parachutes onboard
dynamicDerivatives
(
1
,
1
)
logical
% [-] True if dynamic derivatives will be loaded
highAOACoefficients
(
1
,
1
)
logical
% [-] True if highAOACoefficients are loaded
coefficients
Coefficient
% [-] Aerodynamic coefficients
coefficientsHighAOA
Coefficient
% [-] Aerodynamic coefficients at high angle of attack
end
@@ -150,13 +151,16 @@ classdef Rocket < Config
fullfile
(
mission
.
dataPath
,
'aeroCoefficients.mat'
),
...
coeffName
);
obj
.
coefficientsHighAOA
=
Coefficient
(
...
fullfile
(
mission
.
dataPath
,
'aeroCoefficientsHighAOA.mat'
),
...
coeffName
);
if
obj
.
highAOACoefficients
obj
.
coefficientsHighAOA
=
Coefficient
(
...
fullfile
(
mission
.
dataPath
,
'aeroCoefficientsHighAOA.mat'
),
...
coeffName
);
end
answer
=
''
;
if
isempty
(
obj
.
coefficients
.
static
)
||
isempty
(
obj
.
coefficientsHighAOA
.
static
)
if
isempty
(
obj
.
coefficients
.
static
)
||
...
(
obj
.
highAOACoefficients
&&
isempty
(
obj
.
coefficientsHighAOA
.
static
))
answer
=
questdlg
([
'Coefficient matrices not found. '
...
'Do you want to create new matrices?'
]);
elseif
options
.
checkGeometry
@@ -195,7 +199,7 @@ classdef Rocket < Config
parserPath
=
fullfile
(
mission
.
msaPath
,
'autoMatricesProtub'
);
addpath
(
genpath
(
parserPath
));
[
obj
.
coefficients
,
obj
.
coefficientsHighAOA
]
=
...
mainAutoMatProtub
(
obj
);
mainAutoMatProtub
(
obj
,
'computeHighAOA'
,
obj
.
highAOACoefficients
);
case
'Cancel'
error
(
'Rocket creation aborted'
)
otherwise
Loading