Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

Auto mode#21

Open
maxwell-tang wants to merge 8 commits intomasterfrom
autoMode
Open

Auto mode#21
maxwell-tang wants to merge 8 commits intomasterfrom
autoMode

Conversation

@maxwell-tang
Copy link
Contributor

adds some modes for autonomous


/**
*
* @param distance distance to move in feet

Choose a reason for hiding this comment

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

"distance" is repeated in comment

case "Collect And Shoot":
autonomous = Actions.collectAndShoot();
break;
case "Shoot from LB":

Choose a reason for hiding this comment

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

"case" statements should be column aligned

Copy link
Contributor

@john-petrangelo john-petrangelo left a comment

Choose a reason for hiding this comment

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

It's hard to review this quickly. It's no worse than before in any case, approved, but needs lots of testing.

}

public static final Action drive(double duration) {
String actionText = "Do Nothing";
Copy link
Contributor

Choose a reason for hiding this comment

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

Action text is wrong,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants