Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
testing out with new Camera code,

as well as minor changes to ControllerBase and NARPIDSubsystem
  • Loading branch information
Wi11iamYuan committed Oct 5, 2024
1 parent 44d6bf7 commit 0c02023
Show file tree
Hide file tree
Showing 23 changed files with 1,355 additions and 201 deletions.
4 changes: 2 additions & 2 deletions 3128-Common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3128-common",
"version": "1.8.5",
"version": "1.8.6",
"uuid": "ae3fa5a2-78d9-47e8-921a-dba45b889445",
"frcYear": "2024",
"mavenUrls": [
Expand All @@ -12,7 +12,7 @@
{
"groupId": "com.github.Team3128",
"artifactId": "3128-common",
"version": "1.8.5"
"version": "1.8.6"
}
],
"jniDependencies": [],
Expand Down
4 changes: 2 additions & 2 deletions 3128-common.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3128-common",
"version": "1.8.5",
"version": "1.8.6",
"uuid": "ae3fa5a2-78d9-47e8-921a-dba45b889445",
"frcYear": "2024",
"mavenUrls": [
Expand All @@ -12,7 +12,7 @@
{
"groupId": "com.github.Team3128",
"artifactId": "3128-common",
"version": "1.8.5"
"version": "1.8.6"
}
],
"jniDependencies": [],
Expand Down
242 changes: 123 additions & 119 deletions doc/allclasses-index.html

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions doc/common/core/commands/NAR_PIDCommand.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,19 @@ <h1 title="Class NAR_PIDCommand" class="title">Class NAR_PIDCommand</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><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">java.lang.Object</a>
<div class="inheritance">edu.wpi.first.wpilibj2.command.Command
<div class="inheritance">edu.wpi.first.wpilibj2.command.WaitCommand
<div class="inheritance">common.core.commands.NAR_PIDCommand</div>
</div>
</div>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code>edu.wpi.first.util.sendable.Sendable</code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">NAR_PIDCommand</span>
<span class="extends-implements">extends edu.wpi.first.wpilibj2.command.Command</span></div>
<span class="extends-implements">extends edu.wpi.first.wpilibj2.command.WaitCommand</span></div>
<div class="block">Team 3128's PIDCommand that uses a ControllerBase to control an output.</div>
<dl class="notes">
<dt>Since:</dt>
Expand Down Expand Up @@ -121,6 +123,9 @@ <h2>Field Summary</h2>
</div>
</div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-edu.wpi.first.wpilibj2.command.WaitCommand">Fields inherited from class&nbsp;edu.wpi.first.wpilibj2.command.WaitCommand</h3>
<code>m_timer</code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-edu.wpi.first.wpilibj2.command.Command">Fields inherited from class&nbsp;edu.wpi.first.wpilibj2.command.Command</h3>
<code>m_requirements</code></div>
</section>
Expand All @@ -133,10 +138,11 @@ <h2>Constructor Summary</h2>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(common.core.controllers.ControllerBase,java.util.function.DoubleSupplier,java.util.function.DoubleSupplier,java.util.function.DoubleConsumer,edu.wpi.first.wpilibj2.command.Subsystem...)" class="member-name-link">NAR_PIDCommand</a><wbr>(<a href="../controllers/ControllerBase.html" title="class in common.core.controllers">ControllerBase</a>&nbsp;controller,
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(common.core.controllers.ControllerBase,java.util.function.DoubleSupplier,java.util.function.DoubleSupplier,java.util.function.DoubleConsumer,double,edu.wpi.first.wpilibj2.command.Subsystem...)" class="member-name-link">NAR_PIDCommand</a><wbr>(<a href="../controllers/ControllerBase.html" title="class in common.core.controllers">ControllerBase</a>&nbsp;controller,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleSupplier.html" title="class or interface in java.util.function" class="external-link">DoubleSupplier</a>&nbsp;measurementSource,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleSupplier.html" title="class or interface in java.util.function" class="external-link">DoubleSupplier</a>&nbsp;setpointSource,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleConsumer.html" title="class or interface in java.util.function" class="external-link">DoubleConsumer</a>&nbsp;useOutput,
double&nbsp;timeout,
edu.wpi.first.wpilibj2.command.Subsystem...&nbsp;requirements)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
Expand Down Expand Up @@ -169,8 +175,11 @@ <h2>Method Summary</h2>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-edu.wpi.first.wpilibj2.command.WaitCommand">Methods inherited from class&nbsp;edu.wpi.first.wpilibj2.command.WaitCommand</h3>
<code>initSendable, runsWhenDisabled</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-edu.wpi.first.wpilibj2.command.Command">Methods inherited from class&nbsp;edu.wpi.first.wpilibj2.command.Command</h3>
<code>addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout</code></div>
<code>addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<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></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
Expand Down Expand Up @@ -208,12 +217,13 @@ <h3>setpointSource</h3>
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(common.core.controllers.ControllerBase,java.util.function.DoubleSupplier,java.util.function.DoubleSupplier,java.util.function.DoubleConsumer,edu.wpi.first.wpilibj2.command.Subsystem...)">
<section class="detail" id="&lt;init&gt;(common.core.controllers.ControllerBase,java.util.function.DoubleSupplier,java.util.function.DoubleSupplier,java.util.function.DoubleConsumer,double,edu.wpi.first.wpilibj2.command.Subsystem...)">
<h3>NAR_PIDCommand</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">NAR_PIDCommand</span><wbr><span class="parameters">(<a href="../controllers/ControllerBase.html" title="class in common.core.controllers">ControllerBase</a>&nbsp;controller,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleSupplier.html" title="class or interface in java.util.function" class="external-link">DoubleSupplier</a>&nbsp;measurementSource,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleSupplier.html" title="class or interface in java.util.function" class="external-link">DoubleSupplier</a>&nbsp;setpointSource,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/DoubleConsumer.html" title="class or interface in java.util.function" class="external-link">DoubleConsumer</a>&nbsp;useOutput,
double&nbsp;timeout,
edu.wpi.first.wpilibj2.command.Subsystem...&nbsp;requirements)</span></div>
</section>
</li>
Expand All @@ -231,7 +241,7 @@ <h3>initialize</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">initialize</span>()</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code>initialize</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.Command</code></dd>
<dd><code>initialize</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.WaitCommand</code></dd>
</dl>
</section>
</li>
Expand All @@ -251,7 +261,7 @@ <h3>end</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">end</span><wbr><span class="parameters">(boolean&nbsp;interrupted)</span></div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code>end</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.Command</code></dd>
<dd><code>end</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.WaitCommand</code></dd>
</dl>
</section>
</li>
Expand All @@ -261,7 +271,7 @@ <h3>isFinished</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isFinished</span>()</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code>isFinished</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.Command</code></dd>
<dd><code>isFinished</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.WaitCommand</code></dd>
</dl>
</section>
</li>
Expand Down
4 changes: 4 additions & 0 deletions doc/common/core/commands/package-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ <h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li class="circle">edu.wpi.first.wpilibj2.command.Command (implements edu.wpi.first.util.sendable.Sendable)
<ul>
<li class="circle">edu.wpi.first.wpilibj2.command.WaitCommand
<ul>
<li class="circle">common.core.commands.<a href="NAR_PIDCommand.html" class="type-name-link" title="class in common.core.commands">NAR_PIDCommand</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</section>
</main>
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/common/core/controllers/Controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h2>Method Summary</h2>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-common.core.controllers.ControllerBase">Methods inherited from class&nbsp;common.core.controllers.<a href="ControllerBase.html" title="class in common.core.controllers">ControllerBase</a></h3>
<code><a href="ControllerBase.html#addMotor(common.hardware.motorcontroller.NAR_Motor)">addMotor</a>, <a href="ControllerBase.html#addMotor(edu.wpi.first.wpilibj.motorcontrol.MotorController)">addMotor</a>, <a href="ControllerBase.html#addOutput(java.util.function.DoubleConsumer)">addOutput</a>, <a href="ControllerBase.html#atSetpoint()">atSetpoint</a>, <a href="ControllerBase.html#calculate(double)">calculate</a>, <a href="ControllerBase.html#calculate(double,double)">calculate</a>, <a href="ControllerBase.html#close()">close</a>, <a href="ControllerBase.html#enableContinuousInput(double,double)">enableContinuousInput</a>, <a href="ControllerBase.html#getController()">getController</a>, <a href="ControllerBase.html#getD()">getD</a>, <a href="ControllerBase.html#getI()">getI</a>, <a href="ControllerBase.html#getkA()">getkA</a>, <a href="ControllerBase.html#getkG()">getkG</a>, <a href="ControllerBase.html#getkS()">getkS</a>, <a href="ControllerBase.html#getkV()">getkV</a>, <a href="ControllerBase.html#getP()">getP</a>, <a href="ControllerBase.html#getPeriod()">getPeriod</a>, <a href="ControllerBase.html#getSetpoint()">getSetpoint</a>, <a href="ControllerBase.html#initSendable(edu.wpi.first.util.sendable.SendableBuilder)">initSendable</a>, <a href="ControllerBase.html#reset()">reset</a>, <a href="ControllerBase.html#setD(double)">setD</a>, <a href="ControllerBase.html#setI(double)">setI</a>, <a href="ControllerBase.html#setkA(java.util.function.DoubleSupplier)">setkA</a>, <a href="ControllerBase.html#setkG(double)">setkG</a>, <a href="ControllerBase.html#setkG(java.util.function.DoubleSupplier)">setkG</a>, <a href="ControllerBase.html#setkG_Function(java.util.function.DoubleSupplier)">setkG_Function</a>, <a href="ControllerBase.html#setkS(double)">setkS</a>, <a href="ControllerBase.html#setkS(java.util.function.DoubleSupplier)">setkS</a>, <a href="ControllerBase.html#setkV(double)">setkV</a>, <a href="ControllerBase.html#setkV(java.util.function.DoubleSupplier)">setkV</a>, <a href="ControllerBase.html#setMeasurementSource(java.util.function.DoubleSupplier)">setMeasurementSource</a>, <a href="ControllerBase.html#setP(double)">setP</a>, <a href="ControllerBase.html#setPID(double,double,double)">setPID</a>, <a href="ControllerBase.html#setSetpoint(double)">setSetpoint</a>, <a href="ControllerBase.html#setTolerance(double)">setTolerance</a>, <a href="ControllerBase.html#setTolerance(double,double)">setTolerance</a>, <a href="ControllerBase.html#useOutput()">useOutput</a></code></div>
<code><a href="ControllerBase.html#addMotor(common.hardware.motorcontroller.NAR_Motor)">addMotor</a>, <a href="ControllerBase.html#addMotor(edu.wpi.first.wpilibj.motorcontrol.MotorController)">addMotor</a>, <a href="ControllerBase.html#addOutput(java.util.function.DoubleConsumer)">addOutput</a>, <a href="ControllerBase.html#atSetpoint()">atSetpoint</a>, <a href="ControllerBase.html#calculate(double)">calculate</a>, <a href="ControllerBase.html#calculate(double,double)">calculate</a>, <a href="ControllerBase.html#close()">close</a>, <a href="ControllerBase.html#enableContinuousInput(double,double)">enableContinuousInput</a>, <a href="ControllerBase.html#getController()">getController</a>, <a href="ControllerBase.html#getD()">getD</a>, <a href="ControllerBase.html#getI()">getI</a>, <a href="ControllerBase.html#getkA()">getkA</a>, <a href="ControllerBase.html#getkG()">getkG</a>, <a href="ControllerBase.html#getkS()">getkS</a>, <a href="ControllerBase.html#getkV()">getkV</a>, <a href="ControllerBase.html#getP()">getP</a>, <a href="ControllerBase.html#getPeriod()">getPeriod</a>, <a href="ControllerBase.html#getSetpoint()">getSetpoint</a>, <a href="ControllerBase.html#initSendable(edu.wpi.first.util.sendable.SendableBuilder)">initSendable</a>, <a href="ControllerBase.html#reset()">reset</a>, <a href="ControllerBase.html#setConstraints(double,double)">setConstraints</a>, <a href="ControllerBase.html#setD(double)">setD</a>, <a href="ControllerBase.html#setI(double)">setI</a>, <a href="ControllerBase.html#setkA(java.util.function.DoubleSupplier)">setkA</a>, <a href="ControllerBase.html#setkG(double)">setkG</a>, <a href="ControllerBase.html#setkG(java.util.function.DoubleSupplier)">setkG</a>, <a href="ControllerBase.html#setkG_Function(java.util.function.DoubleSupplier)">setkG_Function</a>, <a href="ControllerBase.html#setkS(double)">setkS</a>, <a href="ControllerBase.html#setkS(java.util.function.DoubleSupplier)">setkS</a>, <a href="ControllerBase.html#setkV(double)">setkV</a>, <a href="ControllerBase.html#setkV(java.util.function.DoubleSupplier)">setkV</a>, <a href="ControllerBase.html#setMeasurementSource(java.util.function.DoubleSupplier)">setMeasurementSource</a>, <a href="ControllerBase.html#setP(double)">setP</a>, <a href="ControllerBase.html#setPID(double,double,double)">setPID</a>, <a href="ControllerBase.html#setSetpoint(double)">setSetpoint</a>, <a href="ControllerBase.html#setTolerance(double)">setTolerance</a>, <a href="ControllerBase.html#setTolerance(double,double)">setTolerance</a>, <a href="ControllerBase.html#useOutput()">useOutput</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<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></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
Expand Down
Loading

0 comments on commit 0c02023

Please sign in to comment.