Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
changed usage of SwerveDrivingSpeeds and renamed to ControlsConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielseaver9678 committed Feb 19, 2022
1 parent 4d29f67 commit b631c6e
Show file tree
Hide file tree
Showing 36 changed files with 146 additions and 254 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions swervelib/build/docs/javadoc/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</th>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><a href="frc/team1711/swerve/subsystems/SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.SwerveDrivingSpeeds</a></td>
<td class="colFirst"><a href="frc/team1711/swerve/subsystems/SwerveDrive.ControlsConfig.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.ControlsConfig</a></td>
<th class="colLast" scope="row">
<div class="block">A class representing the configuration of relative speeds for <a href="frc/team1711/swerve/subsystems/SwerveDrive.html" title="class in frc.team1711.swerve.subsystems"><code>SwerveDrive</code></a> in
<a href="frc/team1711/swerve/subsystems/SwerveDrive.html#userInputDrive(double,double,double,frc.team1711.swerve.util.InputHandler)"><code>SwerveDrive.userInputDrive(double, double, double, InputHandler)</code></a>.</div>
<a href="frc/team1711/swerve/subsystems/SwerveDrive.html#userInputDrive(double,double,double,frc.team1711.swerve.subsystems.SwerveDrive.ControlsConfig)"><code>SwerveDrive.userInputDrive(double, double, double, ControlsConfig)</code></a>, along with
an <a href="frc/team1711/swerve/util/InputHandler.html" title="class in frc.team1711.swerve.util"><code>InputHandler</code></a> which handles user-generated input.</div>
</th>
</tr>
<tr id="i11" class="rowColor">
Expand Down
2 changes: 1 addition & 1 deletion swervelib/build/docs/javadoc/allclasses.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="frc/team1711/swerve/util/InputHandler.html" title="class in frc.team1711.swerve.util">InputHandler</a></li>
<li><a href="frc/team1711/swerve/util/InputHandler.Curve.html" title="interface in frc.team1711.swerve.util"><span class="interfaceName">InputHandler.Curve</span></a></li>
<li><a href="frc/team1711/swerve/subsystems/SwerveDrive.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive</a></li>
<li><a href="frc/team1711/swerve/subsystems/SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.SwerveDrivingSpeeds</a></li>
<li><a href="frc/team1711/swerve/subsystems/SwerveDrive.ControlsConfig.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.ControlsConfig</a></li>
<li><a href="frc/team1711/swerve/subsystems/SwerveWheel.html" title="class in frc.team1711.swerve.subsystems">SwerveWheel</a></li>
<li><a href="frc/team1711/swerve/util/Vector.html" title="class in frc.team1711.swerve.util">Vector</a></li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
Expand Down Expand Up @@ -171,24 +171,7 @@ <h3>Nested Class Summary</h3>
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;frc.team1711.swerve.subsystems.<a href="SwerveDrive.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive</a></h3>
<code><a href="SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.SwerveDrivingSpeeds</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.frc.team1711.swerve.subsystems.SwerveDrive">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;frc.team1711.swerve.subsystems.<a href="SwerveDrive.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive</a></h3>
<code><a href="SwerveDrive.html#swerveDrivingSpeeds">swerveDrivingSpeeds</a></code></li>
<code><a href="SwerveDrive.ControlsConfig.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.ControlsConfig</a></code></li>
</ul>
</li>
</ul>
Expand All @@ -207,13 +190,12 @@ <h3>Constructor Summary</h3>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(edu.wpi.first.wpilibj.interfaces.Gyro,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,double,frc.team1711.swerve.subsystems.SwerveDrive.SwerveDrivingSpeeds)">AutoSwerveDrive</a></span>&#8203;(edu.wpi.first.wpilibj.interfaces.Gyro&nbsp;gyro,
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(edu.wpi.first.wpilibj.interfaces.Gyro,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,double)">AutoSwerveDrive</a></span>&#8203;(edu.wpi.first.wpilibj.interfaces.Gyro&nbsp;gyro,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;flWheel,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;frWheel,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;rlWheel,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;rrWheel,
double&nbsp;wheelbaseToTrackRatio,
<a href="SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.SwerveDrivingSpeeds</a>&nbsp;swerveDrivingSpeeds)</code></th>
double&nbsp;wheelbaseToTrackRatio)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>AutoSwerveDrive</code> given <a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems"><code>AutoSwerveWheel</code></a> wheels.</div>
</td>
Expand Down Expand Up @@ -257,14 +239,14 @@ <h3>Method Summary</h3>
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;frc.team1711.swerve.subsystems.<a href="GyroSwerveDrive.html" title="class in frc.team1711.swerve.subsystems">GyroSwerveDrive</a></h3>
<code><a href="GyroSwerveDrive.html#calibrateGyro()">calibrateGyro</a>, <a href="GyroSwerveDrive.html#fieldRelativeUserInputDrive(double,double,double,frc.team1711.swerve.util.InputHandler)">fieldRelativeUserInputDrive</a>, <a href="GyroSwerveDrive.html#getGyroAngle()">getGyroAngle</a>, <a href="GyroSwerveDrive.html#resetGyro()">resetGyro</a></code></li>
<code><a href="GyroSwerveDrive.html#calibrateGyro()">calibrateGyro</a>, <a href="GyroSwerveDrive.html#fieldRelativeUserInputDrive(double,double,double,frc.team1711.swerve.subsystems.SwerveDrive.ControlsConfig)">fieldRelativeUserInputDrive</a>, <a href="GyroSwerveDrive.html#getGyroAngle()">getGyroAngle</a>, <a href="GyroSwerveDrive.html#resetGyro()">resetGyro</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.frc.team1711.swerve.subsystems.SwerveDrive">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;frc.team1711.swerve.subsystems.<a href="SwerveDrive.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive</a></h3>
<code><a href="SwerveDrive.html#autoDrive(double,double,double)">autoDrive</a>, <a href="SwerveDrive.html#initSendable(edu.wpi.first.util.sendable.SendableBuilder)">initSendable</a>, <a href="SwerveDrive.html#setSwerveDrivingSpeeds(frc.team1711.swerve.subsystems.SwerveDrive.SwerveDrivingSpeeds)">setSwerveDrivingSpeeds</a>, <a href="SwerveDrive.html#steerAllWithinRange(double,double)">steerAllWithinRange</a>, <a href="SwerveDrive.html#steerAndDriveAll(double,double)">steerAndDriveAll</a>, <a href="SwerveDrive.html#stop()">stop</a>, <a href="SwerveDrive.html#userInputDrive(double,double,double,frc.team1711.swerve.util.InputHandler)">userInputDrive</a></code></li>
<code><a href="SwerveDrive.html#autoDrive(double,double,double)">autoDrive</a>, <a href="SwerveDrive.html#initSendable(edu.wpi.first.util.sendable.SendableBuilder)">initSendable</a>, <a href="SwerveDrive.html#steerAllWithinRange(double,double)">steerAllWithinRange</a>, <a href="SwerveDrive.html#steerAndDriveAll(double,double)">steerAndDriveAll</a>, <a href="SwerveDrive.html#stop()">stop</a>, <a href="SwerveDrive.html#userInputDrive(double,double,double,frc.team1711.swerve.subsystems.SwerveDrive.ControlsConfig)">userInputDrive</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.edu.wpi.first.wpilibj2.command.SubsystemBase">
Expand Down Expand Up @@ -303,7 +285,7 @@ <h3>Methods inherited from interface&nbsp;edu.wpi.first.wpilibj2.command.Subsyst
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(edu.wpi.first.wpilibj.interfaces.Gyro,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,double,frc.team1711.swerve.subsystems.SwerveDrive.SwerveDrivingSpeeds)">
<a id="&lt;init&gt;(edu.wpi.first.wpilibj.interfaces.Gyro,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,frc.team1711.swerve.subsystems.AutoSwerveWheel,double)">
<!-- -->
</a>
<ul class="blockListLast">
Expand All @@ -314,8 +296,7 @@ <h4>AutoSwerveDrive</h4>
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;frWheel,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;rlWheel,
<a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems">AutoSwerveWheel</a>&nbsp;rrWheel,
double&nbsp;wheelbaseToTrackRatio,
<a href="SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems">SwerveDrive.SwerveDrivingSpeeds</a>&nbsp;swerveDrivingSpeeds)</pre>
double&nbsp;wheelbaseToTrackRatio)</pre>
<div class="block">Creates a new <code>AutoSwerveDrive</code> given <a href="AutoSwerveWheel.html" title="class in frc.team1711.swerve.subsystems"><code>AutoSwerveWheel</code></a> wheels.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
Expand All @@ -326,7 +307,6 @@ <h4>AutoSwerveDrive</h4>
<dd><code>rrWheel</code> - The rear right <code>AutoSwerveWheel</code></dd>
<dd><code>wheelbaseToTrackRatio</code> - The distance between the centers of the left and right wheels divided
by the distance between the centers of the front and back wheels</dd>
<dd><code>swerveDrivingSpeeds</code> - The <a href="SwerveDrive.SwerveDrivingSpeeds.html" title="class in frc.team1711.swerve.subsystems"><code>SwerveDrive.SwerveDrivingSpeeds</code></a> configuration</dd>
</dl>
</li>
</ul>
Expand Down Expand Up @@ -422,7 +402,7 @@ <h4>getDistanceTraveled</h4>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
Expand Down
Loading

0 comments on commit b631c6e

Please sign in to comment.