Skip to content

Commit

Permalink
Finished content
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushYadlapati committed Jul 26, 2024
1 parent af026f5 commit 41f5767
Show file tree
Hide file tree
Showing 5 changed files with 514 additions and 6 deletions.
19 changes: 17 additions & 2 deletions book/odometry/OdometryTesting.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<link rel="stylesheet" href="../highlight.css">
<link rel="stylesheet" href="../tomorrow-night.css">
<link rel="stylesheet" href="../ayu-highlight.css">
<link rel="stylesheet" href="../solvers-light-highlight.css">
<link rel="stylesheet" href="../solvers-dark-highlight.css">

<!-- Custom theme stylesheets -->

Expand Down Expand Up @@ -132,6 +134,8 @@
<i class="fa fa-paint-brush"></i>
</button>
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
<li role="none"><button role="menuitem" class="theme" id="solvers-light">Solvers Light</button></li>
<li role="none"><button role="menuitem" class="theme" id="solvers-dark">Solvers Dark</button></li>
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
Expand Down Expand Up @@ -350,7 +354,7 @@ <h3 id="software"><a class="header" href="#software">Software:</a></h3>
</style>
<hr />
<h3 id="analysis"><a class="header" href="#analysis">Analysis</a></h3>
<p>        Each test program above (<a href="./StraightTest.html">Straight Test</a>, <a href="./SplineTest.html">Spline Test</a>, and <a href="./CombinedTest.html">Combined Test</a>) returns two results at the end of the program - the pose of the robot after each cycle, and a graph that has data plotted after each trajectory is complete.</p>
<p>        Each test program above (<a href="./StraightTest.html">Straight Test</a>, <a href="./SplineTest.html">Spline Test</a>, and <a href="./CombinedTest.html">Combined Test</a>) returns two results at the end of the program - the pose of the robot after each cycle, and a graph that has data plotted after each trajectory is complete. During the program, telemetry of the pose of the most recent trajectory completed and distance the robot has linearly traveled will be displayed - these are the two results that will be plotted in the graph.</p>
<p>        The graph will be made in <a href="https://acmerobotics.github.io/ftc-dashboard/">FTC Dashboard</a>. The y-axis will represent the current error after each trajectory has been completed via this formula:</p>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msqrt>
Expand Down Expand Up @@ -391,7 +395,18 @@ <h3 id="analysis"><a class="header" href="#analysis">Analysis</a></h3>
</mrow>
</msqrt>
</math>
<p>And the x-axis will represent distance travelled linearly. In other words, after each trajectory, a point is plotting representing the error of the robot based off distance traveled.</p>
<p>        On the other hand, the x-axis will represent distance travelled linearly. In other words, after each trajectory, a point is plotting representing the error of the robot based off distance traveled.</p>
<p>        A perfect odometry wheel will always have a y-axis of 0, since there is no error no matter the distance traveled, but most odometry wheels with error will likely have a graph with positive correlation (slope is upwards), as the x-axis (distance traveled) will have a more and more profound effect. This occurs because positional error tends to compound.</p>
<p>        Based off the graph and the points plotted, we can create a line of linear best fit using the formula \( y = mx + b \) from points plotted in Excel/Google Sheets from the data outputted from <a href="https://acmerobotics.github.io/ftc-dashboard/">FTC Dashboard</a>.</p>
<hr />
<h3 id="results"><a class="header" href="#results">Results</a></h3>
<p>In total, the following items will be returned for each odometry wheel tested for each individual test program (<a href="./StraightTest.html">Straight Test</a>, <a href="./SplineTest.html">Spline Test</a>, and <a href="./CombinedTest.html">Combined Test</a>):</p>
<ol>
<li>Pose after each cycle (ideal pose is 0,0)</li>
<li>A graph in Excel/Google Spreadsheet from the data outputted from <a href="https://acmerobotics.github.io/ftc-dashboard/">FTC Dashboard</a> that shows the error after each trajectory has been completed, along with a line of best fit</li>
<li>The slope of the line of the best fit</li>
</ol>
<p>As there are three testing programs, each odometry wheel will have 3 different result files (3 poses, 3 graphs, and 3 line of best fit slopes). These three can be compared to other vendors' odometry wheels to come to a final conclusion.</p>

</main>

Expand Down
2 changes: 1 addition & 1 deletion book/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/searchindex.json

Large diffs are not rendered by default.

Loading

0 comments on commit 41f5767

Please sign in to comment.