mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal] Rename PowerDistributionPanel to PowerDistribution (#3466)
Makes HAL more generic for the PDP, to enable the Rev PDH in the future.
This commit is contained in:
@@ -24,18 +24,18 @@ import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
import org.junit.runners.Parameterized.Parameters;
|
||||
|
||||
/** Test that covers the {@link PowerDistributionPanel}. */
|
||||
/** Test that covers the {@link PowerDistribution}. */
|
||||
@RunWith(Parameterized.class)
|
||||
public class PDPTest extends AbstractComsSetup {
|
||||
private static final Logger logger = Logger.getLogger(PDPTest.class.getName());
|
||||
|
||||
private static PowerDistributionPanel pdp;
|
||||
private static PowerDistribution pdp;
|
||||
private static MotorEncoderFixture<?> me;
|
||||
private final double m_expectedStoppedCurrentDraw;
|
||||
|
||||
@BeforeClass
|
||||
public static void setUpBeforeClass() {
|
||||
pdp = new PowerDistributionPanel();
|
||||
pdp = new PowerDistribution();
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
|
||||
@@ -41,7 +41,7 @@ public final class TestBench {
|
||||
public static final int kTiltServoChannel = 9;
|
||||
public static final int kPanServoChannel = 8;
|
||||
|
||||
/* PowerDistributionPanel channels */
|
||||
/* PowerDistribution channels */
|
||||
public static final int kJaguarPDPChannel = 6;
|
||||
public static final int kVictorPDPChannel = 8;
|
||||
public static final int kTalonPDPChannel = 10;
|
||||
|
||||
Reference in New Issue
Block a user