New name for module locations, some fixes

This commit is contained in:
thenetworkgrinch
2023-03-09 21:48:47 -06:00
parent ec958aecaa
commit ac920249ac
119 changed files with 344 additions and 267 deletions

View File

@@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Wed Mar 08 23:33:54 CST 2023 -->
<!-- Generated by javadoc (17) on Thu Mar 09 21:47:59 CST 2023 -->
<title>LocationJson</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2023-03-08">
<meta name="dc.created" content="2023-03-09">
<meta name="description" content="declaration: package: swervelib.parser.json.modules, class: LocationJson">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
@@ -75,7 +75,7 @@ loadScripts(document, 'script');</script>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">LocationJson</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
<div class="block">Location JSON parsed class. Used to access the JSON data. Module locations, in inches, as distances to the center of
the robot. Positive x is torwards the robot front, and * +y is torwards robot left.</div>
the robot. +x is towards the robot front, and +y is towards robot left.</div>
</section>
<section class="summary">
<ul class="summary-list">
@@ -89,6 +89,16 @@ loadScripts(document, 'script');</script>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>double</code></div>
<div class="col-second even-row-color"><code><a href="#front" class="member-name-link">front</a></code></div>
<div class="col-last even-row-color">
<div class="block">Location of the swerve module in inches from the center of the robot horizontally.</div>
</div>
<div class="col-first odd-row-color"><code>double</code></div>
<div class="col-second odd-row-color"><code><a href="#left" class="member-name-link">left</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Location of the swerve module in inches from the center of the robot vertically.</div>
</div>
<div class="col-first even-row-color"><code>double</code></div>
<div class="col-second even-row-color"><code><a href="#x" class="member-name-link">x</a></code></div>
<div class="col-last even-row-color">
<div class="block">Location of the swerve module in inches from the center of the robot horizontally.</div>
@@ -133,6 +143,13 @@ loadScripts(document, 'script');</script>
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="front">
<h3>front</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">front</span></div>
<div class="block">Location of the swerve module in inches from the center of the robot horizontally.</div>
</section>
</li>
<li>
<section class="detail" id="x">
<h3>x</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">x</span></div>
@@ -140,6 +157,13 @@ loadScripts(document, 'script');</script>
</section>
</li>
<li>
<section class="detail" id="left">
<h3>left</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">left</span></div>
<div class="block">Location of the swerve module in inches from the center of the robot vertically.</div>
</section>
</li>
<li>
<section class="detail" id="y">
<h3>y</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">y</span></div>