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

new file. #3

Merged
merged 1 commit into from Feb 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
package org.usfirst.frc.team4334.drive;
package org.usfirst.frc.team3008.robot;
//import org.omg.CORBA.PUBLIC_MEMBER;

//Importing stuff from wpilib
@@ -74,21 +74,24 @@ public double sanicMode(){ //returns 2 or 4 depending on if the trigger is down
public double getTrueX(){ //returns cussioned X of joystick0
if (joystickX < CUSSION_MAX && joystickX > CUSSION_MIN)
return joystickX;
else return 0;
else
return 0;

}
public double getTrueY(){
if (joystickY < CUSSION_MAX && joystickY > CUSSION_MIN)
return joystickY;
else return 0;
else
return 0;

}//returns cussioned Y of joystick0


public double getTurningTrueX(){//returns cussioned X of joystick1
if (turningJoyX < CUSSION_MAX && turningJoyX > CUSSION_MIN)
return turningJoyX;
else return 0;
else
return 0;

}

@@ -188,43 +191,48 @@ public void operatorControl() {


}


/* private void lift1() {
private void lift() {

int whenActive; final Command command; {
new ButtonScheduler() {

private boolean m_pressedLast = grab();

@Override
//@Override
public void execute() {
if (grab()) {
if (!m_pressedLast) {
m_pressedLast = true;
command.start();
}
} else {
else {
m_pressedLast = false;

}
}


}
(); }
}
}*/

}

}
}

}


/*protected boolean grab() {
protected boolean grab() {
// TODO Auto-generated method stub
return false;
}*/
return true;
}
}

/* private void lift() {
// TODO Auto-generated method stub//
*/

}

/*private void LauncherStopWheels() {
// TODO Auto-generated method stub

@@ -237,4 +245,4 @@ private void Trigger(int i) {
// TODO Auto-generated method stub

}
*/
*/