Use online CSS and JS

This commit is contained in:
Thomas Dehaeze 2020-11-12 10:44:04 +01:00
parent 3c7d99117b
commit 4ad7b6f515
16 changed files with 874 additions and 2754 deletions

View File

@ -1,145 +0,0 @@
.org-bold { /* bold */ font-weight: bold; }
.org-bold-italic { /* bold-italic */ font-weight: bold; font-style: italic; }
.org-buffer-menu-buffer { /* buffer-menu-buffer */ font-weight: bold; }
.org-builtin { /* font-lock-builtin-face */ color: #7a378b; }
.org-button { /* button */ text-decoration: underline; }
.org-calendar-today { /* calendar-today */ text-decoration: underline; }
.org-change-log-acknowledgement { /* change-log-acknowledgement */ color: #b22222; }
.org-change-log-conditionals { /* change-log-conditionals */ color: #a0522d; }
.org-change-log-date { /* change-log-date */ color: #8b2252; }
.org-change-log-email { /* change-log-email */ color: #a0522d; }
.org-change-log-file { /* change-log-file */ color: #0000ff; }
.org-change-log-function { /* change-log-function */ color: #a0522d; }
.org-change-log-list { /* change-log-list */ color: #a020f0; }
.org-change-log-name { /* change-log-name */ color: #008b8b; }
.org-comint-highlight-input { /* comint-highlight-input */ font-weight: bold; }
.org-comint-highlight-prompt { /* comint-highlight-prompt */ color: #00008b; }
.org-comment { /* font-lock-comment-face */ color: #999988; font-style: italic; }
.org-comment-delimiter { /* font-lock-comment-delimiter-face */ color: #999988; font-style: italic; }
.org-completions-annotations { /* completions-annotations */ font-style: italic; }
.org-completions-common-part { /* completions-common-part */ color: #000000; background-color: #ffffff; }
.org-completions-first-difference { /* completions-first-difference */ font-weight: bold; }
.org-constant { /* font-lock-constant-face */ color: #008b8b; }
.org-diary { /* diary */ color: #ff0000; }
.org-diff-context { /* diff-context */ color: #7f7f7f; }
.org-diff-file-header { /* diff-file-header */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-function { /* diff-function */ background-color: #cccccc; }
.org-diff-header { /* diff-header */ background-color: #cccccc; }
.org-diff-hunk-header { /* diff-hunk-header */ background-color: #cccccc; }
.org-diff-index { /* diff-index */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-nonexistent { /* diff-nonexistent */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-refine-change { /* diff-refine-change */ background-color: #d9d9d9; }
.org-dired-directory { /* dired-directory */ color: #0000ff; }
.org-dired-flagged { /* dired-flagged */ color: #ff0000; font-weight: bold; }
.org-dired-header { /* dired-header */ color: #228b22; }
.org-dired-ignored { /* dired-ignored */ color: #7f7f7f; }
.org-dired-mark { /* dired-mark */ color: #008b8b; }
.org-dired-marked { /* dired-marked */ color: #ff0000; font-weight: bold; }
.org-dired-perm-write { /* dired-perm-write */ color: #b22222; }
.org-dired-symlink { /* dired-symlink */ color: #a020f0; }
.org-dired-warning { /* dired-warning */ color: #ff0000; font-weight: bold; }
.org-doc { /* font-lock-doc-face */ color: #8b2252; }
.org-escape-glyph { /* escape-glyph */ color: #a52a2a; }
.org-file-name-shadow { /* file-name-shadow */ color: #7f7f7f; }
.org-flyspell-duplicate { /* flyspell-duplicate */ color: #cdad00; font-weight: bold; text-decoration: underline; }
.org-flyspell-incorrect { /* flyspell-incorrect */ color: #ff4500; font-weight: bold; text-decoration: underline; }
.org-fringe { /* fringe */ background-color: #f2f2f2; }
.org-function-name { /* font-lock-function-name-face */ color: teal; }
.org-header-line { /* header-line */ color: #333333; background-color: #e5e5e5; }
.org-help-argument-name { /* help-argument-name */ font-style: italic; }
.org-highlight { /* highlight */ background-color: #b4eeb4; }
.org-holiday { /* holiday */ background-color: #ffc0cb; }
.org-isearch { /* isearch */ color: #b0e2ff; background-color: #cd00cd; }
.org-isearch-fail { /* isearch-fail */ background-color: #ffc1c1; }
.org-italic { /* italic */ font-style: italic; }
.org-keyword { /* font-lock-keyword-face */ color: #0086b3; }
.org-lazy-highlight { /* lazy-highlight */ background-color: #afeeee; }
.org-link { /* link */ color: #0000ff; text-decoration: underline; }
.org-link-visited { /* link-visited */ color: #8b008b; text-decoration: underline; }
.org-log-edit-header { /* log-edit-header */ color: #a020f0; }
.org-log-edit-summary { /* log-edit-summary */ color: #0000ff; }
.org-log-edit-unknown-header { /* log-edit-unknown-header */ color: #b22222; }
.org-match { /* match */ background-color: #ffff00; }
.org-next-error { /* next-error */ background-color: #eedc82; }
.org-nobreak-space { /* nobreak-space */ color: #a52a2a; text-decoration: underline; }
.org-org-archived { /* org-archived */ color: #7f7f7f; }
.org-org-block { /* org-block */ color: #7f7f7f; }
.org-org-block-begin-line { /* org-block-begin-line */ color: #b22222; }
.org-org-block-end-line { /* org-block-end-line */ color: #b22222; }
.org-org-checkbox { /* org-checkbox */ font-weight: bold; }
.org-org-checkbox-statistics-done { /* org-checkbox-statistics-done */ color: #228b22; font-weight: bold; }
.org-org-checkbox-statistics-todo { /* org-checkbox-statistics-todo */ color: #ff0000; font-weight: bold; }
.org-org-clock-overlay { /* org-clock-overlay */ background-color: #ffff00; }
.org-org-code { /* org-code */ color: #7f7f7f; }
.org-org-column { /* org-column */ background-color: #e5e5e5; }
.org-org-column-title { /* org-column-title */ background-color: #e5e5e5; font-weight: bold; text-decoration: underline; }
.org-org-date { /* org-date */ color: #a020f0; text-decoration: underline; }
.org-org-document-info { /* org-document-info */ color: #191970; }
.org-org-document-info-keyword { /* org-document-info-keyword */ color: #7f7f7f; }
.org-org-document-title { /* org-document-title */ color: #191970; font-size: 144%; font-weight: bold; }
.org-org-done { /* org-done */ color: #228b22; font-weight: bold; }
.org-org-drawer { /* org-drawer */ color: #0000ff; }
.org-org-ellipsis { /* org-ellipsis */ color: #b8860b; text-decoration: underline; }
.org-org-footnote { /* org-footnote */ color: #a020f0; text-decoration: underline; }
.org-org-formula { /* org-formula */ color: #b22222; }
.org-org-headline-done { /* org-headline-done */ color: #bc8f8f; }
.org-org-hide { /* org-hide */ color: #ffffff; }
.org-org-latex-and-export-specials { /* org-latex-and-export-specials */ color: #8b4513; }
.org-org-level-1 { /* org-level-1 */ color: #0000ff; }
.org-org-level-2 { /* org-level-2 */ color: #a0522d; }
.org-org-level-3 { /* org-level-3 */ color: #a020f0; }
.org-org-level-4 { /* org-level-4 */ color: #b22222; }
.org-org-level-5 { /* org-level-5 */ color: #228b22; }
.org-org-level-6 { /* org-level-6 */ color: #008b8b; }
.org-org-level-7 { /* org-level-7 */ color: #7a378b; }
.org-org-level-8 { /* org-level-8 */ color: #8b2252; }
.org-org-link { /* org-link */ color: #0000ff; text-decoration: underline; }
.org-org-meta-line { /* org-meta-line */ color: #b22222; }
.org-org-mode-line-clock { /* org-mode-line-clock */ color: #000000; background-color: #bfbfbf; }
.org-org-mode-line-clock-overrun { /* org-mode-line-clock-overrun */ color: #000000; background-color: #ff0000; }
.org-org-quote { /* org-quote */ color: #7f7f7f; }
.org-org-scheduled { /* org-scheduled */ color: #006400; }
.org-org-scheduled-previously { /* org-scheduled-previously */ color: #b22222; }
.org-org-scheduled-today { /* org-scheduled-today */ color: #006400; }
.org-org-sexp-date { /* org-sexp-date */ color: #a020f0; }
.org-org-special-keyword { /* org-special-keyword */ color: #a020f0; }
.org-org-table { /* org-table */ color: #0000ff; }
.org-org-tag { /* org-tag */ font-weight: bold; }
.org-org-target { /* org-target */ text-decoration: underline; }
.org-org-time-grid { /* org-time-grid */ color: #b8860b; }
.org-org-todo { /* org-todo */ color: #ff0000; font-weight: bold; }
.org-org-upcoming-deadline { /* org-upcoming-deadline */ color: #b22222; }
.org-org-verbatim { /* org-verbatim */ color: #7f7f7f; }
.org-org-verse { /* org-verse */ color: #7f7f7f; }
.org-org-warning { /* org-warning */ color: #ff0000; font-weight: bold; }
.org-outline-1 { /* outline-1 */ color: #0000ff; }
.org-outline-2 { /* outline-2 */ color: #a0522d; }
.org-outline-3 { /* outline-3 */ color: #a020f0; }
.org-outline-4 { /* outline-4 */ color: #b22222; }
.org-outline-5 { /* outline-5 */ color: #228b22; }
.org-outline-6 { /* outline-6 */ color: #008b8b; }
.org-outline-7 { /* outline-7 */ color: #7a378b; }
.org-outline-8 { /* outline-8 */ color: #8b2252; }
.org-preprocessor { /* font-lock-preprocessor-face */ color: #7a378b; }
.org-query-replace { /* query-replace */ color: #b0e2ff; background-color: #cd00cd; }
.org-regexp-grouping-backslash { /* font-lock-regexp-grouping-backslash */ font-weight: bold; }
.org-regexp-grouping-construct { /* font-lock-regexp-grouping-construct */ font-weight: bold; }
.org-region { /* region */ background-color: #eedc82; }
.org-secondary-selection { /* secondary-selection */ background-color: #ffff00; }
.org-shadow { /* shadow */ color: #7f7f7f; }
.org-show-paren-match { /* show-paren-match */ background-color: #40e0d0; }
.org-show-paren-mismatch { /* show-paren-mismatch */ color: #ffffff; background-color: #a020f0; }
.org-string { /* font-lock-string-face */ color: #dd1144; }
.org-tool-bar { /* tool-bar */ color: #000000; background-color: #bfbfbf; }
.org-tooltip { /* tooltip */ color: #000000; background-color: #ffffe0; }
.org-trailing-whitespace { /* trailing-whitespace */ background-color: #ff0000; }
.org-type { /* font-lock-type-face */ color: #228b22; }
.org-underline { /* underline */ text-decoration: underline; }
.org-variable-name { /* font-lock-variable-name-face */ color: teal; }
.org-warning { /* font-lock-warning-face */ color: #ff0000; font-weight: bold; }
.org-widget-button { /* widget-button */ font-weight: bold; }
.org-widget-button-pressed { /* widget-button-pressed */ color: #ff0000; }
.org-widget-documentation { /* widget-documentation */ color: #006400; }
.org-widget-field { /* widget-field */ background-color: #d9d9d9; }
.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; }
.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }

File diff suppressed because it is too large Load Diff

View File

@ -3,55 +3,55 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-10-08 jeu. 10:50 -->
<!-- 2020-11-12 jeu. 10:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Virtual Sensor Fusion using Complementary Filters</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
<link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="css/readtheorg.css"/>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.stickytableheaders.min.js"></script>
<script src="js/readtheorg.js"></script>
<link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
<script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
</head>
<body>
<div id="content">
<div id="org-div-home-and-up">
<a accesskey="h" href="../index.html"> UP </a>
|
<a accesskey="H" href="../index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Virtual Sensor Fusion using Complementary Filters
<br />
<span class="subtitle">Dehaeze Thomas, Verma Mohit, Collette Christophe</span>
</h1>
<div id="outline-container-orgd214e4c" class="outline-2">
<h2 id="orgd214e4c">Paper (<a href="paper/paper.pdf">link</a>)</h2>
<div class="outline-text-2" id="text-orgd214e4c">
<div id="outline-container-org47d0539" class="outline-2">
<h2 id="org47d0539">Paper (<a href="paper/paper.pdf">link</a>)</h2>
<div class="outline-text-2" id="text-org47d0539">
<p>
The paper has been created using <a href="https://orgmode.org/">Org Mode</a> (generating <a href="https://www.latex-project.org/">LaTeX</a> code) under <a href="https://www.gnu.org/software/emacs/">Emacs</a>.
</p>
</div>
</div>
<div id="outline-container-orgd58b55d" class="outline-2">
<h2 id="orgd58b55d">Matlab Scripts (<a href="matlab/index.html">link</a>)</h2>
<div class="outline-text-2" id="text-orgd58b55d">
<div id="outline-container-org117520e" class="outline-2">
<h2 id="org117520e">Matlab Scripts (<a href="matlab/index.html">link</a>)</h2>
<div class="outline-text-2" id="text-org117520e">
<p>
The Matlab scripts that permits to obtain all the results presented in the paper are accessible <a href="matlab/index.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-org9fc28e2" class="outline-2">
<h2 id="org9fc28e2">Figures (<a href="tikz/index.html">link</a>)</h2>
<div class="outline-text-2" id="text-org9fc28e2">
<div id="outline-container-orgf00cb2f" class="outline-2">
<h2 id="orgf00cb2f">Figures (<a href="tikz/index.html">link</a>)</h2>
<div class="outline-text-2" id="text-orgf00cb2f">
<p>
All the figures in the paper are generated using either <a href="https://sourceforge.net/projects/pgf/">TikZ</a> or <a href="https://inkscape.org/">Inkscape</a>. The code snippets that was used to generate the figures are accessible <a href="tikz/index.html">here</a>.
</p>
</div>
</div>
<div id="outline-container-org7cb70fe" class="outline-2">
<h2 id="org7cb70fe">Cite this paper</h2>
<div class="outline-text-2" id="text-org7cb70fe">
<div id="outline-container-org6455158" class="outline-2">
<h2 id="org6455158">Cite this paper</h2>
<div class="outline-text-2" id="text-org6455158">
<p>
To cite this paper use the following bibtex code.
</p>

View File

@ -1,14 +1,15 @@
#+TITLE: Virtual Sensor Fusion using Complementary Filters
:DRAWER:
#+SUBTITLE: Dehaeze Thomas, Verma Mohit, Collette Christophe
#+OPTIONS: toc:nil
#+OPTIONS: html-postamble:nil
#+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 src="js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script src="js/readtheorg.js"></script>
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
:END:
* Paper ([[file:paper/paper.pdf][link]])

7
js/bootstrap.min.js vendored

File diff suppressed because one or more lines are too long

4
js/jquery.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(a,b){"use strict";function c(c,g){var h=this;h.$el=a(c),h.el=c,h.id=e++,h.$window=a(b),h.$document=a(document),h.$el.bind("destroyed",a.proxy(h.teardown,h)),h.$clonedHeader=null,h.$originalHeader=null,h.isSticky=!1,h.hasBeenSticky=!1,h.leftOffset=null,h.topOffset=null,h.init=function(){h.$el.each(function(){var b=a(this);b.css("padding",0),h.$originalHeader=a("thead:first",this),h.$clonedHeader=h.$originalHeader.clone(),b.trigger("clonedHeader."+d,[h.$clonedHeader]),h.$clonedHeader.addClass("tableFloatingHeader"),h.$clonedHeader.css("display","none"),h.$originalHeader.addClass("tableFloatingHeaderOriginal"),h.$originalHeader.after(h.$clonedHeader),h.$printStyle=a('<style type="text/css" media="print">.tableFloatingHeader{display:none !important;}.tableFloatingHeaderOriginal{position:static !important;}</style>'),a("head").append(h.$printStyle)}),h.setOptions(g),h.updateWidth(),h.toggleHeaders(),h.bind()},h.destroy=function(){h.$el.unbind("destroyed",h.teardown),h.teardown()},h.teardown=function(){h.isSticky&&h.$originalHeader.css("position","static"),a.removeData(h.el,"plugin_"+d),h.unbind(),h.$clonedHeader.remove(),h.$originalHeader.removeClass("tableFloatingHeaderOriginal"),h.$originalHeader.css("visibility","visible"),h.$printStyle.remove(),h.el=null,h.$el=null},h.bind=function(){h.$scrollableArea.on("scroll."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.on("scroll."+d+h.id,h.setPositionValues),h.$window.on("resize."+d+h.id,h.toggleHeaders)),h.$scrollableArea.on("resize."+d,h.toggleHeaders),h.$scrollableArea.on("resize."+d,h.updateWidth)},h.unbind=function(){h.$scrollableArea.off("."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.off("."+d+h.id,h.setPositionValues),h.$window.off("."+d+h.id,h.toggleHeaders)),h.$scrollableArea.off("."+d,h.updateWidth)},h.toggleHeaders=function(){h.$el&&h.$el.each(function(){var b,c=a(this),d=h.isWindowScrolling?isNaN(h.options.fixedOffset)?h.options.fixedOffset.outerHeight():h.options.fixedOffset:h.$scrollableArea.offset().top+(isNaN(h.options.fixedOffset)?0:h.options.fixedOffset),e=c.offset(),f=h.$scrollableArea.scrollTop()+d,g=h.$scrollableArea.scrollLeft(),i=h.isWindowScrolling?f>e.top:d>e.top,j=(h.isWindowScrolling?f:0)<e.top+c.height()-h.$clonedHeader.height()-(h.isWindowScrolling?0:d);i&&j?(b=e.left-g+h.options.leftOffset,h.$originalHeader.css({position:"fixed","margin-top":h.options.marginTop,left:b,"z-index":3}),h.leftOffset=b,h.topOffset=d,h.$clonedHeader.css("display",""),h.isSticky||(h.isSticky=!0,h.updateWidth()),h.setPositionValues()):h.isSticky&&(h.$originalHeader.css("position","static"),h.$clonedHeader.css("display","none"),h.isSticky=!1,h.resetWidth(a("td,th",h.$clonedHeader),a("td,th",h.$originalHeader)))})},h.setPositionValues=function(){var a=h.$window.scrollTop(),b=h.$window.scrollLeft();!h.isSticky||0>a||a+h.$window.height()>h.$document.height()||0>b||b+h.$window.width()>h.$document.width()||h.$originalHeader.css({top:h.topOffset-(h.isWindowScrolling?0:a),left:h.leftOffset-(h.isWindowScrolling?0:b)})},h.updateWidth=function(){if(h.isSticky){h.$originalHeaderCells||(h.$originalHeaderCells=a("th,td",h.$originalHeader)),h.$clonedHeaderCells||(h.$clonedHeaderCells=a("th,td",h.$clonedHeader));var b=h.getWidth(h.$clonedHeaderCells);h.setWidth(b,h.$clonedHeaderCells,h.$originalHeaderCells),h.$originalHeader.css("width",h.$clonedHeader.width())}},h.getWidth=function(c){var d=[];return c.each(function(c){var e,f=a(this);if("border-box"===f.css("box-sizing"))e=f[0].getBoundingClientRect().width;else{var g=a("th",h.$originalHeader);if("collapse"===g.css("border-collapse"))if(b.getComputedStyle)e=parseFloat(b.getComputedStyle(this,null).width);else{var i=parseFloat(f.css("padding-left")),j=parseFloat(f.css("padding-right")),k=parseFloat(f.css("border-width"));e=f.outerWidth()-i-j-k}else e=f.width()}d[c]=e}),d},h.setWidth=function(a,b,c){b.each(function(b){var d=a[b];c.eq(b).css({"min-width":d,"max-width":d})})},h.resetWidth=function(b,c){b.each(function(b){var d=a(this);c.eq(b).css({"min-width":d.css("min-width"),"max-width":d.css("max-width")})})},h.setOptions=function(c){h.options=a.extend({},f,c),h.$scrollableArea=a(h.options.scrollableArea),h.isWindowScrolling=h.$scrollableArea[0]===b},h.updateOptions=function(a){h.setOptions(a),h.unbind(),h.bind(),h.updateWidth(),h.toggleHeaders()},h.init()}var d="stickyTableHeaders",e=0,f={fixedOffset:0,leftOffset:0,marginTop:0,scrollableArea:b};a.fn[d]=function(b){return this.each(function(){var e=a.data(this,"plugin_"+d);e?"string"==typeof b?e[b].apply(e):e.updateOptions(b):"destroy"!==b&&a.data(this,"plugin_"+d,new c(this,b))})}}(jQuery,window);

View File

@ -1,85 +0,0 @@
$(function() {
$('.note').before("<p class='admonition-title note'>Note</p>");
$('.seealso').before("<p class='admonition-title seealso'>See also</p>");
$('.warning').before("<p class='admonition-title warning'>Warning</p>");
$('.caution').before("<p class='admonition-title caution'>Caution</p>");
$('.attention').before("<p class='admonition-title attention'>Attention</p>");
$('.tip').before("<p class='admonition-title tip'>Tip</p>");
$('.important').before("<p class='admonition-title important'>Important</p>");
$('.hint').before("<p class='admonition-title hint'>Hint</p>");
$('.error').before("<p class='admonition-title error'>Error</p>");
$('.danger').before("<p class='admonition-title danger'>Danger</p>");
});
$( document ).ready(function() {
// Shift nav in mobile when clicking the menu.
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
// Close menu when you click a link.
$(document).on('click', ".wy-menu-vertical .current ul li a", function() {
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
$(document).on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
});
// Make tables responsive
$("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
});
$( document ).ready(function() {
$('#text-table-of-contents ul').first().addClass('nav');
// ScrollSpy also requires that we use
// a Bootstrap nav component.
$('body').scrollspy({target: '#text-table-of-contents'});
// add sticky table headers
$('table').stickyTableHeaders();
// set the height of tableOfContents
var $postamble = $('#postamble');
var $tableOfContents = $('#table-of-contents');
$tableOfContents.css({paddingBottom: $postamble.outerHeight()});
// add TOC button
var toggleSidebar = $('<div id="toggle-sidebar"><a href="#table-of-contents"><h2>Table of Contents</h2></a></div>');
$('#content').prepend(toggleSidebar);
// add close button when sidebar showed in mobile screen
var closeBtn = $('<a class="close-sidebar" href="#">Close</a>');
var tocTitle = $('#table-of-contents').find('h2');
tocTitle.append(closeBtn);
});
window.SphinxRtdTheme = (function (jquery) {
var stickyNav = (function () {
var navBar,
win,
stickyNavCssClass = 'stickynav',
applyStickNav = function () {
if (navBar.height() <= win.height()) {
navBar.addClass(stickyNavCssClass);
} else {
navBar.removeClass(stickyNavCssClass);
}
},
enable = function () {
applyStickNav();
win.on('resize', applyStickNav);
},
init = function () {
navBar = jquery('nav.wy-nav-side:first');
win = jquery(window);
};
jquery(init);
return {
enable : enable
};
}());
return {
StickyNav : stickyNav
};
}($));

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +1,14 @@
#+TITLE: Sensor Fusion Paper - Matlab Computation
:DRAWER:
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
#+LATEX_CLASS: cleanreport
#+LATEX_CLASS_OPTIONS: [tocnp, secbreak, minted]
#+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 src="../js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script src="../js/readtheorg.js"></script>
#+PROPERTY: header-args:matlab :session *MATLAB*
#+PROPERTY: header-args:matlab+ :tangle matlab/comp_filters_design.m
#+PROPERTY: header-args:matlab+ :comments org

View File

@ -538,8 +538,6 @@ After the $\hinf\text{-synthesis}$, we obtain $H_L$ and $H_H$, and we plot their
#+attr_latex: :float t :scale 1
file:./figs/hinf_filters_result_weights.pdf
*** TODO Plot the complementary filters with the phase?
** Controller analysis
The controller is $K = \left( H_H G \right)^{-1}$.
A low pass filter is added to $K$ so that it is proper and implementable.

View File

@ -3,310 +3,79 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2019-07-22 lun. 09:28 -->
<!-- 2020-11-12 jeu. 10:43 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>LaTeX Configuration for Tikz export</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.stickytableheaders.min.js"></script>
<script src="../js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2019 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
<link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
<script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
</head>
<body>
<div id="content">
<div id="org-div-home-and-up">
<a accesskey="h" href="../index.html"> UP </a>
|
<a accesskey="H" href="../index.html"> HOME </a>
</div><div id="content">
<h1 class="title">LaTeX Configuration for Tikz export</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org13cdd0b">1. Packages</a></li>
<li><a href="#orgdde3902">2. Tikz related packages</a></li>
<li><a href="#org6f1aa48">3. Tikz Libraries</a></li>
<li><a href="#orgc56d4ac">4. PGF Plot libraries and config</a></li>
<li><a href="#org7894a69">5. Setup size of figures</a></li>
<li><a href="#org4c1d064">6. Setup Arrows style</a></li>
<li><a href="#orgdd61554">7. Colors</a></li>
<li><a href="#orgef1f74b">8. Control</a>
<li><a href="#org5c3ec43">1. Packages</a></li>
<li><a href="#orgd694e2d">2. Tikz related packages</a></li>
<li><a href="#orgf8d7aee">3. Tikz Libraries</a></li>
<li><a href="#orga7acfdc">4. PGF Plot libraries and config</a></li>
<li><a href="#org0231fd7">5. Setup size of figures</a></li>
<li><a href="#org4657070">6. Setup Arrows style</a></li>
<li><a href="#org905b9e9">7. Colors</a></li>
<li><a href="#orgd453091">8. Control</a>
<ul>
<li><a href="#org468ed5f">8.1. Blocks</a></li>
<li><a href="#org81f4982">8.2. <span class="todo TODO">TODO</span> Branches</a></li>
<li><a href="#org75793ae">8.3. <span class="todo TODO">TODO</span> Hand Writen Style</a></li>
<li><a href="#orgec26eec">8.4. DAC</a></li>
<li><a href="#orgd83e65a">8.5. ADC</a></li>
<li><a href="#orgc010f75">8.6. <span class="todo TODO">TODO</span> Gain</a></li>
<li><a href="#org0d9b00d">8.7. Add / Substract / Divide / Multiply block</a></li>
<li><a href="#orgfdf7f87">8.1. Blocks</a></li>
<li><a href="#org9e66b5e">8.2. Branches</a></li>
<li><a href="#org3f4fb7e">8.3. Hand Writen Style</a></li>
<li><a href="#orgb7c210e">8.4. DAC</a></li>
<li><a href="#org3c07c37">8.5. ADC</a></li>
<li><a href="#org789d8e4">8.6. Gain</a></li>
<li><a href="#orgc40f074">8.7. Add / Substract / Divide / Multiply block</a></li>
</ul>
</li>
<li><a href="#orgc9ce345">9. Plots</a>
<li><a href="#orgdb75f60">9. Plots</a>
<ul>
<li><a href="#org0bd5535">9.1. Grid</a></li>
<li><a href="#orgc348c6f">9.2. Lines</a></li>
<li><a href="#org5b74dc5">9.3. Ticks</a></li>
<li><a href="#org307b1f0">9.4. Size</a></li>
<li><a href="#org70303e6">9.5. Label</a></li>
<li><a href="#org60b0bc9">9.6. Legend</a></li>
<li><a href="#org242c2f9">9.7. Upper and Lower bounds</a></li>
<li><a href="#org7dfc3fb">9.8. Pole</a></li>
<li><a href="#org232b5eb">9.9. Zero</a></li>
<li><a href="#orgea79cd3">9.1. Grid</a></li>
<li><a href="#orgd3e7a82">9.2. Lines</a></li>
<li><a href="#orgbf31e8b">9.3. Ticks</a></li>
<li><a href="#org12885b8">9.4. Size</a></li>
<li><a href="#orge861b28">9.5. Label</a></li>
<li><a href="#org96a92f4">9.6. Legend</a></li>
<li><a href="#org71d7b41">9.7. Upper and Lower bounds</a></li>
<li><a href="#org8704bd0">9.8. Pole</a></li>
<li><a href="#orgcdbbedd">9.9. Zero</a></li>
</ul>
</li>
<li><a href="#org7e8ae8c">10. Mechanical</a>
<li><a href="#org1414c13">10. Mechanical</a>
<ul>
<li><a href="#org4168afd">10.1. Spring</a></li>
<li><a href="#org9393c3a">10.2. Coil</a></li>
<li><a href="#orgb277e7a">10.3. Damper</a></li>
<li><a href="#orge2d98e3">10.4. Actuator</a></li>
<li><a href="#org5203197">10.5. Ground</a></li>
<li><a href="#orge7277b0">10.6. Force Sensor</a></li>
<li><a href="#orgf823627">10.7. Inertial Sensor</a></li>
<li><a href="#orgb1f5b0f">10.8. Axis Rotator</a></li>
<li><a href="#org762f1f0">10.9. Cross</a></li>
<li><a href="#org174927e">10.10. Piezoelectric actuator</a></li>
<li><a href="#org5adf9aa">10.11. Voice coil</a></li>
<li><a href="#org31c42bc">10.1. Spring</a></li>
<li><a href="#orgaa21dba">10.2. Coil</a></li>
<li><a href="#orgd4a2b31">10.3. Damper</a></li>
<li><a href="#org6fc4d41">10.4. Actuator</a></li>
<li><a href="#org2c1b51c">10.5. Ground</a></li>
<li><a href="#org301c773">10.6. Force Sensor</a></li>
<li><a href="#org287a82c">10.7. Inertial Sensor</a></li>
<li><a href="#org7e7628f">10.8. Axis Rotator</a></li>
<li><a href="#org0a02675">10.9. Cross</a></li>
<li><a href="#org9c35987">10.10. Piezoelectric actuator</a></li>
<li><a href="#orgf71f182">10.11. Voice coil</a></li>
</ul>
</li>
<li><a href="#org1b4e825">11. Optics</a></li>
<li><a href="#org506bf1a">12. Misc</a></li>
<li><a href="#org790fa7d">11. Optics</a></li>
<li><a href="#org9e37287">12. Misc</a></li>
</ul>
</div>
</div>
<div id="outline-container-org13cdd0b" class="outline-2">
<h2 id="org13cdd0b"><span class="section-number-2">1</span> Packages</h2>
<div id="outline-container-org5c3ec43" class="outline-2">
<h2 id="org5c3ec43"><span class="section-number-2">1</span> Packages</h2>
<div class="outline-text-2" id="text-1">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate"><span class="org-keyword">\usepackage</span></span>[<span class="org-variable-name">utf8</span>]{<span class="org-function-name">inputenc</span>}
@ -352,8 +121,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgdde3902" class="outline-2">
<h2 id="orgdde3902"><span class="section-number-2">2</span> Tikz related packages</h2>
<div id="outline-container-orgd694e2d" class="outline-2">
<h2 id="orgd694e2d"><span class="section-number-2">2</span> Tikz related packages</h2>
<div class="outline-text-2" id="text-2">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate"><span class="org-keyword">\usepackage</span></span>{<span class="org-function-name">tikz</span>} <span class="org-comment">% Tikz</span>
@ -367,8 +136,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org6f1aa48" class="outline-2">
<h2 id="org6f1aa48"><span class="section-number-2">3</span> Tikz Libraries</h2>
<div id="outline-container-orgf8d7aee" class="outline-2">
<h2 id="orgf8d7aee"><span class="section-number-2">3</span> Tikz Libraries</h2>
<div class="outline-text-2" id="text-3">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\usetikzlibrary</span>{arrows} <span class="org-comment">% Arrow tip library</span>
@ -395,8 +164,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgc56d4ac" class="outline-2">
<h2 id="orgc56d4ac"><span class="section-number-2">4</span> PGF Plot libraries and config</h2>
<div id="outline-container-orga7acfdc" class="outline-2">
<h2 id="orga7acfdc"><span class="section-number-2">4</span> PGF Plot libraries and config</h2>
<div class="outline-text-2" id="text-4">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\usepgfplotslibrary</span>{patchplots}
@ -409,8 +178,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org7894a69" class="outline-2">
<h2 id="org7894a69"><span class="section-number-2">5</span> Setup size of figures</h2>
<div id="outline-container-org0231fd7" class="outline-2">
<h2 id="org0231fd7"><span class="section-number-2">5</span> Setup size of figures</h2>
<div class="outline-text-2" id="text-5">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate"><span class="org-keyword">\newlength</span></span>{<span class="org-font-latex-sedate"><span class="org-function-name">\fheight</span></span>}
@ -423,8 +192,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org4c1d064" class="outline-2">
<h2 id="org4c1d064"><span class="section-number-2">6</span> Setup Arrows style</h2>
<div id="outline-container-org4657070" class="outline-2">
<h2 id="org4657070"><span class="section-number-2">6</span> Setup Arrows style</h2>
<div class="outline-text-2" id="text-6">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{&gt;=Stealth}
@ -435,8 +204,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgdd61554" class="outline-2">
<h2 id="orgdd61554"><span class="section-number-2">7</span> Colors</h2>
<div id="outline-container-org905b9e9" class="outline-2">
<h2 id="org905b9e9"><span class="section-number-2">7</span> Colors</h2>
<div class="outline-text-2" id="text-7">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate"><span class="org-keyword">\usepackage</span></span>{<span class="org-function-name">xcolor</span>}<span class="org-comment">% Color extension</span>
@ -458,12 +227,12 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-orgef1f74b" class="outline-2">
<h2 id="orgef1f74b"><span class="section-number-2">8</span> Control</h2>
<div id="outline-container-orgd453091" class="outline-2">
<h2 id="orgd453091"><span class="section-number-2">8</span> Control</h2>
<div class="outline-text-2" id="text-8">
</div>
<div id="outline-container-org468ed5f" class="outline-3">
<h3 id="org468ed5f"><span class="section-number-3">8.1</span> Blocks</h3>
<div id="outline-container-orgfdf7f87" class="outline-3">
<h3 id="orgfdf7f87"><span class="section-number-3">8.1</span> Blocks</h3>
<div class="outline-text-3" id="text-8-1">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -480,8 +249,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org81f4982" class="outline-3">
<h3 id="org81f4982"><span class="section-number-3">8.2</span> <span class="todo TODO">TODO</span> Branches</h3>
<div id="outline-container-org9e66b5e" class="outline-3">
<h3 id="org9e66b5e"><span class="section-number-3">8.2</span> Branches</h3>
<div class="outline-text-3" id="text-8-2">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzstyle</span>{branch}=[fill,shape=circle,minimum size=4pt,inner sep=0pt]
@ -492,8 +261,8 @@ for the JavaScript code in this tag.
</div>
</div>
<div id="outline-container-org75793ae" class="outline-3">
<h3 id="org75793ae"><span class="section-number-3">8.3</span> <span class="todo TODO">TODO</span> Hand Writen Style</h3>
<div id="outline-container-org3f4fb7e" class="outline-3">
<h3 id="org3f4fb7e"><span class="section-number-3">8.3</span> Hand Writen Style</h3>
<div class="outline-text-3" id="text-8-3">
<p>
Usefull for schematic plots
@ -505,8 +274,8 @@ Usefull for schematic plots
</div>
</div>
<div id="outline-container-orgec26eec" class="outline-3">
<h3 id="orgec26eec"><span class="section-number-3">8.4</span> DAC</h3>
<div id="outline-container-orgb7c210e" class="outline-3">
<h3 id="orgb7c210e"><span class="section-number-3">8.4</span> DAC</h3>
<div class="outline-text-3" id="text-8-4">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -520,8 +289,8 @@ Usefull for schematic plots
</div>
</div>
<div id="outline-container-orgd83e65a" class="outline-3">
<h3 id="orgd83e65a"><span class="section-number-3">8.5</span> ADC</h3>
<div id="outline-container-org3c07c37" class="outline-3">
<h3 id="org3c07c37"><span class="section-number-3">8.5</span> ADC</h3>
<div class="outline-text-3" id="text-8-5">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -536,8 +305,8 @@ Usefull for schematic plots
</div>
</div>
<div id="outline-container-orgc010f75" class="outline-3">
<h3 id="orgc010f75"><span class="section-number-3">8.6</span> <span class="todo TODO">TODO</span> Gain</h3>
<div id="outline-container-org789d8e4" class="outline-3">
<h3 id="org789d8e4"><span class="section-number-3">8.6</span> Gain</h3>
<div class="outline-text-3" id="text-8-6">
<p>
Maybe use <code>isosceles</code> instead of regular polygon?
@ -578,8 +347,8 @@ Maybe use <code>isosceles</code> instead of regular polygon?
</div>
</div>
<div id="outline-container-org0d9b00d" class="outline-3">
<h3 id="org0d9b00d"><span class="section-number-3">8.7</span> Add / Substract / Divide / Multiply block</h3>
<div id="outline-container-orgc40f074" class="outline-3">
<h3 id="orgc40f074"><span class="section-number-3">8.7</span> Add / Substract / Divide / Multiply block</h3>
<div class="outline-text-3" id="text-8-7">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">% Add block with Circled operations</span>
@ -591,7 +360,7 @@ Maybe use <code>isosceles</code> instead of regular polygon?
inner sep = 0pt,
minimum size = 2em,
execute at begin node={<span class="org-font-latex-sedate"><span class="org-keyword">\LARGE</span></span><span class="org-type"> </span><span class="org-type"><span class="org-font-latex-math">$#1$</span></span>},
append after command={<span class="org-font-latex-sedate">\pgfextra</span>{<span class="org-font-latex-sedate">\let\mainnode=\tikzlastnode</span>}
append after command={<span class="org-font-latex-sedate">\pgfextra</span>{<span class="org-font-latex-sedate">\let\mainnode</span>=<span class="org-font-latex-sedate">\tikzlastnode</span>}
<span class="org-font-latex-sedate">\ifx</span>#2<span class="org-font-latex-sedate">\empty\else</span>
node[draw, circle, outer sep=6pt, inner sep=0pt, above left] at (<span class="org-font-latex-sedate">\mainnode</span>.west) {<span class="org-font-latex-math">$#2$</span>}<span class="org-comment">%</span>
<span class="org-font-latex-sedate">\fi</span>
@ -621,7 +390,7 @@ Maybe use <code>isosceles</code> instead of regular polygon?
inner sep = 0pt,
minimum size = 2em,
execute at begin node={<span class="org-font-latex-sedate"><span class="org-keyword">\LARGE</span></span><span class="org-type"> </span><span class="org-type"><span class="org-font-latex-math">$#1$</span></span>},
append after command={<span class="org-font-latex-sedate">\pgfextra</span>{<span class="org-font-latex-sedate">\let\mainnode=\tikzlastnode</span>}
append after command={<span class="org-font-latex-sedate">\pgfextra</span>{<span class="org-font-latex-sedate">\let\mainnode</span>=<span class="org-font-latex-sedate">\tikzlastnode</span>}
<span class="org-font-latex-sedate">\ifx</span>#2<span class="org-font-latex-sedate">\empty\else</span>
node[outer sep=2pt, inner sep=0pt, above left] at (<span class="org-font-latex-sedate">\mainnode</span>.west) {<span class="org-font-latex-math">$#2$</span>}<span class="org-comment">%</span>
<span class="org-font-latex-sedate">\fi</span>
@ -644,12 +413,12 @@ Maybe use <code>isosceles</code> instead of regular polygon?
</div>
</div>
<div id="outline-container-orgc9ce345" class="outline-2">
<h2 id="orgc9ce345"><span class="section-number-2">9</span> Plots</h2>
<div id="outline-container-orgdb75f60" class="outline-2">
<h2 id="orgdb75f60"><span class="section-number-2">9</span> Plots</h2>
<div class="outline-text-2" id="text-9">
</div>
<div id="outline-container-org0bd5535" class="outline-3">
<h3 id="org0bd5535"><span class="section-number-3">9.1</span> Grid</h3>
<div id="outline-container-orgea79cd3" class="outline-3">
<h3 id="orgea79cd3"><span class="section-number-3">9.1</span> Grid</h3>
<div class="outline-text-3" id="text-9-1">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\pgfplotsset</span>{grid style={black}}
@ -662,8 +431,8 @@ Maybe use <code>isosceles</code> instead of regular polygon?
</div>
</div>
<div id="outline-container-orgc348c6f" class="outline-3">
<h3 id="orgc348c6f"><span class="section-number-3">9.2</span> Lines</h3>
<div id="outline-container-orgd3e7a82" class="outline-3">
<h3 id="orgd3e7a82"><span class="section-number-3">9.2</span> Lines</h3>
<div class="outline-text-3" id="text-9-2">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\pgfplotsset</span>{separate axis lines=false} <span class="org-comment">% draw axis as rectangle and not as 4 lines</span>
@ -677,8 +446,8 @@ Maybe use <code>isosceles</code> instead of regular polygon?
</div>
</div>
<div id="outline-container-org5b74dc5" class="outline-3">
<h3 id="org5b74dc5"><span class="section-number-3">9.3</span> Ticks</h3>
<div id="outline-container-orgbf31e8b" class="outline-3">
<h3 id="orgbf31e8b"><span class="section-number-3">9.3</span> Ticks</h3>
<div class="outline-text-3" id="text-9-3">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\pgfplotsset</span>{every y tick label/.append style={font=<span class="org-font-latex-sedate">\color</span>{black}}}
@ -690,8 +459,8 @@ Maybe use <code>isosceles</code> instead of regular polygon?
</div>
</div>
<div id="outline-container-org307b1f0" class="outline-3">
<h3 id="org307b1f0"><span class="section-number-3">9.4</span> Size</h3>
<div id="outline-container-org12885b8" class="outline-3">
<h3 id="org12885b8"><span class="section-number-3">9.4</span> Size</h3>
<div class="outline-text-3" id="text-9-4">
<p>
If <code>scale only axis=false</code> (the default), pgfplots will try to produce the desired width including labels, titles and ticks.
@ -703,8 +472,8 @@ If <code>scale only axis=false</code> (the default), pgfplots will try to produc
</div>
</div>
<div id="outline-container-org70303e6" class="outline-3">
<h3 id="org70303e6"><span class="section-number-3">9.5</span> Label</h3>
<div id="outline-container-orge861b28" class="outline-3">
<h3 id="orge861b28"><span class="section-number-3">9.5</span> Label</h3>
<div class="outline-text-3" id="text-9-5">
<p>
Used to align all of ylabel of one figure.
@ -716,8 +485,8 @@ Used to align all of ylabel of one figure.
</div>
</div>
<div id="outline-container-org60b0bc9" class="outline-3">
<h3 id="org60b0bc9"><span class="section-number-3">9.6</span> Legend</h3>
<div id="outline-container-org96a92f4" class="outline-3">
<h3 id="org96a92f4"><span class="section-number-3">9.6</span> Legend</h3>
<div class="outline-text-3" id="text-9-6">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-comment-delimiter">% </span><span class="org-comment">https://tex.stackexchange.com/questions/54794/using-a-pgfplots-style-legend-in-a-plain-old-tikzpicture#54834</span>
@ -754,8 +523,8 @@ Used to align all of ylabel of one figure.
</div>
</div>
<div id="outline-container-org242c2f9" class="outline-3">
<h3 id="org242c2f9"><span class="section-number-3">9.7</span> Upper and Lower bounds</h3>
<div id="outline-container-org71d7b41" class="outline-3">
<h3 id="org71d7b41"><span class="section-number-3">9.7</span> Upper and Lower bounds</h3>
<div class="outline-text-3" id="text-9-7">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzstyle</span>{upperbound}=[line cap=round, postaction={decorate,draw,decoration={border, segment length=0.2cm, amplitude=0.3cm, angle=60}}]
@ -783,8 +552,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org7dfc3fb" class="outline-3">
<h3 id="org7dfc3fb"><span class="section-number-3">9.8</span> Pole</h3>
<div id="outline-container-org8704bd0" class="outline-3">
<h3 id="org8704bd0"><span class="section-number-3">9.8</span> Pole</h3>
<div class="outline-text-3" id="text-9-8">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -803,8 +572,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org232b5eb" class="outline-3">
<h3 id="org232b5eb"><span class="section-number-3">9.9</span> Zero</h3>
<div id="outline-container-orgcdbbedd" class="outline-3">
<h3 id="orgcdbbedd"><span class="section-number-3">9.9</span> Zero</h3>
<div class="outline-text-3" id="text-9-9">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -824,12 +593,12 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org7e8ae8c" class="outline-2">
<h2 id="org7e8ae8c"><span class="section-number-2">10</span> Mechanical</h2>
<div id="outline-container-org1414c13" class="outline-2">
<h2 id="org1414c13"><span class="section-number-2">10</span> Mechanical</h2>
<div class="outline-text-2" id="text-10">
</div>
<div id="outline-container-org4168afd" class="outline-3">
<h3 id="org4168afd"><span class="section-number-3">10.1</span> Spring</h3>
<div id="outline-container-org31c42bc" class="outline-3">
<h3 id="org31c42bc"><span class="section-number-3">10.1</span> Spring</h3>
<div class="outline-text-3" id="text-10-1">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -850,8 +619,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org9393c3a" class="outline-3">
<h3 id="org9393c3a"><span class="section-number-3">10.2</span> Coil</h3>
<div id="outline-container-orgaa21dba" class="outline-3">
<h3 id="orgaa21dba"><span class="section-number-3">10.2</span> Coil</h3>
<div class="outline-text-3" id="text-10-2">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -872,8 +641,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-orgb277e7a" class="outline-3">
<h3 id="orgb277e7a"><span class="section-number-3">10.3</span> Damper</h3>
<div id="outline-container-orgd4a2b31" class="outline-3">
<h3 id="orgd4a2b31"><span class="section-number-3">10.3</span> Damper</h3>
<div class="outline-text-3" id="text-10-3">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -900,8 +669,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-orge2d98e3" class="outline-3">
<h3 id="orge2d98e3"><span class="section-number-3">10.4</span> Actuator</h3>
<div id="outline-container-org6fc4d41" class="outline-3">
<h3 id="org6fc4d41"><span class="section-number-3">10.4</span> Actuator</h3>
<div class="outline-text-3" id="text-10-4">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -931,8 +700,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org5203197" class="outline-3">
<h3 id="org5203197"><span class="section-number-3">10.5</span> Ground</h3>
<div id="outline-container-org2c1b51c" class="outline-3">
<h3 id="org2c1b51c"><span class="section-number-3">10.5</span> Ground</h3>
<div class="outline-text-3" id="text-10-5">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -954,8 +723,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-orge7277b0" class="outline-3">
<h3 id="orge7277b0"><span class="section-number-3">10.6</span> Force Sensor</h3>
<div id="outline-container-org301c773" class="outline-3">
<h3 id="org301c773"><span class="section-number-3">10.6</span> Force Sensor</h3>
<div class="outline-text-3" id="text-10-6">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -984,8 +753,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-orgf823627" class="outline-3">
<h3 id="orgf823627"><span class="section-number-3">10.7</span> Inertial Sensor</h3>
<div id="outline-container-org287a82c" class="outline-3">
<h3 id="org287a82c"><span class="section-number-3">10.7</span> Inertial Sensor</h3>
<div class="outline-text-3" id="text-10-7">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -1013,8 +782,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-orgb1f5b0f" class="outline-3">
<h3 id="orgb1f5b0f"><span class="section-number-3">10.8</span> Axis Rotator</h3>
<div id="outline-container-org7e7628f" class="outline-3">
<h3 id="org7e7628f"><span class="section-number-3">10.8</span> Axis Rotator</h3>
<div class="outline-text-3" id="text-10-8">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate"><span class="org-keyword">\newcommand</span></span>{<span class="org-font-latex-sedate"><span class="org-function-name">\AxisRotator</span></span>}[<span class="org-variable-name">1</span>][<span class="org-variable-name">rotate=0</span>]{<span class="org-function-name"><span class="org-comment">%</span></span>
@ -1025,8 +794,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org762f1f0" class="outline-3">
<h3 id="org762f1f0"><span class="section-number-3">10.9</span> Cross</h3>
<div id="outline-container-org0a02675" class="outline-3">
<h3 id="org0a02675"><span class="section-number-3">10.9</span> Cross</h3>
<div class="outline-text-3" id="text-10-9">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzstyle</span>{cross}=[path picture={
@ -1039,8 +808,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org174927e" class="outline-3">
<h3 id="org174927e"><span class="section-number-3">10.10</span> Piezoelectric actuator</h3>
<div id="outline-container-org9c35987" class="outline-3">
<h3 id="org9c35987"><span class="section-number-3">10.10</span> Piezoelectric actuator</h3>
<div class="outline-text-3" id="text-10-10">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -1057,7 +826,7 @@ And we add the corresdonding
black,
}]
<span class="org-font-latex-sedate">\foreach</span> <span class="org-font-latex-sedate">\i</span> in {1,...,#3}{
(<span class="org-font-latex-math">${</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i/</span></span><span class="org-font-latex-math">(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.north west)+{(1+#3-</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">)/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.south west)+0.1*(#1,0)$</span>) edge (<span class="org-font-latex-math">${</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i/</span></span><span class="org-font-latex-math">(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.north east)+{(1+#3-</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">)/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.south east)-0.1*(#1,0)$</span>)
(<span class="org-font-latex-math">${</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.north west)+{(1+#3-</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">)/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.south west)+0.1*(#1,0)$</span>) edge (<span class="org-font-latex-math">${</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.north east)+{(1+#3-</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\i</span></span><span class="org-font-latex-math">)/(1+#3)}*(</span><span class="org-font-latex-sedate"><span class="org-font-latex-math">\tikzlastnode</span></span><span class="org-font-latex-math">.south east)-0.1*(#1,0)$</span>)
}
}
},
@ -1068,8 +837,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org5adf9aa" class="outline-3">
<h3 id="org5adf9aa"><span class="section-number-3">10.11</span> Voice coil</h3>
<div id="outline-container-orgf71f182" class="outline-3">
<h3 id="orgf71f182"><span class="section-number-3">10.11</span> Voice coil</h3>
<div class="outline-text-3" id="text-10-11">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\def\voicecoil</span>#1#2#3{
@ -1080,7 +849,7 @@ And we add the corresdonding
<span class="org-font-latex-sedate">\def\voicecoilh</span>{#2} <span class="org-comment">% Total Height</span>
<span class="org-font-latex-sedate">\def\magnetw</span>{<span class="org-font-latex-sedate">\voicecoilw</span>} <span class="org-comment">% Width of the magnet</span>
<span class="org-font-latex-sedate">\def\magneth</span>{<span class="org-font-latex-sedate">\voicecoilh/1</span>.4} <span class="org-comment">% Height of the magnet</span>
<span class="org-font-latex-sedate">\def\magneth</span>{<span class="org-font-latex-sedate">\voicecoilh</span>/1.4} <span class="org-comment">% Height of the magnet</span>
<span class="org-font-latex-sedate">\def\magnetwb</span>{0.15*<span class="org-font-latex-sedate">\magnetw</span>} <span class="org-comment">% Width of the borders of the magnet</span>
<span class="org-font-latex-sedate">\def\magnetmw</span>{0.15*<span class="org-font-latex-sedate">\magnetw</span>} <span class="org-comment">% Width of the middle part of the magnet</span>
@ -1095,26 +864,26 @@ And we add the corresdonding
<span class="org-comment">% ======================</span>
<span class="org-comment">% Magnet</span>
<span class="org-comment">% ======================</span>
<span class="org-font-latex-sedate">\draw</span>[fill=white] (0, 0) -| ++(0.5*<span class="org-font-latex-sedate">\magnetw</span>, <span class="org-font-latex-sedate">\magneth</span>) -| ++(-0.5*<span class="org-font-latex-sedate">\magnetw+0</span>.5*<span class="org-font-latex-sedate">\magnetwg</span>, -<span class="org-font-latex-sedate">\magnethg</span>) -| (0.5*<span class="org-font-latex-sedate">\magnetw-\magnetwb</span>, <span class="org-font-latex-sedate">\magnethl</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetw+\magnetwb</span>, <span class="org-font-latex-sedate">\magneth-\magnethg</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetwg</span>, <span class="org-font-latex-sedate">\magneth</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetw</span>, 0) -- (cycle);
<span class="org-font-latex-sedate">\draw</span>[fill=white] (0, 0) -| ++(0.5*<span class="org-font-latex-sedate">\magnetw</span>, <span class="org-font-latex-sedate">\magneth</span>) -| ++(-0.5*<span class="org-font-latex-sedate">\magnetw</span>+0.5*<span class="org-font-latex-sedate">\magnetwg</span>, -<span class="org-font-latex-sedate">\magnethg</span>) -| (0.5*<span class="org-font-latex-sedate">\magnetw</span>-<span class="org-font-latex-sedate">\magnetwb</span>, <span class="org-font-latex-sedate">\magnethl</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetw</span>+<span class="org-font-latex-sedate">\magnetwb</span>, <span class="org-font-latex-sedate">\magneth</span>-<span class="org-font-latex-sedate">\magnethg</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetwg</span>, <span class="org-font-latex-sedate">\magneth</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetw</span>, 0) -- (cycle);
<span class="org-font-latex-sedate"><span class="org-keyword">\begin</span></span>{<span class="org-function-name">scope</span>}[shift={(0, <span class="org-font-latex-sedate">\magnethl</span>)}]
<span class="org-font-latex-sedate">\draw</span>[fill=red] (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, 0) rectangle (0.5*<span class="org-font-latex-sedate">\magnetmw</span>, <span class="org-font-latex-sedate">\magnetmh</span>);
<span class="org-font-latex-sedate">\draw</span>[fill=blue] (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, <span class="org-font-latex-sedate">\magnetmh</span>) rectangle (0.5*<span class="org-font-latex-sedate">\magnetmw</span>, 2*<span class="org-font-latex-sedate">\magnetmh</span>);
<span class="org-comment">% Top conductive Magnet</span>
<span class="org-font-latex-sedate">\draw</span>[fill=white] (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, 2*<span class="org-font-latex-sedate">\magnetmh</span>) -| (0.5*<span class="org-font-latex-sedate">\magnetmw</span>, -<span class="org-font-latex-sedate">\magnethl+\magneth-\magnethg</span>) -| ++(0.1, <span class="org-font-latex-sedate">\magnethg</span>) -| ++(-0.2-<span class="org-font-latex-sedate">\magnetmw</span>, -<span class="org-font-latex-sedate">\magnethg</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, <span class="org-font-latex-sedate">\magnetmh</span>);
<span class="org-font-latex-sedate">\draw</span>[fill=white] (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, 2*<span class="org-font-latex-sedate">\magnetmh</span>) -| (0.5*<span class="org-font-latex-sedate">\magnetmw</span>, -<span class="org-font-latex-sedate">\magnethl</span>+<span class="org-font-latex-sedate">\magneth</span>-<span class="org-font-latex-sedate">\magnethg</span>) -| ++(0.1, <span class="org-font-latex-sedate">\magnethg</span>) -| ++(-0.2-<span class="org-font-latex-sedate">\magnetmw</span>, -<span class="org-font-latex-sedate">\magnethg</span>) -| (-0.5*<span class="org-font-latex-sedate">\magnetmw</span>, <span class="org-font-latex-sedate">\magnetmh</span>);
<span class="org-font-latex-sedate"><span class="org-keyword">\end</span></span>{<span class="org-function-name">scope</span>}
<span class="org-comment">% ======================</span>
<span class="org-comment">% ======================</span>
<span class="org-comment">% Coil</span>
<span class="org-comment">% ======================</span>
<span class="org-font-latex-sedate">\pgfmathsetmacro</span>{<span class="org-font-latex-sedate">\coilwidth</span>}{0.5*0.5*<span class="org-font-latex-sedate">\magnetmw+0</span>.5*0.1+0.25*<span class="org-font-latex-sedate">\magnetwg</span>}<span class="org-comment">%</span>
<span class="org-font-latex-sedate">\pgfmathsetmacro</span>{<span class="org-font-latex-sedate">\coilwidth</span>}{0.5*0.5*<span class="org-font-latex-sedate">\magnetmw</span>+0.5*0.1+0.25*<span class="org-font-latex-sedate">\magnetwg</span>}<span class="org-comment">%</span>
<span class="org-font-latex-sedate">\draw</span>[] ( <span class="org-font-latex-sedate">\coilwidth</span>, 0.5*<span class="org-font-latex-sedate">\magneth</span>) -- ++(0, 0.7*<span class="org-font-latex-sedate">\magneth</span>);
<span class="org-font-latex-sedate">\draw</span>[] (-<span class="org-font-latex-sedate">\coilwidth</span>, 0.5*<span class="org-font-latex-sedate">\magneth</span>) -- ++(0, 0.7*<span class="org-font-latex-sedate">\magneth</span>);
<span class="org-comment">% Point on the coil</span>
<span class="org-font-latex-sedate">\foreach</span> <span class="org-font-latex-sedate">\x</span> in {0,1,...,9}
{
<span class="org-font-latex-sedate">\node</span>[circle,inner sep=0.6pt,fill] at ( <span class="org-font-latex-sedate">\coilwidth</span>, <span class="org-font-latex-sedate">\x*0</span>.7*<span class="org-font-latex-sedate">\magneth/10+0</span>.5*<span class="org-font-latex-sedate">\magneth</span>);
<span class="org-font-latex-sedate">\node</span>[circle,inner sep=0.6pt,fill] at (-<span class="org-font-latex-sedate">\coilwidth</span>, <span class="org-font-latex-sedate">\x*0</span>.7*<span class="org-font-latex-sedate">\magneth/10+0</span>.5*<span class="org-font-latex-sedate">\magneth</span>);
<span class="org-font-latex-sedate">\node</span>[circle,inner sep=0.6pt,fill] at ( <span class="org-font-latex-sedate">\coilwidth</span>, <span class="org-font-latex-sedate">\x</span>*0.7*<span class="org-font-latex-sedate">\magneth</span>/10+0.5*<span class="org-font-latex-sedate">\magneth</span>);
<span class="org-font-latex-sedate">\node</span>[circle,inner sep=0.6pt,fill] at (-<span class="org-font-latex-sedate">\coilwidth</span>, <span class="org-font-latex-sedate">\x</span>*0.7*<span class="org-font-latex-sedate">\magneth</span>/10+0.5*<span class="org-font-latex-sedate">\magneth</span>);
}
<span class="org-font-latex-sedate">\draw</span>[fill=white] (-0.5*<span class="org-font-latex-sedate">\magnetw</span>, 1.2*<span class="org-font-latex-sedate">\magneth</span>) rectangle ++(<span class="org-font-latex-sedate">\magnetw</span>, <span class="org-font-latex-sedate">\magnethg</span>);
<span class="org-comment">% ======================</span>
@ -1123,7 +892,7 @@ And we add the corresdonding
<span class="org-comment">% Coordinates</span>
<span class="org-comment">% ======================</span>
<span class="org-comment">% Force</span>
<span class="org-font-latex-sedate">\coordinate</span>[] (vc_force) at (0, <span class="org-font-latex-sedate">\magneth-0</span>.5*<span class="org-font-latex-sedate">\magnethg</span>);
<span class="org-font-latex-sedate">\coordinate</span>[] (vc_force) at (0, <span class="org-font-latex-sedate">\magneth</span>-0.5*<span class="org-font-latex-sedate">\magnethg</span>);
<span class="org-comment">% Coil</span>
<span class="org-font-latex-sedate">\coordinate</span>[] (vc_coil) at (0, <span class="org-font-latex-sedate">\voicecoilh</span>);
<span class="org-comment">% Magnet</span>
@ -1140,8 +909,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org1b4e825" class="outline-2">
<h2 id="org1b4e825"><span class="section-number-2">11</span> Optics</h2>
<div id="outline-container-org790fa7d" class="outline-2">
<h2 id="org790fa7d"><span class="section-number-2">11</span> Optics</h2>
<div class="outline-text-2" id="text-11">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -1169,8 +938,8 @@ And we add the corresdonding
</div>
</div>
<div id="outline-container-org506bf1a" class="outline-2">
<h2 id="org506bf1a"><span class="section-number-2">12</span> Misc</h2>
<div id="outline-container-org9e37287" class="outline-2">
<h2 id="org9e37287"><span class="section-number-2">12</span> Misc</h2>
<div class="outline-text-2" id="text-12">
<div class="org-src-container">
<pre class="src src-latex"><span class="org-font-latex-sedate">\tikzset</span>{<span class="org-comment">%</span>
@ -1189,8 +958,7 @@ And we add the corresdonding
</div>
<div id="postamble" class="status">
<p class="author">Author: Thomas Dehaeze</p>
<p class="date">Created: 2019-07-22 lun. 09:28</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
<p class="date">Created: 2020-11-12 jeu. 10:43</p>
</div>
</body>
</html>

View File

@ -1,15 +1,14 @@
#+TITLE: LaTeX Configuration for Tikz export
:drawer:
#+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 src="../js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script src="../js/readtheorg.js"></script>
:DRAWER:
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
#+PROPERTY: header-args:latex+ :tangle config.tex
#+PROPERTY: header-args:latex+ :exports code
:end:
:END:
* Packages
#+begin_src latex

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,10 @@
#+TITLE: Sensor Fusion Paper - Tikz Figures
:DRAWER:
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_LINK_UP: ../index.html
#+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 src="../js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script src="../js/readtheorg.js"></script>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://research.tdehaeze.xyz/css/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{/home/thomas/Cloud/thesis/papers/dehaeze20_virtu_senso_fusio/tikz}{config.tex}")
#+PROPERTY: header-args:latex+ :imagemagick t :fit yes