Skip to content

Commit

Permalink
Mor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenTomato5 committed Oct 23, 2024
1 parent ffff640 commit 128524d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static final class Intake {
);

// CAN IDs
public static final int PIVOT_ID = 32;
public static final int PIVOT_ID = 10;
public static final int SPINNER_ID = 20;

// PID
Expand Down Expand Up @@ -310,7 +310,7 @@ public static final class Hybrid {

// Back Left Module
public static final int DRIVE2_ID = 11;
public static final int TURN2_ID = 10;
public static final int TURN2_ID = 100;
public static final int CANCODER2_ID = 12;
public static final double OFFSET2 = Units.degreesToRadians(220.517578125);

Expand Down Expand Up @@ -355,7 +355,7 @@ public static final class NoteSim {

public static final class Climber {

public static final int LEFT_ID = 10;
public static final int LEFT_ID = 33;
public static final int RIGHT_ID = 34;

public static final int CURRENT_FILTER_TAPS = 5;
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.pathplanner.lib.auto.NamedCommands;
import com.pathplanner.lib.commands.PathPlannerAuto;
import edu.wpi.first.cameraserver.CameraServer;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
Expand Down Expand Up @@ -52,6 +53,8 @@ public class Robot extends LoggedRobot {
*/
@Override
public void robotInit() {

DriverStation.silenceJoystickConnectionWarning(true);
// Record metadata
Logger.recordMetadata("ProjectName", BuildConstants.MAVEN_NAME);
Logger.recordMetadata("BuildDate", BuildConstants.BUILD_DATE);
Expand All @@ -75,7 +78,7 @@ public void robotInit() {
case REAL:
// Running on a real robot, log to a USB stick ("/U/logs")
// Logger.addDataReceiver(new WPILOGWriter());
CameraServer.startAutomaticCapture();
// CameraServer.startAutomaticCapture();
Logger.addDataReceiver(new NT4Publisher());
break;
case SIM:
Expand Down

0 comments on commit 128524d

Please sign in to comment.