mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Updated PDP port of Talon and disabled PDP tests for Victor and Jaguar since the Victor and Jaguar don't draw enough current for the PDP to read above 0. PDP tests for both java and cpp only test the Talon now.
Change-Id: I84b2f168b27d07b444e223ae225013b6e97edde3
This commit is contained in:
@@ -65,9 +65,7 @@ public class PDPTest extends AbstractComsSetup {
|
||||
public static Collection<Object[]> generateData() {
|
||||
// logger.fine("Loading the MotorList");
|
||||
return Arrays.asList(new Object[][] {
|
||||
{TestBench.getInstance().getTalonPair(), new Double(0.0)},
|
||||
{TestBench.getInstance().getVictorPair(), new Double(0.0)},
|
||||
{TestBench.getInstance().getJaguarPair(), new Double(0.0)}});
|
||||
{TestBench.getInstance().getTalonPair(), new Double(0.0)}});
|
||||
}
|
||||
|
||||
@After
|
||||
@@ -97,7 +95,7 @@ public class PDPTest extends AbstractComsSetup {
|
||||
|
||||
/* Set the motor to full forward */
|
||||
me.getMotor().set(1.0);
|
||||
Timer.delay(0.25);
|
||||
Timer.delay(2);
|
||||
|
||||
/* The current should now be greater than the low current */
|
||||
assertThat("The driven current is not greater than the resting current.",
|
||||
|
||||
Reference in New Issue
Block a user