Removed requirement for odometry to be called in the subsystem.

This commit is contained in:
thenetworkgrinch
2023-08-29 21:03:58 -05:00
parent 12f6e0ed38
commit 14f66bb679
120 changed files with 353 additions and 1826 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Tue Aug 29 19:54:45 CDT 2023 -->
<!-- Generated by javadoc (17) on Tue Aug 29 21:02:56 CDT 2023 -->
<title>SwerveMath</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -107,8 +107,8 @@ loadScripts(document, 'script');</script>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#antiJitter(swervelib.math.SwerveModuleState2,swervelib.math.SwerveModuleState2,double)" class="member-name-link">antiJitter</a><wbr>(<a href="SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;moduleState,
<a href="SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;lastModuleState,
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#antiJitter(edu.wpi.first.math.kinematics.SwerveModuleState,edu.wpi.first.math.kinematics.SwerveModuleState,double)" class="member-name-link">antiJitter</a><wbr>(edu.wpi.first.math.kinematics.SwerveModuleState&nbsp;moduleState,
edu.wpi.first.math.kinematics.SwerveModuleState&nbsp;lastModuleState,
double&nbsp;maxSpeed)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Perform anti-jitter within modules if the speed requested is too low.</div>
@@ -438,16 +438,16 @@ loadScripts(document, 'script');</script>
</section>
</li>
<li>
<section class="detail" id="antiJitter(swervelib.math.SwerveModuleState2,swervelib.math.SwerveModuleState2,double)">
<section class="detail" id="antiJitter(edu.wpi.first.math.kinematics.SwerveModuleState,edu.wpi.first.math.kinematics.SwerveModuleState,double)">
<h3>antiJitter</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">antiJitter</span><wbr><span class="parameters">(<a href="SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;moduleState,
<a href="SwerveModuleState2.html" title="class in swervelib.math">SwerveModuleState2</a>&nbsp;lastModuleState,
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">antiJitter</span><wbr><span class="parameters">(edu.wpi.first.math.kinematics.SwerveModuleState&nbsp;moduleState,
edu.wpi.first.math.kinematics.SwerveModuleState&nbsp;lastModuleState,
double&nbsp;maxSpeed)</span></div>
<div class="block">Perform anti-jitter within modules if the speed requested is too low.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>moduleState</code> - Current <a href="SwerveModuleState2.html" title="class in swervelib.math"><code>SwerveModuleState2</code></a> requested.</dd>
<dd><code>lastModuleState</code> - Previous <a href="SwerveModuleState2.html" title="class in swervelib.math"><code>SwerveModuleState2</code></a> used.</dd>
<dd><code>moduleState</code> - Current <code>SwerveModuleState</code> requested.</dd>
<dd><code>lastModuleState</code> - Previous <code>SwerveModuleState</code> used.</dd>
<dd><code>maxSpeed</code> - Maximum speed of the modules, should be in <a href="../parser/SwerveDriveConfiguration.html#maxSpeed"><code>SwerveDriveConfiguration.maxSpeed</code></a>.</dd>
</dl>
</section>