Commit Graph

8 Commits

Author SHA1 Message Date
Kacper Puczydlowski
c90c38fa25 Adds a PIDTest to the integration tests. Contributors: Jonathan Leitschuh [artf2568]
Change-Id: Ibcbd1774360545f9d08ec3a8917613f2b2d335ee
2014-06-10 15:50:21 -04:00
thomasclark
35ac240d4c Switch to 0-based for all pins on the RoboRIO [artf2564]
Change-Id: I249965a9d55aec53b7d8a9be3ba5cc43500ddda4
2014-06-10 12:44:29 -04:00
Jonathan Leitschuh
09feff102f Integrates tests for Commands
Change-Id: I972bdba167c9f305532067303b6faf1042940ab3
2014-06-05 16:59:11 -04:00
Jonathan Leitschuh
70ccca881c Adds/Updates the JavaIntegrationTest Framework
Modifies where the tilt-pan camera gets instantiated so that it can be used for multiple tests

Adds a test for counters

Updates the TestBench and TestSuite to reflect the physical changes to the board

Adds a test on the Digital Cross Connections

Adds a test on the counter to see if they are working properly

Increases the reset time on the TiltPan Fixture to allow it to calibrate correctly

Fixes the wasReset flag being calculated with a bitshift instead of using boolean algebra.

Adds/Updates Integration Tests
Introduces java.util.logging to the test framework to allow for easier debugging
Fully tests all DIO/Counter/Encoder features
Pulls in Command Tests from the old testing framework

Updates the build.xml to run the Ant Compiler with 1.7 if Java 1.8 is installed

Change-Id: I43d85054be393ef448643c1d35558cfa99749c99
2014-06-05 12:00:56 -04:00
Jonathan Leitschuh
efeec5d986 Adds/Extends several integration tests. Modifies Java Servo with correct values according to the datasheet assoiciated with the Hitec HS-322HD
Changes the format of the MotorEncoderFixture usage. Also adds a motor type to easily determine what speed controller is being used

Adds a TiltPanCameraTest to test the Gyroscope as well as the servo classes

Updates the TestBench and the TestSuite to reflect the new tests and the changes to these Tests

Begins integrating a test to check to see if counters and encoders are working correctly

Modifies the ServoClass to have the correct data for PWM generation.
Also  modifies the PWM class to make the setBounds method to be protected

Modifies the TiltPanTest to rotate slower and reduces the acceptable deviation

Reduces the runtime of the MotorEncoderTest by lowering the runtime value

Updates the TestBench to load the Gyroscope before allocating the servos in order to allow for setup time
Also adds Documentation

Reorders the Tests to run the TiltPanTest first

Adds/Updates the copywright header to several files that were previously modified in this commit

Change-Id: I093f998d9687c6b6c6b8d4f6949fbe56ba236212
2014-05-29 15:19:02 -04:00
Jonathan Leitschuh
db940d8c43 Adds Integration tests for WPILib
-Jaguar Speed Controller
-Tallon Speed Controller
-Victor Speed Controller
-Encoder
-Counter
-Timer

Change-Id: Ia0d7e6e05652ea2c5bb004ae5bc59e6e615f8396
2014-05-23 14:19:48 -04:00
Jonathan Leitschuh
8599830490 Added in LiveWindow initialization code, and the network tables
dependecies for WPILibJ. - Fredric Silberberg

Change-Id: I776096385dc13db64c9eb2adbe0397b632057adf
2014-05-22 15:42:56 -04:00
Fredric Silberberg
04b6afb1cb WPILibJ Integration Tests
This is the first commit to add the WPILibJ integration test framework.
This creates a project called wpilibJavaIntegrationTests, which is will
create testing framework when running the maven package target. This
framework will need to have the TestBench.java file updated to match
the testing harness set up at WPI. Tests must currently be run manually.

Change-Id: I09fe0278580751e813af591c15b9079360089987
2014-05-22 10:55:17 -04:00