Skip to content

Presentation mode - #13

Open
JacksonMcLaughlin wants to merge 7 commits into
masterfrom
feature/presentation-mode
Open

Presentation mode#13
JacksonMcLaughlin wants to merge 7 commits into
masterfrom
feature/presentation-mode

Conversation

@JacksonMcLaughlin

Copy link
Copy Markdown
Contributor

No description provided.

@JacksonMcLaughlin

Copy link
Copy Markdown
Contributor Author

still doesn't actually use the presentation mode pref, so need to redeploy to go back to normal

@octylFractal octylFractal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

some stuff for code quality

private final Arm arm = Robot.runningRobot.arm;
private final Clamp clamp = Robot.runningRobot.clamp;
private final Floppies floppies = Robot.runningRobot.floppies;
private final boolean open = clamp.isOpen();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

isn't this the state at the start of the robot? why do you set it to this and not some specific state?


public static final int AUTO_PUNCH_BUTTON = 2;

public static final int DEAD_MAN_BUTTON = 1;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this tabbed? please remove


public class PresentationMode {

public static boolean inPresentationMode() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

also tabbed

//autoCollectButton.whenPressed(new CollectGrabRaise(true));

// remove climb for adams school
/*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why isn't this just in an if(PresentationMode.inPresentationMode)? that's why i made it

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.

3 participants