Skip to content

Conversation

@JacksonMcLaughlin
Copy link
Contributor

No description provided.

@JacksonMcLaughlin
Copy link
Contributor Author

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

Copy link
Member

@octylFractal octylFractal left a comment

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
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
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
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
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.

4 participants