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

Worlds prod branch #12

Open
wants to merge 24 commits into
base: DistrictsProdBranch
Choose a base branch
from
Open

Worlds prod branch #12

wants to merge 24 commits into from

Conversation

cbpe123
Copy link
Collaborator

@cbpe123 cbpe123 commented Apr 20, 2023

No description provided.

InstantCommand resetPoseToBeginning = new InstantCommand(
()-> m_robotDrive.resetOdometry(new Pose2d(0,0,new Rotation2d(Math.toRadians(180)))));

new JoystickButton(copilotController, 3).onTrue(resetPoseToBeginning);
//new JoystickButton(copilotController, 4).onTrue(testAutoMoveAim);
new JoystickButton(copilotController, 4).onTrue(new MoveArmToFeeder(m_ArmSubsystem, -77, 0, 10));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@HanSolo626 delete this

m_chooser.addOption("escape", rightEscape);
m_chooser.addOption("do nothing", doNothing);
// m_chooser.addOption("left escape", leftEscape);
m_chooser.setDefaultOption("Score High Cone", new InstantCommand());
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@HanSolo626 name is incorrect

@@ -55,6 +55,7 @@ public ArmLower(Boolean fastMode, ArmSubsystem armed, double uAP, double lAP, do
// Called when the command is initially scheduled.
@Override
public void initialize() {
m_armSubsystem.setUpperP(DriveConstants.defaultUpperArmP);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@HanSolo626 should delete this line

@@ -103,6 +103,7 @@ public void end(boolean interrupted) {
if(slowMode || fastMode){
m_armSubsystem.setUpperArmOutputRange(DriveConstants.m_upperArmMinSpeed,DriveConstants.m_upperArmMaxSpeed);
}
m_armSubsystem.setWristOutputRange(DriveConstants.m_wristMinSpeed, DriveConstants.m_wristMaxSpeed);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@HanSolo626 delete this

@HanSolo626
Copy link
Collaborator

four jobs complete

}
else{
m_armSubsystem.setUpperP(DriveConstants.defaultUpperArmP);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@HanSolo626 should delete this

Copy link
Collaborator

Choose a reason for hiding this comment

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

done

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