setPID

public final Unit setPID(PIDController pidController)

Sets the PID values from the given PIDController instance.

Parameters

pidController

The PIDController instance to get values from.