Skip to content

Commit

Permalink
Merge pull request #44 from frc937/javadoooooooooc
Browse files Browse the repository at this point in the history
javadoc
  • Loading branch information
Jack-Haefele authored Feb 3, 2024
2 parents 4eb5332 + efe9d18 commit 39bc668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static class Controllers {
public static final int DRIVER_CONTROLLER_PORT = 0;
}

/** Constants for the Drivetrain */
public static class Drive {
/** Empty translation to prevent creating 2 Translation2ds every time the drive train stops. */
public static Translation2d EMPTY_TRANSLATION = new Translation2d();
Expand All @@ -63,6 +64,7 @@ public static class Drive {
public static double MAX_ANGULAR_SPEED = Math.PI / 2;
}

/** Constants for the Intake System */
public static class Intake {
/** Motor id of the Intake motor. */
public static final int INTAKE_MOTOR_ID = 0;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/subsystems/Intake.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ public void runIntake() {

/**
* Returns a boolean value on whether or not the Limit Switch (for the intake) has been activated.
*
* @return the status of the limit switch
*/
public boolean getLimitSwitch() {
/* Assumes the limit switch is wired to be normally open. */
return limitSwitch.get();
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/UrMom.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class UrMom extends SubsystemBase {
/** Creates a new UrMom. */
public UrMom() {}

/** Does what you think it does. */
public void printUrMom() {
System.out.println("your mom");
}
Expand Down

0 comments on commit 39bc668

Please sign in to comment.