mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Start shooter stuff
This commit is contained in:
@@ -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
|
||||
*
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user