Skip to content

Commit

Permalink
Reorganize Folder Locations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason-Lam committed Nov 27, 2023
1 parent 2894560 commit f18cea4
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/main/java/common/core/subsystems/NAR_PIDSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import common.core.controllers.Controller;
import common.core.controllers.Controller.Type;
import common.utility.NAR_Shuffleboard;
import common.utility.shuffleboard.NAR_Shuffleboard;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj2.command.PIDSubsystem;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.function.BooleanSupplier;
import java.util.function.DoubleSupplier;

import common.utility.NAR_Shuffleboard;
import common.utility.shuffleboard.NAR_Shuffleboard;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.controller.ProfiledPIDController;
import edu.wpi.first.math.trajectory.TrapezoidProfile;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package common.swerveNeo;
package common.core.swerve;

import static common.core.swerve.SwerveConstants.*;

import com.ctre.phoenix.motorcontrol.SupplyCurrentLimitConfiguration;
import com.ctre.phoenix.motorcontrol.can.TalonFXConfiguration;
Expand All @@ -7,8 +9,6 @@
import com.ctre.phoenix.sensors.SensorInitializationStrategy;
import com.ctre.phoenix.sensors.SensorTimeBase;

import static common.swerveNeo.SwerveConstants.*;

/**
* Team 3128's defaults
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common.swerveNeo;
package common.core.swerve;

import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.math.kinematics.SwerveModuleState;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package common.swerveNeo;
package common.core.swerve;

import common.swerveNeo.SwerveModule.ModuleType;
import common.core.swerve.SwerveModule.ModuleType;
import edu.wpi.first.math.util.Units;;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common.swerveNeo;
package common.core.swerve;

/**
* Team 3128's conversion class for Swerve
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package common.swerveNeo;
package common.core.swerve;

import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.controller.SimpleMotorFeedforward;
import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.math.kinematics.SwerveModulePosition;
import edu.wpi.first.math.kinematics.SwerveModuleState;

import static common.core.swerve.SwerveConstants.*;
import static common.core.swerve.SwerveConversions.*;

import com.ctre.phoenix.sensors.CANCoder;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;

Expand All @@ -16,9 +19,6 @@
import common.hardware.motorcontroller.NAR_Motor.Control;
import common.hardware.motorcontroller.NAR_Motor.Neutral;

import static common.swerveNeo.SwerveConstants.*;
import static common.swerveNeo.SwerveConversions.*;


/**
* Team 3128's Swerve Module class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common.swerveNeo;
package common.core.swerve;

public class SwerveModuleConstants {
public final int driveMotorID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import com.revrobotics.SparkMaxRelativeEncoder;

import common.core.NAR_Robot;
import common.utility.NAR_Shuffleboard;
import common.utility.shuffleboard.NAR_Shuffleboard;

import static common.hardware.motorcontroller.MotorControllerConstants.*;

import com.revrobotics.CANSparkMax.ControlType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.ctre.phoenix.motorcontrol.can.WPI_TalonFX;

import common.core.NAR_Robot;
import common.utility.NAR_Shuffleboard;
import common.utility.shuffleboard.NAR_Shuffleboard;

import static common.hardware.motorcontroller.MotorControllerConstants.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common.narwhaldashboard;
package common.utility.narwhaldashboard;

import java.net.InetSocketAddress;
import java.net.UnknownHostException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common.utility;
package common.utility.shuffleboard;

import java.util.HashMap;
import java.util.function.DoubleSupplier;
Expand Down

0 comments on commit f18cea4

Please sign in to comment.