Skip to content
Snippets Groups Projects
Commit b253bb88 authored by Marco Luigi Gaibotti's avatar Marco Luigi Gaibotti
Browse files

[code-refactoring][missions] WIP

- added configs
- added HREmotors.mat
parent 79f9ad15
Branches
Tags
1 merge request!2Final data structure
......@@ -5,13 +5,13 @@
%% Boat-tail
% The boat-tail is simulated as a trunc of cone with the major diameter
% equal to the rocket one (settings.C)
geometry.boat.Length = 000; % [m] Boat-tail length
geometry.boat.Diameter = 000; % [m] Boat-tail base diameter
geometry.boat.length = 000; % [m] Boat-tail length
geometry.boat.diameter = 000; % [m] Boat-tail base diameter
%% Rocket ogive and central body
geometry.center.length = 000; %1.517; % [m] Central body length
geometry.center.caliber = 000; % [m] Caliber (Fuselage Diameter)
geometry.center.crossSection = pi*geometry.C^2/4; % [m^2] Cross-sectional Surface
geometry.center.crossSection = pi*geometry.center.caliber^2/4; % [m^2] Cross-sectional Surface
geometry.nose.length = 000; % [m] Nosecone Length
geometry.nose.ogiveType = 'MHAACK'; % [-] Nosecone shape
......
......@@ -12,9 +12,9 @@ inertia.rocket.Iyy = 12.07664659; % [kg*m^2] Inertia
inertia.rocket.Izz = 12.07701314; % [kg*m^2] Inertia to z-axis
%%% Inertias for engine only
inertia.engine.Ixx = HREmotors(iMotor).Ixx; % [kg*m^2] Inertia to x-axis
inertia.engine.Iyy = HREmotors(iMotor).Iyy; % [kg*m^2] Inertia to y-axis
inertia.engine.Izz = HREmotors(iMotor).Izz; % [kg*m^2] Inertia to z-axis
% inertia.engine.Ixx = HREmotors(iMotor).Ixx; % [kg*m^2] Inertia to x-axis
% inertia.engine.Iyy = HREmotors(iMotor).Iyy; % [kg*m^2] Inertia to y-axis
% inertia.engine.Izz = HREmotors(iMotor).Izz; % [kg*m^2] Inertia to z-axis
% %%% Total inertias
% inertia.Ixx = inertia.rocketIxx + engineIxx;
......
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment