Skip to content

Commit

Permalink
Added thrifty Nova.
Browse files Browse the repository at this point in the history
Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com>
  • Loading branch information
thenetworkgrinch committed Dec 19, 2024
1 parent e6c7325 commit 2efc5f3
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 384 deletions.
16 changes: 16 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ <h1 class="d-inline display-6">Front Left Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -283,6 +285,8 @@ <h1 class="d-inline display-6">Front Left Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -467,6 +471,8 @@ <h1 class="d-inline display-6">Front Right Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -507,6 +513,8 @@ <h1 class="d-inline display-6">Front Right Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -696,6 +704,8 @@ <h1 class="d-inline display-6">Back Left Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -734,6 +744,8 @@ <h1 class="d-inline display-6">Back Left Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -922,6 +934,8 @@ <h1 class="d-inline display-6">Back Right Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down Expand Up @@ -961,6 +975,8 @@ <h1 class="d-inline display-6">Back Right Module</h1>
<option selected value="sparkmax_neo">NEO (via SparkMAX)</option>
<option value="sparkflex_neo">NEO (via SparkFLEX)</option>
<option value="sparkmax_neo550">NEO550 (via SparkMAX)</option>
<option value="nova_neo">NEO (via Thrifty Nova)</option>
<option value="nova_neo550">NEO550 (via Thrifty Nova)</option>
<option value="sparkflex_neo550">NEO550 (via SparkFLEX)</option>
<option value="sparkflex_vortex">Vortex (via SparkFLEX)</option>
<option value="falcon">Falcon500</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
public class ThriftyNovaEncoderSwerve extends SwerveAbsoluteEncoder {
/** The absolute encoder is directly interfaced through the Thrifty Nova motor. */
protected ThriftyNovaSwerve motor;
/**
* Inversion state of the attached encoder.
*/
protected boolean inverted = false;
/**
* Offset of the absolute encoder.
*/
protected double offset = 0.0;

/**
Expand Down
Loading

0 comments on commit 2efc5f3

Please sign in to comment.