Thomas Dehaeze
1125a9b1ea
The idea is have the world frame the same as the one defined for id31. Also all the actuators should actuate in the positive direction of the axes
19 lines
518 B
Matlab
19 lines
518 B
Matlab
|
|
|
|
% When the project opens, a startup script is ran.
|
|
% The startup script is defined below and is exported to the =project_startup.m= script.
|
|
|
|
project = simulinkproject;
|
|
projectRoot = project.RootFolder;
|
|
|
|
myCacheFolder = fullfile(projectRoot, '.SimulinkCache');
|
|
myCodeFolder = fullfile(projectRoot, '.SimulinkCode');
|
|
|
|
Simulink.fileGenControl('set',...
|
|
'CacheFolder', myCacheFolder,...
|
|
'CodeGenFolder', myCodeFolder,...
|
|
'createDir', true);
|
|
|
|
%% Load the Simscape Configuration
|
|
load('mat/conf_simscape.mat');
|