src/main/java/frc/robot/wrappers/GenericPID.java
public void updatePID() { 
        if( this.P != controller.getP())
            controller.setP(this.P);

        if( this.I != controller.getI())
            controller.setI(this.I);

        if( this.D != controller.getD())
            controller.setD(this.D);
    }
// Make sure that the PID gains match the object settings
Make sure that the PID gains match the object settings
Make sure that the PID gains match the object settings
public void updatePID() { 
        if( this.P != controller.getP())
            controller.setP(this.P);
        if( this.I != controller.getI())
            controller.setI(this.I);
        if( this.D != controller.getD())
            controller.setD(this.D);
    }
public void updatePID ( ) { if ( this . P != controller . getP ( ) ) controller . setP ( this . P ) ; if ( this . I != controller . getI ( ) ) controller . setI ( this . I ) ; if ( this . D != controller . getD ( ) ) controller . setD ( this . D ) ; }
Make sure that the PID gains match the object settings
Make sure that the PID gains match the object settings