Fixed not working storage PID

This commit is contained in:
Elijah Price
2020-02-28 20:08:47 -07:00
parent b45f66b023
commit 1dbceadb94
@@ -25,14 +25,14 @@ public class StoragePositionPID extends CommandBase {
// Called when the command is initially scheduled.
@Override
public void initialize() {
startPos = m_storage.getEncoderPos();
}
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
System.err.println("oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooiujgxzxfghjkiujsdasdgioiedsdjkl");
m_storage.runStoragePositionPID(m_storage.getEncoderPos() + StorageConstants.STORAGE_FULL_BALL);
m_storage.runStoragePositionPID(StorageConstants.STORAGE_FULL_BALL);
}
// Called once the command ends or is interrupted.