Skip to content
Snippets Groups Projects
Commit 23ce7279 authored by giuliaghirardini's avatar giuliaghirardini Committed by Marco Luigi Gaibotti
Browse files

[design-updates] Created .mat for prp, tested matConverter, added small guide

parent 7996a54d
No related branches found
No related tags found
1 merge request!13[design-updates] ORI critical design
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
......@@ -3,8 +3,33 @@ clear
clc
close all
%% README.md
% This script has been implemented due to incompatibility between MSA
% variables names and PRP ones. This is due the fact that refactoring has
% been carried out in MSA and not in PRP (hope in the future PRP would have
% the same var names!)
% For now, this script which renames the fields in aeroCoefficients.mat and
% also extract one motor among the stored ones because PRP is able to
% handle one motor per time. They don't have appended structs in their
% coeffs.mat
%
% How to use:
% 1. Change mission name to let the script find the correct folder and path
% 2. Choose from the dialog window the motor which PRP has asked
% 3. coeffs.mat will appear in your misson folder, at the level of data and
% config folder (not inside of them!)
%
% Typical output:
%
% coeffs.mat does not exist. Creating a new file...
% Loaded motor: HRE_ARM_OPT_2_Venturi
% PATH: D:\GitHub\msa-toolkit\common\missions\2025_Orion_Portugal_October\data\aeroCoefficients.mat
% Motor data saved to coeffs.mat
% PATH: D:\GitHub\msa-toolkit\common\missions\2025_Orion_Portugal_October\coeffs.mat
%% path
mission = '2024_Lyra_Portugal_October';
mission = '2025_Orion_Portugal_October';
coeffPath = fullfile(fileparts(mfilename("fullpath")), mission, 'data', 'aeroCoefficients.mat');
insideMat = who('-file', coeffPath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment