package org.robockets.stronghold.robot;

import edu.wpi.first.wpilibj.PIDSource;
import edu.wpi.first.wpilibj.PIDSourceType;

public class DualEncoderPIDSource implements PIDSource {

	@Override
	public PIDSourceType getPIDSourceType() {
		return PIDSourceType.kDisplacement;
	}

	@Override
	public double pidGet() {
		return (-RobotMap.driveEncoder.get() - RobotMap.driveEncoder2.get()) ;
	}

	@Override
	public void setPIDSourceType(PIDSourceType arg0) {
		
	}
	
}

@@ -380,17 +380,16 @@
 2.get())
- 
 ;%0A%09%7D%0A%0A%09@

Update DualEncoderPIDSource.java