Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label Constants #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Label Constants #4

wants to merge 2 commits into from

Conversation

Maaz-Hawa
Copy link
Contributor

I added labels and descriptions to each constant in the code, assigned in #3.

Copy link
Member

@StarbuckBarista StarbuckBarista left a comment

Choose a reason for hiding this comment

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

I'm happy that you were agotid idea of all the units during yesterday's meeting; I can tell that yow the information! Let's work a little more on making everything organized and easily read. I added a few comments, but many of them apply to multiple constants. Take a look at my original labels, as well as some of the examples that I did in the comments of this review, they may help you! Go ahead and request my review again when you feel that you've got more organization going.

src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/util/Constants.java Outdated Show resolved Hide resolved

public static final boolean TOP_ROLLER_INVERTED = false;
public static final boolean BOTTOM_ROLLER_INVERTED = false;
public static final boolean TOP_ROLLER_INVERTED = false; // Sets the Intake Top Roller to spin forward [True | False]
Copy link
Member

Choose a reason for hiding this comment

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

Are we setting?


public static final double TOP_ROLLER_REDUCTION = (15.0 / 30.0);
public static final double BOTTOM_ROLLER_REDUCTION = (1.0 / 2.89);
public static final double TOP_ROLLER_REDUCTION = (15.0 / 30.0); // The gear reduction for the top rollers [Roller Revolutions / Motor Revolution]
Copy link
Member

Choose a reason for hiding this comment

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

Let's stick to Title Case Capitalization


public static final boolean FRONT_ROLLERS_INVERTED = false;
public static final boolean BACK_ROLLERS_INVERTED = false;
public static final boolean FRONT_ROLLERS_INVERTED = false; // Makes the Indexer Front Rollers spin forward/backward [True | False]
Copy link
Member

Choose a reason for hiding this comment

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

Does are constant make anything happen?


public static final double FRONT_ROLLERS_DIAMETER = 2.0;
public static final double BACK_ROLLERS_DIAMETER = 2.0;
public static final double FRONT_ROLLERS_DIAMETER = 2.0; // Diameter of Front Rollers [in]
Copy link
Member

Choose a reason for hiding this comment

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

Let's call them "Front Indexer Rollers".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants