Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
commands finally work
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielseaver9678 committed Mar 25, 2021
1 parent 910de00 commit 7c25066
Show file tree
Hide file tree
Showing 52 changed files with 147 additions and 87 deletions.
Binary file modified swervelib/bin/main/frc/team1711/swerve/commands/AutonDrive.class
Binary file not shown.
Binary file not shown.
Binary file modified swervelib/bin/main/frc/team1711/swerve/commands/AutonTurn.class
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion swervelib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ java {
withJavadocJar()
}

version = '1.7'
version = '2.0'
group = 'io.github.frc1711'
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions swervelib/build/docs/javadoc/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (swervelib 1.7 API)</title>
<title>All Classes (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Classes (swervelib 1.7 API)";
parent.document.title="All Classes (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion swervelib/build/docs/javadoc/allclasses.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (swervelib 1.7 API)</title>
<title>All Classes (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions swervelib/build/docs/javadoc/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Packages (swervelib 1.7 API)</title>
<title>All Packages (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Packages (swervelib 1.7 API)";
parent.document.title="All Packages (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions swervelib/build/docs/javadoc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (swervelib 1.7 API)</title>
<title>Constant Field Values (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (swervelib 1.7 API)";
parent.document.title="Constant Field Values (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions swervelib/build/docs/javadoc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (swervelib 1.7 API)</title>
<title>Deprecated List (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (swervelib 1.7 API)";
parent.document.title="Deprecated List (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AutonDrive (swervelib 1.7 API)</title>
<title>AutonDrive (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,14 +20,14 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AutonDrive (swervelib 1.7 API)";
parent.document.title="AutonDrive (swervelib 2.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var data = {"i0":9,"i1":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
Expand Down Expand Up @@ -215,7 +215,7 @@ <h3>Constructor Summary</h3>
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
Expand All @@ -232,13 +232,18 @@ <h3>Method Summary</h3>
<div class="block">Constructs an <code>AutonDrive</code> command from a desired distance to the right and forwards.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initialize()">initialize</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.edu.wpi.first.wpilibj2.command.SequentialCommandGroup">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;edu.wpi.first.wpilibj2.command.SequentialCommandGroup</h3>
<code>addCommands, end, execute, initialize, isFinished, runsWhenDisabled</code></li>
<code>addCommands, end, execute, isFinished, runsWhenDisabled</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.edu.wpi.first.wpilibj2.command.CommandGroupBase">
Expand Down Expand Up @@ -326,6 +331,21 @@ <h4>AutonDrive</h4>
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="initialize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialize</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;initialize()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>initialize</code>&nbsp;in interface&nbsp;<code>edu.wpi.first.wpilibj2.command.Command</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>initialize</code>&nbsp;in class&nbsp;<code>edu.wpi.first.wpilibj2.command.SequentialCommandGroup</code></dd>
</dl>
</li>
</ul>
<a id="fromMovement(frc.team1711.swerve.subsystems.AutoSwerveDrive,double,double,double,frc.team1711.swerve.commands.FrameOfReference)">
<!-- -->
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AutonTurn (swervelib 1.7 API)</title>
<title>AutonTurn (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AutonTurn (swervelib 1.7 API)";
parent.document.title="AutonTurn (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>FrameOfReference (swervelib 1.7 API)</title>
<title>FrameOfReference (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FrameOfReference (swervelib 1.7 API)";
parent.document.title="FrameOfReference (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>frc.team1711.swerve.commands (swervelib 1.7 API)</title>
<title>frc.team1711.swerve.commands (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="frc.team1711.swerve.commands (swervelib 1.7 API)";
parent.document.title="frc.team1711.swerve.commands (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>frc.team1711.swerve.commands Class Hierarchy (swervelib 1.7 API)</title>
<title>frc.team1711.swerve.commands Class Hierarchy (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="frc.team1711.swerve.commands Class Hierarchy (swervelib 1.7 API)";
parent.document.title="frc.team1711.swerve.commands Class Hierarchy (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AutoSwerveDrive (swervelib 1.7 API)</title>
<title>AutoSwerveDrive (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AutoSwerveDrive (swervelib 1.7 API)";
parent.document.title="AutoSwerveDrive (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AutoSwerveWheel (swervelib 1.7 API)</title>
<title>AutoSwerveWheel (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AutoSwerveWheel (swervelib 1.7 API)";
parent.document.title="AutoSwerveWheel (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SwerveDrive (swervelib 1.7 API)</title>
<title>SwerveDrive (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SwerveDrive (swervelib 1.7 API)";
parent.document.title="SwerveDrive (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SwerveWheel (swervelib 1.7 API)</title>
<title>SwerveWheel (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SwerveWheel (swervelib 1.7 API)";
parent.document.title="SwerveWheel (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>frc.team1711.swerve.subsystems (swervelib 1.7 API)</title>
<title>frc.team1711.swerve.subsystems (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="frc.team1711.swerve.subsystems (swervelib 1.7 API)";
parent.document.title="frc.team1711.swerve.subsystems (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>frc.team1711.swerve.subsystems Class Hierarchy (swervelib 1.7 API)</title>
<title>frc.team1711.swerve.subsystems Class Hierarchy (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="frc.team1711.swerve.subsystems Class Hierarchy (swervelib 1.7 API)";
parent.document.title="frc.team1711.swerve.subsystems Class Hierarchy (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Angles (swervelib 1.7 API)</title>
<title>Angles (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Angles (swervelib 1.7 API)";
parent.document.title="Angles (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Vector (swervelib 1.7 API)</title>
<title>Vector (swervelib 2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
Expand All @@ -20,7 +20,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Vector (swervelib 1.7 API)";
parent.document.title="Vector (swervelib 2.0 API)";
}
}
catch(err) {
Expand Down
Loading

0 comments on commit 7c25066

Please sign in to comment.