Add sample object and remove sample script
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<Info Ref="stewart-simscape/src" Type="Relative" />
|
BIN
Assemblage.slx
BIN
Assemblage.slx
Binary file not shown.
7
Sample.m
7
Sample.m
@@ -1,7 +0,0 @@
|
|||||||
%% Sample Design
|
|
||||||
rs = 0.1 ; % (m) sample radius
|
|
||||||
ls = 0.33007; % (m) sample lenght
|
|
||||||
ms = 50 ; % (kg) sample mass
|
|
||||||
|
|
||||||
%% Sample position
|
|
||||||
raddec =0 ; % (m) decentralization radius
|
|
@@ -1,6 +1,7 @@
|
|||||||
|
clear; close all; clc;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
run Assemblage_DataFile.m
|
run init_solidworks_data.m
|
||||||
run Sample.m
|
|
||||||
|
|
||||||
%% Solver Configuration
|
%% Solver Configuration
|
||||||
Ts = 1e-4; % Sampling time [s]
|
Ts = 1e-4; % Sampling time [s]
|
||||||
@@ -72,14 +73,9 @@ rz.ksi.rot = 1;
|
|||||||
rz = updateDamping(rz);
|
rz = updateDamping(rz);
|
||||||
|
|
||||||
%% Hexapod Symétrie
|
%% Hexapod Symétrie
|
||||||
% TODO - is now defined by the stewart-simscape project
|
run stewart-simscape\params_micro_hexapod.m;
|
||||||
hexapod = struct();
|
micro_hexapod = stewart;
|
||||||
|
clear stewart;
|
||||||
hexapod.m = smiData.Solid(16).mass;
|
|
||||||
hexapod.k.ax = (138e6/6)*1.2; % Leg stiffness [N/m]
|
|
||||||
hexapod.ksi.ax = 10;
|
|
||||||
|
|
||||||
hexapod = updateDamping(hexapod);
|
|
||||||
|
|
||||||
%% Center of gravity compensation
|
%% Center of gravity compensation
|
||||||
axisc = struct();
|
axisc = struct();
|
||||||
@@ -91,14 +87,18 @@ axisc.ksi.ax = 1;
|
|||||||
axisc = updateDamping(axisc);
|
axisc = updateDamping(axisc);
|
||||||
|
|
||||||
%% NASS
|
%% NASS
|
||||||
% TODO - is now defined by the stewart-simscape project
|
run stewart-simscape\params_micro_hexapod.m;
|
||||||
nass = struct();
|
nano_hexapod = stewart;
|
||||||
|
clear stewart;
|
||||||
|
|
||||||
nass.m = smiData.Solid(27).mass;
|
%% Sample
|
||||||
nass.k.ax = 5e7; % Leg stiffness [N/m]
|
sample = struct();
|
||||||
nass.ksi.ax = 10;
|
|
||||||
|
|
||||||
nass = updateDamping(nass);
|
sample.radius = 100; % Sample radius [mm]
|
||||||
|
sample.height = 300; % Sample height [mm]
|
||||||
|
sample.mass = 50; % Sample mass [kg]
|
||||||
|
sample.offset = 0; % Decentralization offset [mm]
|
||||||
|
sample.color = [0.9 0.1 0.1]; % Sample color
|
||||||
|
|
||||||
%%
|
%%
|
||||||
function element = updateDamping(element)
|
function element = updateDamping(element)
|
Submodule stewart-simscape updated: 9a8f587904...17c9de54fb
Reference in New Issue
Block a user