You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p> Each test program above (<ahref="./StraightTest.html">Straight Test</a>, <ahref="./SplineTest.html">Spline Test</a>, and <ahref="./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>
354
+
<p> The graph will be made in <ahref="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>
355
+
<mathxmlns="http://www.w3.org/1998/Math/MathML">
356
+
<msqrt>
357
+
<mrow>
358
+
<msup>
359
+
<mrow>
360
+
<mo>(</mo>
361
+
<msub>
362
+
<mi>x</mi>
363
+
<mtext>localizer</mtext>
364
+
</msub>
365
+
<mo>-</mo>
366
+
<msub>
367
+
<mi>x</mi>
368
+
<mtext>target</mtext>
369
+
</msub>
370
+
<mo>)</mo>
371
+
</mrow>
372
+
<mn>2</mn>
373
+
</msup>
374
+
<mo>+</mo>
375
+
<msup>
376
+
<mrow>
377
+
<mo>(</mo>
378
+
<msub>
379
+
<mi>y</mi>
380
+
<mtext>localizer</mtext>
381
+
</msub>
382
+
<mo>-</mo>
383
+
<msub>
384
+
<mi>y</mi>
385
+
<mtext>target</mtext>
386
+
</msub>
387
+
<mo>)</mo>
388
+
</mrow>
389
+
<mn>2</mn>
390
+
</msup>
391
+
</mrow>
392
+
</msqrt>
393
+
</math>
394
+
<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>
0 commit comments