Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/main/java/frc/robot/BuildConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
/** Automatically generated file containing build version information. */
public final class BuildConstants {
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "robot-code-2025-5";
public static final String MAVEN_NAME = "mako-robot-code-2025-2";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 247;
public static final String GIT_SHA = "6da958df57e66087c232807d8d0e3bf36ae3f328";
public static final String GIT_DATE = "2025-05-05 14:47:57 EDT";
public static final String GIT_BRANCH = "main";
public static final String BUILD_DATE = "2025-07-23 16:13:15 EDT";
public static final long BUILD_UNIX_TIME = 1753301595625L;
public static final int GIT_REVISION = 251;
public static final String GIT_SHA = "dee796a2681949673f6dc459fabd2d387a6d8779";
public static final String GIT_DATE = "2025-10-27 13:57:27 EDT";
public static final String GIT_BRANCH = "max-otb";
public static final String BUILD_DATE = "2025-10-30 17:55:09 EDT";
public static final long BUILD_UNIX_TIME = 1761861309445L;
public static final int DIRTY = 1;

private BuildConstants() {}
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/frc/robot/subsystems/coralIntake/IntakePID.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// 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.

package frc.robot.subsystems.coralIntake;

/** Add your docs here. */
public class IntakePID {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting

Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,11 @@ public void setPID(double P) {
intakeConfig.Slot0.kP = P;
coralIntakeMotor.getConfigurator().apply(intakeConfig);
}

public class PIDController {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very interesting


public double kP = 5.0;
public double ki = 0.0;
public double kd = 0.0;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) FIRST and other WPILib contributors.
// copyrightIRST 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.

Expand Down Expand Up @@ -32,8 +32,8 @@ public class ElevatorConstants {
public static final boolean STATOR_CURRENT_LIMIT_ENABLE = true;
public static final boolean SUPPLY_CURRENT_LIMIT_ENABLE = false;

public static final double MOTION_MAGIC_MAX_ACCELERATION = 160;
public static final double MOTION_MAGIC_CRUISE_VELOCITY = 100;
public static final double MOTION_MAGIC_MAX_ACCELERATION = 80; // prev: 160
public static final double MOTION_MAGIC_CRUISE_VELOCITY = 50; // prev: 100

public static final double ELEVATOR_ERROR_TOLERANCE = 0.08;

Expand Down