-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
23 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
hs_err_pid* | ||
simgui.json | ||
simgui-window.json | ||
networktables.json | ||
networktables.json.bak |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
package com.swrobotics.robot; | ||
|
||
import com.swrobotics.lib.net.NTDouble; | ||
import com.swrobotics.lib.net.NTEntry; | ||
|
||
/** | ||
* Class to store all tunable NetworkTables values in one place, to make it easier to hardcode the | ||
* defaults in case of data loss. | ||
* | ||
* <p>Temporary values should not be here, this class is only for persistent data. | ||
*/ | ||
public final class NTData { | ||
// TODO: Put NetworkTables data here | ||
public static final NTEntry<Double> FL_OFFSET = new NTDouble("Swerve/Modules/Front Left Offset", 0).setPersistent(); | ||
public static final NTEntry<Double> FR_OFFSET = new NTDouble("Swerve/Modules/Front Right Offset", 0).setPersistent(); | ||
public static final NTEntry<Double> BL_OFFSET = new NTDouble("Swerve/Modules/Back Left Offset", 0).setPersistent(); | ||
public static final NTEntry<Double> BR_OFFSET = new NTDouble("Swerve/Modules/Back Right Offset", 0).setPersistent(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters