Skip to content

Commit

Permalink
Automated deployment: Wed Mar 20 10:40:55 UTC 2024 35378a8
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinealb committed Mar 20, 2024
1 parent 5492442 commit cac1762
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 107 deletions.
2 changes: 1 addition & 1 deletion architecture/hardware2020/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>2020 hardware architecture - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion architecture/history/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>History & Design - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion architecture/life-of-a-motion/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Life of a motion - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/adapter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>CAN USB adapter - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/beacon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Beacon board - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/bootloader/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>CAN bootloader - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
14 changes: 7 additions & 7 deletions can/intro/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>CAN Ecosystem - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down Expand Up @@ -151,15 +151,15 @@ <h1>
<div class="album">
<div class="row">
<div class="large-6 columns container">
<a href="../motor.md">
<a href="../motor">
<img src="../images/motor-board.jpg" class="image">
<div class="overlay">
<div class="text">Motor board</div>
</div>
</a>
</div>
<div class="large-6 columns container">
<a href="../io.md">
<a href="../io">
<img src="../images/io-board.jpg" class="image">
<div class="overlay">
<div class="text">IO board</div>
Expand All @@ -169,15 +169,15 @@ <h1>
</div>
<div class="row">
<div class="large-6 columns container">
<a href="../sensor.md">
<a href="../sensor">
<img src="../images/sensor-board.jpg" class="image">
<div class="overlay">
<div class="text">Sensor board</div>
</div>
</a>
</div>
<div class="large-6 columns container">
<a href="../beacon.md">
<a href="../beacon">
<img src="../images/beacon-board.jpg" class="image">
<div class="overlay">
<div class="text">Beacon board</div>
Expand All @@ -187,15 +187,15 @@ <h1>
</div>
<div class="row">
<div class="large-6 columns container">
<a href="../adapter.md">
<a href="../adapter">
<img src="../images/can-adapter.jpg" class="image">
<div class="overlay">
<div class="text">CAN adapter</div>
</div>
</a>
</div>
<div class="large-6 columns container">
<a href="../bootloader.md">
<a href="../bootloader">
<img src="../images/bootloader.png" class="image">
<div class="overlay">
<div class="text">CAN bootloader</div>
Expand Down
2 changes: 1 addition & 1 deletion can/io/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>IO board - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/motor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Motor board - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/positioning/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Positioning system - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion can/sensor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Sensor board - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion design/linux-master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Master firmware on Linux - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion howto/add_a_uavcan_message/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Handle new UAVCAN data types - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
12 changes: 6 additions & 6 deletions howto/calibrate-odometry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Calibrate the odometry - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down Expand Up @@ -200,9 +200,9 @@ <h2 id="wheel-diameter-difference-calibration">Wheel diameter difference calibra
<span class="c1">// distance (0.5 * (left_pulse * left_gain + right_pulse * right_gain)).</span>
<span class="c1">// delta_angle is the difference between the pulse count of the left wheel</span>
<span class="c1">// and the right wheel, also taking wheel gain into account.</span>
<span class="kt">float</span><span class="w"> </span><span class="n">factor</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">delta_angle</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">total_distance</span><span class="p">;</span><span class="w"></span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_left_gain</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mf">1.</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">factor</span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">old_left_gain</span><span class="p">;</span><span class="w"></span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_right_gain</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mf">1.</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">factor</span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">old_right_gain</span><span class="p">;</span><span class="w"></span>
<span class="kt">float</span><span class="w"> </span><span class="n">factor</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">delta_angle</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">total_distance</span><span class="p">;</span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_left_gain</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mf">1.</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">factor</span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">old_left_gain</span><span class="p">;</span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_right_gain</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="mf">1.</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">factor</span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">old_right_gain</span><span class="p">;</span>
</code></pre></div>

<p>Once you have a rough working estimation, you can repeat the measurement but repeating steps 3 to 6 a few times to increase the error.
Expand All @@ -211,7 +211,7 @@ <h2 id="wheel-diameter-difference-calibration">Wheel diameter difference calibra
<h2 id="number-of-encoder-steps-per-mm">Number of encoder steps per mm</h2>
<p>This step is quite trivial to do: we ask the robot to move forward for 2 meters and we measure the real distance it moved.
We can then compute the new number of pulses using:</p>
<div class="codehilite"><pre><span></span><code><span class="n">new_pulse_per_mm</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">old_pulse_per_mm</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="p">(</span><span class="n">real_distance</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">asked_distance</span><span class="p">);</span><span class="w"></span>
<div class="codehilite"><pre><span></span><code><span class="n">new_pulse_per_mm</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">old_pulse_per_mm</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="p">(</span><span class="n">real_distance</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">asked_distance</span><span class="p">);</span>
</code></pre></div>

<p>This method is accurate to about 0.1% (2 mm over 2 meters), but it is also the least important parameter here.</p>
Expand All @@ -227,7 +227,7 @@ <h2 id="track-of-the-robot">Track of the robot</h2>
</ol>
<p>You can now compute the new track of the robot using the angle measured by the odometry:</p>
<div class="codehilite"><pre><span></span><code><span class="c1">// count = number of turns done by the robot, start with 1</span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_track</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">old_track</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="p">(</span><span class="n">delta_angle</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="p">(</span><span class="mf">2.</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">M_PI</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">count</span><span class="p">)));</span><span class="w"></span>
<span class="kt">float</span><span class="w"> </span><span class="n">new_track</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">old_track</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="p">(</span><span class="mi">1</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="p">(</span><span class="n">delta_angle</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="p">(</span><span class="mf">2.</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">M_PI</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">count</span><span class="p">)));</span>
</code></pre></div>

<p>Once calibrated you can restart the experiment and do more than one full turn, we usually stop at 10 turns.</p>
Expand Down
2 changes: 1 addition & 1 deletion howto/install_arm_gcc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Install the ARM compiler - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Home - CVRA Robot Software</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="generator" content="mkdocs-1.2.3, mkdocs-gitbook-1.0.7">
<meta name="generator" content="mkdocs-1.5.3, mkdocs-gitbook-1.0.7">

<link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon">
<meta name="HandheldFriendly" content="true"/>
Expand Down
80 changes: 0 additions & 80 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,83 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-03-20</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit cac1762

Please sign in to comment.