mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-07-01 07:21:39 +00:00
Updated to 2024.4.8.8
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (17) on Wed Feb 28 13:21:31 CST 2024 -->
|
||||
<!-- Generated by javadoc (17) on Thu Jun 13 17:09:44 CDT 2024 -->
|
||||
<title>PWMDutyCycleEncoderSwerve</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="2024-02-28">
|
||||
<meta name="dc.created" content="2024-06-13">
|
||||
<meta name="description" content="declaration: package: swervelib.encoders, class: PWMDutyCycleEncoderSwerve">
|
||||
<meta name="generator" content="javadoc/ClassWriterImpl">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
@@ -113,6 +113,11 @@ loadScripts(document, 'script');</script>
|
||||
<div class="col-last even-row-color">
|
||||
<div class="block">Inversion state.</div>
|
||||
</div>
|
||||
<div class="col-first odd-row-color"><code>private double</code></div>
|
||||
<div class="col-second odd-row-color"><code><a href="#offset" class="member-name-link">offset</a></code></div>
|
||||
<div class="col-last odd-row-color">
|
||||
<div class="block">The Offset in degrees of the PWM absolute encoder.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inherited-list">
|
||||
<h3 id="fields-inherited-from-class-swervelib.encoders.SwerveAbsoluteEncoder">Fields inherited from class swervelib.encoders.<a href="SwerveAbsoluteEncoder.html" title="class in swervelib.encoders">SwerveAbsoluteEncoder</a></h3>
|
||||
@@ -178,7 +183,7 @@ loadScripts(document, 'script');</script>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAbsoluteEncoderOffset(double)" class="member-name-link">setAbsoluteEncoderOffset</a><wbr>(double offset)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Sets the offset of the Encoder in the WPILib Encoder Library.</div>
|
||||
<div class="block">Sets the Absolute Encoder offset at the Encoder Level.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -218,6 +223,13 @@ loadScripts(document, 'script');</script>
|
||||
<div class="block">An <a href="../telemetry/Alert.html" title="class in swervelib.telemetry"><code>Alert</code></a> for if the encoder cannot report accurate velocities.</div>
|
||||
</section>
|
||||
</li>
|
||||
<li>
|
||||
<section class="detail" id="offset">
|
||||
<h3>offset</h3>
|
||||
<div class="member-signature"><span class="modifiers">private</span> <span class="return-type">double</span> <span class="element-name">offset</span></div>
|
||||
<div class="block">The Offset in degrees of the PWM absolute encoder.</div>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
@@ -323,14 +335,15 @@ loadScripts(document, 'script');</script>
|
||||
<section class="detail" id="setAbsoluteEncoderOffset(double)">
|
||||
<h3>setAbsoluteEncoderOffset</h3>
|
||||
<div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">setAbsoluteEncoderOffset</span><wbr><span class="parameters">(double offset)</span></div>
|
||||
<div class="block">Sets the offset of the Encoder in the WPILib Encoder Library.</div>
|
||||
<div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="SwerveAbsoluteEncoder.html#setAbsoluteEncoderOffset(double)">SwerveAbsoluteEncoder</a></code></span></div>
|
||||
<div class="block">Sets the Absolute Encoder offset at the Encoder Level.</div>
|
||||
<dl class="notes">
|
||||
<dt>Specified by:</dt>
|
||||
<dd><code><a href="SwerveAbsoluteEncoder.html#setAbsoluteEncoderOffset(double)">setAbsoluteEncoderOffset</a></code> in class <code><a href="SwerveAbsoluteEncoder.html" title="class in swervelib.encoders">SwerveAbsoluteEncoder</a></code></dd>
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>offset</code> - the offset the Absolute Encoder uses as the zero point.</dd>
|
||||
<dd><code>offset</code> - the offset the Absolute Encoder uses as the zero point in degrees.</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>Always true due to no external device commands.</dd>
|
||||
<dd>if setting Absolute Encoder Offset was successful or not.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user