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

Indexer two motors (belt) #19

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Indexer two motors (belt) #19

wants to merge 8 commits into from

Conversation

aze12345
Copy link
Member

No description provided.

@b-cho b-cho linked an issue Feb 13, 2022 that may be closed by this pull request
8 tasks

public class Indexer extends SubsystemBase {

public static final double DEFAULT_INDEXER_SPEED = .5; //TODO: Set value
Copy link
Contributor

Choose a reason for hiding this comment

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

0.5 is probably better than .5.

public final Motor indexerMotor2;
public Indexer(Motor indexerMotor1, Motor indexerMotor2) {
this.indexerMotor1 = indexerMotor1;
this.indexerMotor2 = indexerMotor2;
Copy link
Contributor

Choose a reason for hiding this comment

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

check indentation here

*/
public IndexerOff() {
this.addCommands(
new MotorIdle(RobotMap.Component.indexer.indexerMotor1),
Copy link
Contributor

Choose a reason for hiding this comment

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

inconsistent indentation amount—4 spaces per tab is probably better here than two spaces per tab

@b-cho b-cho changed the title Indexer two motors Indexer two motors (belt) Mar 1, 2022
@b-cho b-cho linked an issue Mar 5, 2022 that may be closed by this pull request
8 tasks
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.

Indexer mechanism Belt subsystem
3 participants