Remove org comments in tangled matlab functions
This commit is contained in:
@@ -320,12 +320,12 @@ A simulink library is developed in order to share elements between the different
|
||||
* Functions
|
||||
<<sec:functions>>
|
||||
** computePsdDispl
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/computePsdDispl.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:computePsdDispl>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/computePsdDispl.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:computePsdDispl>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/computePsdDispl.m][here]].
|
||||
|
||||
@@ -356,12 +356,12 @@ This Matlab function is accessible [[file:../src/computePsdDispl.m][here]].
|
||||
#+end_src
|
||||
|
||||
** computeSetpoint
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/computeSetpoint.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:computeSetpoint>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/computeSetpoint.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:computeSetpoint>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/computeSetpoint.m][here]].
|
||||
|
||||
@@ -428,12 +428,12 @@ This Matlab function is accessible [[file:../src/computeSetpoint.m][here]].
|
||||
#+end_src
|
||||
|
||||
** converErrorBasis
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/converErrorBasis.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:converErrorBasis>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/converErrorBasis.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:converErrorBasis>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/converErrorBasis.m][here]].
|
||||
|
||||
@@ -566,12 +566,12 @@ This Matlab function is accessible [[file:../src/converErrorBasis.m][here]].
|
||||
#+end_src
|
||||
|
||||
** generateDiagPidControl
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/generateDiagPidControl.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:generateDiagPidControl>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/generateDiagPidControl.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:generateDiagPidControl>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/generateDiagPidControl.m][here]].
|
||||
|
||||
@@ -596,12 +596,12 @@ This Matlab function is accessible [[file:../src/generateDiagPidControl.m][here]
|
||||
end
|
||||
#+end_src
|
||||
** identifyPlant
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/identifyPlant.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:identifyPlant>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/identifyPlant.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:identifyPlant>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/identifyPlant.m][here]].
|
||||
|
||||
@@ -688,12 +688,12 @@ This Matlab function is accessible [[file:../src/identifyPlant.m][here]].
|
||||
#+end_src
|
||||
|
||||
** runSimulation
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/runSimulation.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:runSimulation>>
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/runSimulation.m
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:runSimulation>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/runSimulation.m][here]].
|
||||
|
||||
@@ -759,7 +759,7 @@ This Matlab function is accessible [[file:../src/runSimulation.m][here]].
|
||||
** Experiment
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeExperiment.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeExperiment>>
|
||||
@@ -793,8 +793,8 @@ This Matlab function is accessible [[file:../src/initializeExperiment.m][here]].
|
||||
** Generate Reference Signals
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeReferences.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no
|
||||
:END:
|
||||
<<sec:initializeReferences>>
|
||||
|
||||
@@ -942,7 +942,7 @@ This Matlab function is accessible [[file:../src/initializeInputs.m][here]].
|
||||
** TODO Inputs
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeInputs.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeInputs>>
|
||||
@@ -1132,8 +1132,8 @@ This Matlab function is accessible [[file:../src/initializeInputs.m][here]].
|
||||
** Inverse Kinematics of the Hexapod
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/inverseKinematicsHexapod.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no
|
||||
:END:
|
||||
<<sec:inverseKinematicsHexapod>>
|
||||
|
||||
@@ -1168,7 +1168,7 @@ This Matlab function is accessible [[file:src/inverseKinematicsHexapod.m][here]]
|
||||
** Ground
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeGround.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeGround>>
|
||||
@@ -1192,7 +1192,7 @@ end
|
||||
** Granite
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeGranite.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeGranite>>
|
||||
@@ -1258,7 +1258,7 @@ This Matlab function is accessible [[file:../src/initializeGranite.m][here]].
|
||||
** Translation Stage
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeTy.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeTy>>
|
||||
@@ -1340,7 +1340,7 @@ This Matlab function is accessible [[file:../src/initializeTy.m][here]].
|
||||
** Tilt Stage
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeRy.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeRy>>
|
||||
@@ -1411,7 +1411,7 @@ This Matlab function is accessible [[file:../src/initializeRy.m][here]].
|
||||
** Spindle
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeRz.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeRz>>
|
||||
@@ -1475,44 +1475,10 @@ This Matlab function is accessible [[file:../src/initializeRz.m][here]].
|
||||
end
|
||||
#+end_src
|
||||
|
||||
** Initialize Hexapod legs' length
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/inverseKinematicsHexapod.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:inverseKinematicsHexapod>>
|
||||
|
||||
This Matlab function is accessible [[file:../src/inverseKinematicsHexapod.m][here]].
|
||||
|
||||
#+begin_src matlab
|
||||
function [hexapod] = inverseKinematicsHexapod(hexapod, AP, ARB)
|
||||
% inverseKinematicsHexapod -
|
||||
%
|
||||
% Syntax: inverseKinematicsHexapod(hexapod, AP, ARB)
|
||||
%
|
||||
% Inputs:
|
||||
% - hexapod - Hexapod object containing the geometry of the hexapod
|
||||
% - AP - Position vector of point OB expressed in frame {A}
|
||||
% - ARB - Rotation Matrix expressed in frame {A}
|
||||
|
||||
L0 = zeros(6, 1);
|
||||
|
||||
for i = 1:length(L)
|
||||
Bbi = hexapod.pos_top_tranform(i, :)';
|
||||
Aai = hexapod.pos_base(i, :)';
|
||||
|
||||
L0(i) = sqrt(AP'*AP + Bbi'*Bbi + Aai'*Aai - 2*AP'*Aai + 2*AP'*(ARB*Bbi) - 2*(ARB*Bbi)'*Aai);
|
||||
end
|
||||
|
||||
hexapod.L0 = L0;
|
||||
end
|
||||
#+end_src
|
||||
|
||||
** Micro Hexapod
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeMicroHexapod.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeMicroHexapod>>
|
||||
@@ -1729,7 +1695,7 @@ This Matlab function is accessible [[file:../src/initializeMicroHexapod.m][here]
|
||||
** Center of gravity compensation
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeAxisc.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeAxisc>>
|
||||
@@ -1773,7 +1739,7 @@ This Matlab function is accessible [[file:../src/initializeAxisc.m][here]].
|
||||
** Mirror
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeMirror.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeMirror>>
|
||||
@@ -1839,7 +1805,7 @@ This Matlab function is accessible [[file:../src/initializeMirror.m][here]].
|
||||
** Nano Hexapod
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeNanoHexapod.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeNanoHexapod>>
|
||||
@@ -2056,7 +2022,7 @@ This Matlab function is accessible [[file:../src/initializeNanoHexapod.m][here]]
|
||||
** Cedrat Actuator
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeCedratPiezo.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeCedratPiezo>>
|
||||
@@ -2096,7 +2062,7 @@ This Matlab function is accessible [[file:../src/initializeCedratPiezo.m][here]]
|
||||
** Sample
|
||||
:PROPERTIES:
|
||||
:header-args:matlab+: :tangle ../src/initializeSample.m
|
||||
:header-args:matlab+: :comments org :mkdirp yes
|
||||
:header-args:matlab+: :comments none :mkdirp yes
|
||||
:header-args:matlab+: :eval no :results none
|
||||
:END:
|
||||
<<sec:initializeSample>>
|
||||
|
Reference in New Issue
Block a user