2019-03-22 12:03:59 +01:00
|
|
|
#+TITLE: Stiffness of the Stewart Platform
|
2019-03-25 18:12:43 +01:00
|
|
|
:DRAWER:
|
|
|
|
#+STARTUP: overview
|
|
|
|
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/readtheorg.css"/>
|
|
|
|
#+HTML_HEAD: <script src="js/jquery.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script src="js/bootstrap.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="js/readtheorg.js"></script>
|
|
|
|
|
|
|
|
#+LATEX_CLASS: cleanreport
|
|
|
|
#+LaTeX_CLASS_OPTIONS: [tocnp, secbreak, minted]
|
|
|
|
#+LaTeX_HEADER: \usepackage{svg}
|
|
|
|
#+LaTeX_HEADER: \newcommand{\authorFirstName}{Thomas}
|
|
|
|
#+LaTeX_HEADER: \newcommand{\authorLastName}{Dehaeze}
|
|
|
|
#+LaTeX_HEADER: \newcommand{\authorEmail}{dehaeze.thomas@gmail.com}
|
|
|
|
|
|
|
|
#+PROPERTY: header-args:matlab :session *MATLAB*
|
|
|
|
#+PROPERTY: header-args:matlab+ :comments org
|
|
|
|
#+PROPERTY: header-args:matlab+ :exports both
|
|
|
|
#+PROPERTY: header-args:matlab+ :eval no-export
|
|
|
|
#+PROPERTY: header-args:matlab+ :output-dir figs
|
|
|
|
#+PROPERTY: header-args:matlab+ :mkdirp yes
|
|
|
|
:END:
|
2019-03-22 12:03:59 +01:00
|
|
|
|
|
|
|
* Functions
|
|
|
|
:PROPERTIES:
|
|
|
|
:HEADER-ARGS:matlab+: :exports code
|
|
|
|
:HEADER-ARGS:matlab+: :comments no
|
|
|
|
:HEADER-ARGS:matlab+: :mkdir yes
|
|
|
|
:HEADER-ARGS:matlab+: :eval no
|
|
|
|
:END:
|
|
|
|
** getStiffnessMatrix
|
|
|
|
:PROPERTIES:
|
|
|
|
:HEADER-ARGS:matlab+: :tangle src/getStiffnessMatrix.m
|
|
|
|
:END:
|
|
|
|
#+begin_src matlab
|
|
|
|
function [K] = getStiffnessMatrix(k, J)
|
|
|
|
% k - leg stiffness
|
|
|
|
% J - Jacobian matrix
|
|
|
|
K = k*(J'*J);
|
|
|
|
end
|
|
|
|
#+end_src
|