diff --git a/.pathplanner/settings.json b/.pathplanner/settings.json index 76aed94..34d7b47 100644 --- a/.pathplanner/settings.json +++ b/.pathplanner/settings.json @@ -9,4 +9,4 @@ "defaultMaxAngVel": 540.0, "defaultMaxAngAccel": 720.0, "maxModuleSpeed": 2.88 -} \ No newline at end of file +} diff --git a/src/main/deploy/pathplanner/autos/Move Backward + Apriltag.auto b/src/main/deploy/pathplanner/autos/Move Backward + Apriltag.auto index e7008e6..3ac2bce 100644 --- a/src/main/deploy/pathplanner/autos/Move Backward + Apriltag.auto +++ b/src/main/deploy/pathplanner/autos/Move Backward + Apriltag.auto @@ -34,4 +34,4 @@ }, "folder": null, "choreoAuto": false -} \ No newline at end of file +} diff --git a/src/main/deploy/pathplanner/autos/New Auto.auto b/src/main/deploy/pathplanner/autos/New Auto.auto index b573ca1..2dd6c26 100644 --- a/src/main/deploy/pathplanner/autos/New Auto.auto +++ b/src/main/deploy/pathplanner/autos/New Auto.auto @@ -22,4 +22,4 @@ }, "folder": null, "choreoAuto": false -} \ No newline at end of file +} diff --git a/src/main/deploy/pathplanner/paths/Test Path.path b/src/main/deploy/pathplanner/paths/Test Path.path index 5a9d12f..78ad2e2 100644 --- a/src/main/deploy/pathplanner/paths/Test Path.path +++ b/src/main/deploy/pathplanner/paths/Test Path.path @@ -115,4 +115,4 @@ "folder": null, "previewStartingState": null, "useDefaultConstraints": false -} \ No newline at end of file +} diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 8d85361..3ccf2a2 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -44,8 +44,8 @@ public static class Speeds { public static final double SWERVE_DRIVE_MAX_SPEED = 4.67; // TODO: Get this value public static final double SWERVE_DRIVE_MAX_ANGULAR_SPEED = Math.PI * 1; // Todo: Get this value - - public static final double SHOOTER_MAX_SPEED = 1; + + public static final double SHOOTER_MAX_SPEED = 1; } public static class Physical { diff --git a/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java b/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java index d25e04d..19dd002 100644 --- a/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java @@ -1,6 +1,5 @@ -// Copyright (c) FIRST and other WPILib contributors. -// Open Source Software; you can modify and/or share it under the terms of -// the WPILib BSD license file in the root directory of this project. +/* Team 334 */ +/* Copyright (c) 2024 Team 334. All Rights Reserved. */ package frc.robot.subsystems; diff --git a/src/main/java/frc/robot/subsystems/IntakeSubsystem.java b/src/main/java/frc/robot/subsystems/IntakeSubsystem.java index 950ef81..029a4b8 100644 --- a/src/main/java/frc/robot/subsystems/IntakeSubsystem.java +++ b/src/main/java/frc/robot/subsystems/IntakeSubsystem.java @@ -1,6 +1,5 @@ -// Copyright (c) FIRST and other WPILib contributors. -// Open Source Software; you can modify and/or share it under the terms of -// the WPILib BSD license file in the root directory of this project. +/* Team 334 */ +/* Copyright (c) 2024 Team 334. All Rights Reserved. */ package frc.robot.subsystems; diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index b3e4806..8b1ff11 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -22,7 +22,7 @@ public class ShooterSubsystem extends SubsystemBase { private final RelativeEncoder _leftEncoder = _leftMotor.getEncoder(); - private final PIDController _shooterController = new PIDController(Constants.Physical.SHOOTER_PID_KP, 0, 0); + private final PIDController _shooterController = new PIDController(Constants.Physical.SHOOTER_PID_KP, 0, 0); /** Creates a new ShooterSubsystem. */ diff --git a/src/main/java/frc/robot/utils/NeoConfig.java b/src/main/java/frc/robot/utils/NeoConfig.java index 55ad5b4..dca7fff 100644 --- a/src/main/java/frc/robot/utils/NeoConfig.java +++ b/src/main/java/frc/robot/utils/NeoConfig.java @@ -1,3 +1,6 @@ +/* Team 334 */ +/* Copyright (c) 2024 Team 334. All Rights Reserved. */ + package frc.robot.utils; import com.revrobotics.CANSparkMax; @@ -5,13 +8,12 @@ import com.revrobotics.CANSparkBase.SoftLimitDirection; -/** +/** * @author Ze Rui Zheng * @author Elvis Osmanov */ public class NeoConfig { public static void configureNeo(CANSparkMax neo, boolean invert) { - neo.setIdleMode(IdleMode.kCoast); neo.enableSoftLimit(SoftLimitDirection.kForward, false); neo.enableSoftLimit(SoftLimitDirection.kReverse, false);