Added nicer Java interface for Talon SRX -- throttle mode works.

Change-Id: Ia6f4997b4836826f56a3dd4c8f7f29a0bf62d94c
This commit is contained in:
James Kuszmaul
2014-11-26 14:02:20 -05:00
parent 28a41e4ac2
commit 6ec2d262c8
2 changed files with 133 additions and 0 deletions

View File

@@ -65,6 +65,13 @@ public class CANTalonTest extends AbstractComsSetup {
// Turn Talon off.
talon.Set(0.0);
assertTrue(true);
Timer.delay(2);
CANTalon tal = new CANTalon(0);
tal.enableControl();
tal.set(0.5);
Timer.delay(1.0);
tal.disable();
}
}