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>SwerveModule</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, class: SwerveModule">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
@@ -197,8 +197,9 @@ loadScripts(document, 'script');</script>
<div class="block">Set the angle for the module.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDesiredState(swervelib.math.SwerveModuleState2,boolean)" class="member-name-link">setDesiredState</a><wbr>(<a href="math/SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;desiredState,
boolean&nbsp;isOpenLoop)</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDesiredState(swervelib.math.SwerveModuleState2,boolean,boolean)" class="member-name-link">setDesiredState</a><wbr>(<a href="math/SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;desiredState,
boolean&nbsp;isOpenLoop,
boolean&nbsp;force)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the desired state of the swerve module.</div>
</div>
@@ -336,15 +337,18 @@ loadScripts(document, 'script');</script>
</section>
</li>
<li>
<section class="detail" id="setDesiredState(swervelib.math.SwerveModuleState2,boolean)">
<section class="detail" id="setDesiredState(swervelib.math.SwerveModuleState2,boolean,boolean)">
<h3>setDesiredState</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setDesiredState</span><wbr><span class="parameters">(<a href="math/SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;desiredState,
boolean&nbsp;isOpenLoop)</span></div>
boolean&nbsp;isOpenLoop,
boolean&nbsp;force)</span></div>
<div class="block">Set the desired state of the swerve module.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>desiredState</code> - Desired swerve module state.</dd>
<dd><code>isOpenLoop</code> - Whether to use open loop (direct percent) or direct velocity control.</dd>
<dd><code>force</code> - Disables optimizations that prevent movement in the angle motor and forces the desired state
onto the swerve module.</dd>
</dl>
</section>
</li>