Skip to content

Commit

Permalink
sim test
Browse files Browse the repository at this point in the history
  • Loading branch information
JadedHearth committed Jan 13, 2024
1 parent 29bfaac commit d662258
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,9 @@ out/
simgui*.json

# Version file
src/main/java/frc/robot/BuildConstants.java
src/main/java/frc/robot/BuildConstants.java

# AdvantageKit logs
logs
ctre_sim
networktables.json
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Main",
"request": "launch",
"mainClass": "frc.robot.Main",
"projectName": "FRC-2024"
},
{
"type": "wpilib",
"name": "WPILib Desktop Debug",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# FRC-2024

The code for the 2024 FRC season robot for Awtybots 5829.
The code for the 2024 FRC season robot for Awtybots 5829.

## Credits

Thank you FRC 6328 and FRC 3015!
Thank you FRC 6328 and FRC 3015!
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ spotless {
// A grave sin, but necessary for other programmers to use this system lol
afterEvaluate {
tasks.getByName('spotlessCheck').dependsOn(tasks.getByName('spotlessApply'))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
public class FlywheelIOSparkMax implements FlywheelIO {
private static final double GEAR_RATIO = 1.5;

private final CANSparkMax leader = new CANSparkMax(0, MotorType.kBrushless);
private final CANSparkMax follower = new CANSparkMax(1, MotorType.kBrushless);
private final CANSparkMax leader = new CANSparkMax(9, MotorType.kBrushless);
private final CANSparkMax follower = new CANSparkMax(10, MotorType.kBrushless);
private final RelativeEncoder encoder = leader.getEncoder();
private final SparkPIDController pid = leader.getPIDController();

Expand Down

0 comments on commit d662258

Please sign in to comment.