Skip to content

Commit

Permalink
Automated Release 16 **NO_CI**
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjust committed Dec 2, 2023
1 parent c3378ea commit bd9b4b8
Show file tree
Hide file tree
Showing 23 changed files with 915 additions and 207 deletions.
26 changes: 18 additions & 8 deletions allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><a href="xbot/common/command/BaseMaintainerCommand.html" title="class in xbot.common.command">BaseMaintainerCommand</a>&lt;<a href="xbot/common/command/BaseMaintainerCommand.html" title="type parameter in BaseMaintainerCommand">T</a>&gt;</td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">A command that maintains a subsystem at a goal value.</div>
</th>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><a href="xbot/common/subsystems/pose/BasePoseSubsystem.html" title="class in xbot.common.subsystems.pose">BasePoseSubsystem</a></td>
Expand Down Expand Up @@ -467,11 +469,15 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><a href="xbot/common/logic/HumanVsMachineDecider.html" title="class in xbot.common.logic">HumanVsMachineDecider</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Decides whether to use human or machine control of a subsystem.</div>
</th>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><a href="xbot/common/logic/HumanVsMachineDecider.HumanVsMachineDeciderFactory.html" title="class in xbot.common.logic">HumanVsMachineDecider.HumanVsMachineDeciderFactory</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">Factory for creating a new decider.</div>
</th>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><a href="xbot/common/logic/HumanVsMachineDecider.HumanVsMachineMode.html" title="enum in xbot.common.logic">HumanVsMachineDecider.HumanVsMachineMode</a></td>
Expand Down Expand Up @@ -867,7 +873,10 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tr id="i175" class="rowColor">
<td class="colFirst"><a href="xbot/common/properties/PreferenceStorage.html" title="class in xbot.common.properties">PreferenceStorage</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">This saves properties to the robot using WPI's built-in
<a href="https://docs.wpilib.org/en/stable/docs/software/basic-programming/robot-preferences.html">Preferences library</a>.</div>
</th>
</tr>
<tr id="i176" class="altColor">
<td class="colFirst"><a href="xbot/common/properties/Property.html" title="class in xbot.common.properties">Property</a></td>
Expand All @@ -883,14 +892,15 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
<tr id="i178" class="altColor">
<td class="colFirst"><a href="xbot/common/properties/Property.PropertyPersistenceType.html" title="enum in xbot.common.properties">Property.PropertyPersistenceType</a></td>
<th class="colLast" scope="row">
<div class="block">New enum to determine property persistence
Ephemeral properties will not be saved or load from a persistent storage
Persistent properties will be saved and load from a persistent storage</div>
<div class="block">Enum to determine property persistence
Ephemeral properties will not be saved or loaded from a persistent storage.</div>
</th>
</tr>
<tr id="i179" class="rowColor">
<td class="colFirst"><a href="xbot/common/properties/PropertyFactory.html" title="class in xbot.common.properties">PropertyFactory</a></td>
<th class="colLast" scope="row">&nbsp;</th>
<th class="colLast" scope="row">
<div class="block">A factory for creating properties.</div>
</th>
</tr>
<tr id="i180" class="altColor">
<td class="colFirst"><a href="xbot/common/subsystems/drive/PurePursuitCommand.html" title="class in xbot.common.subsystems.drive">PurePursuitCommand</a></td>
Expand Down
201 changes: 141 additions & 60 deletions index-all.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion member-search-index.js

Large diffs are not rendered by default.

Binary file modified member-search-index.zip
Binary file not shown.
Binary file modified package-search-index.zip
Binary file not shown.
Binary file modified type-search-index.zip
Binary file not shown.
101 changes: 86 additions & 15 deletions xbot/common/command/BaseMaintainerCommand.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,17 @@ <h2 title="Class BaseMaintainerCommand" class="title">Class BaseMaintainerComman
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - The type of the setpoint being maintained.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>edu.wpi.first.util.sendable.Sendable</code>, <code>edu.wpi.first.wpilibj2.command.Command</code>, <code><a href="../properties/IPropertySupport.html" title="interface in xbot.common.properties">IPropertySupport</a></code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">BaseMaintainerCommand&lt;T&gt;</span>
extends <a href="BaseCommand.html" title="class in xbot.common.command">BaseCommand</a></pre>
<div class="block">A command that maintains a subsystem at a goal value.</div>
</li>
</ul>
</div>
Expand Down Expand Up @@ -251,12 +256,14 @@ <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(xbot.common.command.BaseSetpointSubsystem,xbot.common.properties.PropertyFactory,xbot.common.logic.HumanVsMachineDecider.HumanVsMachineDeciderFactory,double,double)">BaseMaintainerCommand</a></span>&#8203;(<a href="BaseSetpointSubsystem.html" title="class in xbot.common.command">BaseSetpointSubsystem</a>&nbsp;subsystemToMaintain,
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(xbot.common.command.BaseSetpointSubsystem,xbot.common.properties.PropertyFactory,xbot.common.logic.HumanVsMachineDecider.HumanVsMachineDeciderFactory,double,double)">BaseMaintainerCommand</a></span>&#8203;(<a href="BaseSetpointSubsystem.html" title="class in xbot.common.command">BaseSetpointSubsystem</a>&lt;<a href="BaseMaintainerCommand.html" title="type parameter in BaseMaintainerCommand">T</a>&gt;&nbsp;subsystemToMaintain,
<a href="../properties/PropertyFactory.html" title="class in xbot.common.properties">PropertyFactory</a>&nbsp;pf,
<a href="../logic/HumanVsMachineDecider.HumanVsMachineDeciderFactory.html" title="class in xbot.common.logic">HumanVsMachineDecider.HumanVsMachineDeciderFactory</a>&nbsp;humanVsMachineDeciderFactory,
double&nbsp;defaultErrorTolerance,
double&nbsp;defaultTimeStableWindow)</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Creates a new maintainer command.</div>
</td>
</tr>
</table>
</li>
Expand Down Expand Up @@ -286,12 +293,16 @@ <h3>Method Summary</h3>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#calibratedMachineControlAction()">calibratedMachineControlAction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">The calibrated machine control action.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#coastAction()">coastAction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">The coast action.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
Expand All @@ -314,12 +325,17 @@ <h3>Method Summary</h3>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected abstract <a href="BaseMaintainerCommand.html" title="type parameter in BaseMaintainerCommand">T</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHumanInput()">getHumanInput</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Gets the human input to use for the maintain command.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected abstract double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHumanInputMagnitude()">getHumanInputMagnitude</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Gets the magnitude of the human input to use for the maintain command,
since the generic type T may not be a number.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
Expand All @@ -329,17 +345,23 @@ <h3>Method Summary</h3>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#humanControlAction()">humanControlAction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">The human control action.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializeMachineControlAction()">initializeMachineControlAction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">The initialize machine control action.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMaintainerAtGoal()">isMaintainerAtGoal</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Checks if the subsystem is at its goal.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected void</code></td>
Expand All @@ -352,17 +374,23 @@ <h3>Method Summary</h3>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetDecider(boolean)">resetDecider</a></span>&#8203;(boolean&nbsp;startInAutomaticMode)</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Resets the decider to the given mode.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setErrorTolerance(double)">setErrorTolerance</a></span>&#8203;(double&nbsp;tolerance)</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Sets the error tolerance for the maintain command.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#uncalibratedMachineControlAction()">uncalibratedMachineControlAction</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">The uncalibrated machine control action.</div>
</td>
</tr>
</table>
<ul class="blockList">
Expand Down Expand Up @@ -488,11 +516,20 @@ <h3>Constructor Detail</h3>
<ul class="blockListLast">
<li class="blockList">
<h4>BaseMaintainerCommand</h4>
<pre>public&nbsp;BaseMaintainerCommand&#8203;(<a href="BaseSetpointSubsystem.html" title="class in xbot.common.command">BaseSetpointSubsystem</a>&nbsp;subsystemToMaintain,
<pre>public&nbsp;BaseMaintainerCommand&#8203;(<a href="BaseSetpointSubsystem.html" title="class in xbot.common.command">BaseSetpointSubsystem</a>&lt;<a href="BaseMaintainerCommand.html" title="type parameter in BaseMaintainerCommand">T</a>&gt;&nbsp;subsystemToMaintain,
<a href="../properties/PropertyFactory.html" title="class in xbot.common.properties">PropertyFactory</a>&nbsp;pf,
<a href="../logic/HumanVsMachineDecider.HumanVsMachineDeciderFactory.html" title="class in xbot.common.logic">HumanVsMachineDecider.HumanVsMachineDeciderFactory</a>&nbsp;humanVsMachineDeciderFactory,
double&nbsp;defaultErrorTolerance,
double&nbsp;defaultTimeStableWindow)</pre>
<div class="block">Creates a new maintainer command.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>subsystemToMaintain</code> - The subsystem to maintain.</dd>
<dd><code>pf</code> - The property factory to use for creating properties.</dd>
<dd><code>humanVsMachineDeciderFactory</code> - The decider factory to use for creating the decider.</dd>
<dd><code>defaultErrorTolerance</code> - The default error tolerance.</dd>
<dd><code>defaultTimeStableWindow</code> - The default time stable window.</dd>
</dl>
</li>
</ul>
</li>
Expand All @@ -512,6 +549,11 @@ <h3>Method Detail</h3>
<li class="blockList">
<h4>resetDecider</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;resetDecider&#8203;(boolean&nbsp;startInAutomaticMode)</pre>
<div class="block">Resets the decider to the given mode.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>startInAutomaticMode</code> - True to start in automatic mode, false to start in human control mode.</dd>
</dl>
</li>
</ul>
<a id="execute()">
Expand Down Expand Up @@ -547,6 +589,7 @@ <h4>maintain</h4>
<li class="blockList">
<h4>coastAction</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;coastAction()</pre>
<div class="block">The coast action. Typically, this does nothing.</div>
</li>
</ul>
<a id="humanControlAction()">
Expand All @@ -556,6 +599,8 @@ <h4>coastAction</h4>
<li class="blockList">
<h4>humanControlAction</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;humanControlAction()</pre>
<div class="block">The human control action. Typically, this simply assigns the human input to
the subsystem.</div>
</li>
</ul>
<a id="initializeMachineControlAction()">
Expand All @@ -565,6 +610,8 @@ <h4>humanControlAction</h4>
<li class="blockList">
<h4>initializeMachineControlAction</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;initializeMachineControlAction()</pre>
<div class="block">The initialize machine control action. Typically, this sets the goal to the
current position to avoid sudden changes.</div>
</li>
</ul>
<a id="calibratedMachineControlAction()">
Expand All @@ -574,6 +621,7 @@ <h4>initializeMachineControlAction</h4>
<li class="blockList">
<h4>calibratedMachineControlAction</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;calibratedMachineControlAction()</pre>
<div class="block">The calibrated machine control action.</div>
</li>
</ul>
<a id="uncalibratedMachineControlAction()">
Expand All @@ -583,6 +631,9 @@ <h4>calibratedMachineControlAction</h4>
<li class="blockList">
<h4>uncalibratedMachineControlAction</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;uncalibratedMachineControlAction()</pre>
<div class="block">The uncalibrated machine control action. Typically, this defaults to human
control, although this is a good candidate for being overridden with an
auto-calibration sequence.</div>
</li>
</ul>
<a id="isMaintainerAtGoal()">
Expand All @@ -592,6 +643,11 @@ <h4>uncalibratedMachineControlAction</h4>
<li class="blockList">
<h4>isMaintainerAtGoal</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;isMaintainerAtGoal()</pre>
<div class="block">Checks if the subsystem is at its goal.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the subsystem is at its goal.</dd>
</dl>
</li>
</ul>
<a id="additionalAtGoalChecks()">
Expand All @@ -602,8 +658,7 @@ <h4>isMaintainerAtGoal</h4>
<h4>additionalAtGoalChecks</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;additionalAtGoalChecks()</pre>
<div class="block">Maintainer systems already check for error tolerance and time stability. If
there
are any other checks that should be made, override this method and place them
there are any other checks that should be made, override this method and place them
here.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
Expand Down Expand Up @@ -643,6 +698,11 @@ <h4>getErrorMagnitude</h4>
<li class="blockList">
<h4>getHumanInput</h4>
<pre class="methodSignature">protected abstract&nbsp;<a href="BaseMaintainerCommand.html" title="type parameter in BaseMaintainerCommand">T</a>&nbsp;getHumanInput()</pre>
<div class="block">Gets the human input to use for the maintain command.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The human input.</dd>
</dl>
</li>
</ul>
<a id="getHumanInputMagnitude()">
Expand All @@ -652,6 +712,12 @@ <h4>getHumanInput</h4>
<li class="blockList">
<h4>getHumanInputMagnitude</h4>
<pre class="methodSignature">protected abstract&nbsp;double&nbsp;getHumanInputMagnitude()</pre>
<div class="block">Gets the magnitude of the human input to use for the maintain command,
since the generic type T may not be a number.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The magnitude of the human input.</dd>
</dl>
</li>
</ul>
<a id="getPrefix()">
Expand All @@ -676,6 +742,11 @@ <h4>getPrefix</h4>
<li class="blockList">
<h4>setErrorTolerance</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;setErrorTolerance&#8203;(double&nbsp;tolerance)</pre>
<div class="block">Sets the error tolerance for the maintain command.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tolerance</code> - The error tolerance.</dd>
</dl>
</li>
</ul>
</li>
Expand Down
4 changes: 3 additions & 1 deletion xbot/common/command/package-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ <h1 title="Package" class="title">Package&nbsp;xbot.common.command</h1>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="BaseMaintainerCommand.html" title="class in xbot.common.command">BaseMaintainerCommand</a>&lt;T&gt;</th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">A command that maintains a subsystem at a goal value.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="BaseRobot.html" title="class in xbot.common.command">BaseRobot</a></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ <h2 title="Class HumanVsMachineDecider.HumanVsMachineDeciderFactory" class="titl
<pre>@AssistedFactory
public abstract static class <span class="typeNameLabel">HumanVsMachineDecider.HumanVsMachineDeciderFactory</span>
extends java.lang.Object</pre>
<div class="block">Factory for creating a new decider.</div>
</li>
</ul>
</div>
Expand Down Expand Up @@ -182,7 +183,9 @@ <h3>Method Summary</h3>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <a href="HumanVsMachineDecider.html" title="class in xbot.common.logic">HumanVsMachineDecider</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String)">create</a></span>&#8203;(java.lang.String&nbsp;prefix)</code></th>
<td class="colLast">&nbsp;</td>
<td class="colLast">
<div class="block">Creates a new decider with the given prefix.</div>
</td>
</tr>
</table>
<ul class="blockList">
Expand Down Expand Up @@ -235,6 +238,13 @@ <h3>Method Detail</h3>
<h4>create</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="HumanVsMachineDecider.html" title="class in xbot.common.logic">HumanVsMachineDecider</a>&nbsp;create&#8203;(@Assisted("prefix")
java.lang.String&nbsp;prefix)</pre>
<div class="block">Creates a new decider with the given prefix.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefix</code> - The prefix to use for all properties created by this decider.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new decider.</dd>
</dl>
</li>
</ul>
</li>
Expand Down
Loading

0 comments on commit bd9b4b8

Please sign in to comment.