mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Requested reviews
This commit is contained in:
@@ -55,7 +55,7 @@ public class Intake extends SubsystemBase {
|
||||
* Runs intake motor
|
||||
* @param input the percent output to run motor at
|
||||
*/
|
||||
public void runIntake(final double input) {
|
||||
public void runIntake(double input) {
|
||||
m_intakeMotor.set(input);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Intake extends SubsystemBase {
|
||||
* Runs extender motor
|
||||
* @param input the percent output to run motor at
|
||||
*/
|
||||
public void runExtender(final double input) {
|
||||
public void runExtender() {
|
||||
if (m_extenderForwardLimit.get()) {
|
||||
isExtended = true;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,6 @@ public class Storage extends SubsystemBase {
|
||||
*/
|
||||
public Storage() {
|
||||
resetEncoder();
|
||||
boolean botReached = false;
|
||||
m_beamSensors[0] = new DigitalInput(StorageConstants.BEAM_SENSOR_DIO_0);
|
||||
m_beamSensors[1] = new DigitalInput(StorageConstants.BEAM_SENSOR_DIO_1);
|
||||
m_beamSensors[2] = new DigitalInput(StorageConstants.BEAM_SENSOR_DIO_2);
|
||||
@@ -62,7 +61,7 @@ public class Storage extends SubsystemBase {
|
||||
* @param input the voltage to run motor at
|
||||
*/
|
||||
|
||||
public void runStorage(final double input) {
|
||||
public void runStorage(double input) {
|
||||
m_storageMotor.set(input);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user