Start shooter stuff

This commit is contained in:
Rishabh
2020-02-11 17:35:16 -07:00
parent 29593564c2
commit 247a513e9a
3 changed files with 14 additions and 2 deletions
@@ -101,7 +101,7 @@ public class Drive extends ProfiledPIDSubsystem {
m_driveTrain.arcadeDrive(move, steer);
}
public double getGyroYaw() {
public double getGyroYaw() {
double[] ypr = new double[3];
m_pigeon.getYawPitchRoll(ypr);
return ypr[0];
@@ -45,4 +45,16 @@ public class Storage extends SubsystemBase {
m_storageMotor.set(input);
boolean beam_on = m_beamSensors[0].get();
}
/**
* Prepares storage for shooting
*/
public void storageAim() {
}
/*
*If shooting move storage motor until top sensor is tripped
*If intaking move storage motor until bottom sensor is tripped
*
*/
}