Added new SparkMAX analog encoder option, fixed 'none' absolute encoder type

This commit is contained in:
thenetworkgrinch
2023-12-05 16:25:42 -06:00
parent 04466ef81d
commit e0d572b5a5
126 changed files with 1012 additions and 343 deletions

View File

@@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Wed Nov 29 17:35:42 CST 2023 -->
<!-- Generated by javadoc (17) on Tue Dec 05 16:24:45 CST 2023 -->
<title>SwerveControllerConfiguration</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-11-29">
<meta name="dc.created" content="2023-12-05">
<meta name="description" content="declaration: package: swervelib.parser, class: SwerveControllerConfiguration">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
@@ -183,9 +183,11 @@ loadScripts(document, 'script');</script>
<a href="PIDFConfig.html" title="class in swervelib.parser">PIDFConfig</a>&nbsp;headingPIDF,
double&nbsp;angleJoyStickRadiusDeadband,
double&nbsp;maxSpeedMPS)</span></div>
<div class="block">Construct the swerve controller configuration.</div>
<div class="block">Construct the swerve controller configuration. Assumes robot is square to fetch maximum angular velocity.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>driveCfg</code> - <a href="SwerveDriveConfiguration.html" title="class in swervelib.parser"><code>SwerveDriveConfiguration</code></a> to fetch the first module X and Y used to
calculate the maximum angular velocity.</dd>
<dd><code>headingPIDF</code> - Heading PIDF configuration.</dd>
<dd><code>angleJoyStickRadiusDeadband</code> - Deadband on radius of angle joystick.</dd>
<dd><code>maxSpeedMPS</code> - Maximum speed in meters per second for angular velocity, remember if you have