Fixed addVisionMeasurement javadocs

This commit is contained in:
thenetworkgrinch
2024-01-23 20:53:17 -06:00
parent 464274918c
commit bd949c2fa5
107 changed files with 232 additions and 218 deletions

View File

@@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Mon Jan 22 15:09:25 CST 2024 -->
<!-- Generated by javadoc (17) on Tue Jan 23 20:51:53 CST 2024 -->
<title>SwerveDrive</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-01-22">
<meta name="dc.created" content="2024-01-23">
<meta name="description" content="declaration: package: swervelib, class: SwerveDrive">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
@@ -1260,9 +1260,7 @@ loadScripts(document, 'script');</script>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">addVisionMeasurement</span><wbr><span class="parameters">(edu.wpi.first.math.geometry.Pose2d&nbsp;robotPose,
double&nbsp;timestamp)</span></div>
<div class="block">Add a vision measurement to the <code>SwerveDrivePoseEstimator</code> and update the <a href="imu/SwerveIMU.html" title="class in swervelib.imu"><code>SwerveIMU</code></a> gyro reading with
the given timestamp of the vision measurement. <br/> <b>IT IS HIGHLY RECOMMENDED TO UPDATE YOUR GYROSCOPE OFFSET
AFTER USING THIS FUNCTION!</b> <br/> To update your gyroscope readings directly use
<a href="#setGyroOffset(edu.wpi.first.math.geometry.Rotation3d)"><code>setGyroOffset(Rotation3d)</code></a>.</div>
the given timestamp of the vision measurement.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>robotPose</code> - Robot <code>Pose2d</code> as measured by vision.</dd>