Skip to content

Commit

Permalink
fixed building
Browse files Browse the repository at this point in the history
  • Loading branch information
AngleSideAngle committed Nov 1, 2023
1 parent 624bce7 commit 83ba97a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
18 changes: 0 additions & 18 deletions src/main/java/org/sciborgs1155/robot/Constants.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package org.sciborgs1155.robot;

import edu.wpi.first.math.geometry.Translation2d;
import edu.wpi.first.math.trajectory.TrapezoidProfile.Constraints;
import java.awt.Color;
import java.util.Map;
import org.sciborgs1155.lib.constants.PIDConstants;

Expand All @@ -20,10 +18,6 @@
* <li>time: seconds
* <li>angle: radians
* </ul>
*
* @see MotorConfig
* @see PIDConstants
* @see Constraints
*/
public final class Constants {

Expand Down Expand Up @@ -95,16 +89,4 @@ public static final class Field {
Map.entry(5, new Translation2d(1.83, 1.63)),
Map.entry(6, new Translation2d(1.83, 0.51)));
}

public static final class LED {
public static final int buffer1Length = 60;

public static final int buffer2Length = 60;

// RGB COLORS
public static Color lightPurple = new Color(147, 112, 219);
public static Color yellow = new Color(237, 237, 12);
public static Color blue = new Color(0, 0, 228);
public static Color rainbow1stPixel = new Color(255, 0, 0);
}
}
4 changes: 0 additions & 4 deletions src/main/java/org/sciborgs1155/robot/Ports.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,4 @@ public static final class Elevator {
public static final class Intake {
public static final int WHEEL_MOTOR = 7;
}

public static final class LED {
public static final int STRIP = 9;
}
}
1 change: 0 additions & 1 deletion src/main/java/org/sciborgs1155/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import edu.wpi.first.wpilibj.DataLogManager;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands;
import edu.wpi.first.wpilibj2.command.ProxyCommand;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/sciborgs1155/robot/arm/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public static Arm createNone() {
return new Arm(new NoElevator(), new NoJoint(), new NoJoint());
}

/** Factory for an Arm with either real or simulated segments, depending on {@link Robot#isReal()} */
/**
* Factory for an Arm with either real or simulated segments, depending on {@link Robot#isReal()}
*/
public static Arm createFromConfig(
ElevatorConfig elevator, JointConfig elbow, JointConfig wrist) {
return Robot.isReal()
Expand Down

0 comments on commit 83ba97a

Please sign in to comment.