Commit Graph

8237 Commits

Author SHA1 Message Date
Brad Miller (WPI)
15c2798ded Merge "Don't do doubles" 2014-06-03 09:41:30 -07:00
Brad Miller (WPI)
1e3a5389ba Merge "Tilt pan camera test" 2014-06-03 09:40:34 -07:00
Jonathan Leitschuh
3227e779a1 Adds .cproject to the .gitignore to remove eclipse files
Change-Id: I0ed347905cd29054f88088d42a63b4559d89446d
2014-06-03 10:00:23 -04:00
thomasclark
2e39540f20 Tilt pan camera test
Change-Id: I4496c9940a5da0bd78d90f1a5b4a9ebea6597336
2014-06-02 17:34:10 -04:00
thomasclark
bb50f4b134 C++ testing
Made a toplevel directory for C++ and C++ tests

Change-Id: I4bc2074a7036ec7fe79568b411637a5bee9eb5b3

Added the C++ testing framework and one test

Change-Id: I1e80a1e16b251a49666820a9d4c8caa025da9785
2014-06-02 15:36:18 -04:00
Patrick Plenefisch
a3b65a6845 Don't do doubles 2014-05-30 20:24:04 -04:00
Brad Miller (WPI)
9a145db3d5 Merge "Updates the C++ servo class to have the PWM values that are on the spec sheet" 2014-05-30 11:42:27 -07:00
Jonathan Leitschuh
884a374f4e Updates the C++ servo class to have the PWM values that are on the spec sheet
Change-Id: I98eae31f91df912d17035c125b219d8a812e94f9
2014-05-30 14:19:57 -04:00
thomasclark
187aa7a138 Support for the CAN power distribution panel
Change-Id: If4f8f7f050bf1095221cf16f030a6a8a67532656
2014-05-30 14:11:42 -04:00
Brad Miller
bf7ef4376c Changed the default logging level to WARNING
This prevents excessive logging from the HAL. Put it back as needed

Change-Id: I217f8bf20dd092dd6205444b08c98c9a7c3c83de
2014-05-30 10:09:56 -04:00
thomasclark
5d21444c42 Fixed a missing include
Change-Id: I159dd15cd8f429343e9eda39c0cc49292618bae8
2014-05-29 18:37:31 -04:00
thomasclark
b219d19153 Fixed several files to use .hpp headers
Change-Id: I2a9ed167c18188b32a746e65dc3b08853b371dc4
2014-05-29 18:12:43 -04:00
Brad Miller (WPI)
2bf9db0019 Merge "Adds/Extends several integration tests. Modifies Java Servo with correct values according to the datasheet assoiciated with the Hitec HS-322HD" 2014-05-29 12:59:40 -07: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
thomasclark
447cec4df8 Support for the CAN pneumatics module in C++ and Java
Change-Id: Iba66f8b51d7471a60ec33d38354a2f0853cc31df
2014-05-29 15:01:07 -04:00
thomasclark
980d52becc Support for the CAN pneumatics module in C++ and Java
Change-Id: I2ccb1d13d1c5da00a99329c761b75a6c2b3ea56d
2014-05-29 14:43:19 -04:00
Patrick Plenefisch
9b831ed34c Reverting back to static .a files for C++ and fixing lots of other assorted items 2014-05-27 21:26:10 -04:00
thomasclark
c1482cb267 Made CAN actually work in Java
Change-Id: I90709799de02c4cf1800f57bbecd637c76b33469
2014-05-27 15:10:18 -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
Brad Miller (WPI)
609fbfd8f6 Merge "Adds the Accumulator code to the AnalogJNI.cpp Disables the debug printlines from the AnalogJNI.cpp file" 2014-05-22 10:47:29 -07:00
Jonathan Leitschuh
6d8629a8b3 Adds the Accumulator code to the AnalogJNI.cpp
Disables the debug printlines from the AnalogJNI.cpp file

Change-Id: Iac962721fb3eeca8f208feb162c96d5ae9f342a2
2014-05-22 13:28:54 -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
Brad Miller (WPI)
6b83175b74 Merge "Fixed the package for CANJaguar.java" 2014-05-21 10:21:11 -07:00
Brad Miller (WPI)
9925598da0 Merge "Updated POM files to allow use of compile phase." 2014-05-21 09:51:44 -07:00
thomasclark
9a29c684a0 Fixed the package for CANJaguar.java
Change-Id: I63180f21304535608b31b00e6bd19b53e93b12ee
2014-05-20 16:33:29 -04:00
Alex Henning (WPI)
66c9aabec7 Merge "Updated CANJaguar.h/.cpp/.java for the RoboRIO" 2014-05-20 13:04:51 -07:00
Brad Miller
736cb754f1 Updated POM files to allow use of compile phase.
Note that the eclipse plugins are no longer included in the build by
default. To clean or build the eclipse plugins, use
-Dwith-eclipse-plugins. When specifying this property, only phases
up to or after package may be run.
2014-05-16 16:42:26 -04:00
Thomas Clark (WPI)
b955ec9949 Merge "Adds maven configuration information to use m2e This also removes all of the .project and .classpath files generated by eclipse" 2014-05-16 12:02:11 -07:00
thomasclark
da2e1769c0 Updated CANJaguar.h/.cpp/.java for the RoboRIO
Change-Id: I5134a78dc9dc945be1402c78d4fc4b9ef368b0b8
2014-05-16 14:12:24 -04:00
Jonathan Leitschuh
85b0a46fdb Adds maven configuration information to use m2e
This also removes all of the .project and .classpath files generated by
eclipse

Change-Id: Ieedf3166a3194040704133909cc7d71755009714

Removes the .project and .classpath files from the project as the .gitignore should have
2014-05-15 19:27:32 -04:00
thomasclark
ed6ac3bffd Fixed digital channel routing
Change-Id: Id670db98c0aaa53a7b126a4fb42b736e25e18c4a
2014-05-15 17:55:21 -04:00
thomasclark
7e215ef181 Removed the old cRIO channel routing that was preventing encoders from working in C++
Change-Id: I6e103f9960a8bf0930ea7e40f668cad116363370
2014-05-15 11:13:21 -04:00
thomasclark
6e01adaa57 Revert "Modifies maven files to work with m2e"
This commit causes Eclipse to give a vaugue error message when creating a new Robot Java Project or Robot C++ Project.

This reverts commit 36241b0d6c.

Change-Id: I47b66c53604f07b6e40c0db6aa250b977d9ae903
2014-05-14 14:28:04 -04:00
Jonathan Leitschuh
36241b0d6c Modifies maven files to work with m2e
Change-Id: I3f0cccbdd406f48bcb430af89e77d6b74627918a
2014-05-13 09:44:35 -04:00
Fredric Silberberg
12e811250b Driver Station
Added a java implementation of the FRC Network Communication
Protocol. The majority of network related code was written by
Brendan McLeod, and I have adapted a front end that listens for
input from standard input.

Change-Id: Id9e4d5b52425e56bf8a848b17390fb83b9e75d29
2014-05-12 15:33:54 -04:00
Brad Miller (WPI)
0227264ded Merge "Added .classpath to the gitignore" 2014-05-12 12:30:05 -07:00
Brad Miller (WPI)
059cee8b25 Merge "Fixed the module order so the libraries are built before the plugins" 2014-05-12 12:23:28 -07:00
Brad Miller (WPI)
5d81894d15 Merge "WPILibJ Unit Tests" 2014-05-12 12:22:21 -07:00
Fredric Silberberg
21074eea4c Added .classpath to the gitignore
Change-Id: I1a6680e6ba0b99fd06649c0a46f02edfc9bf2473
2014-05-12 14:53:16 -04:00
Fredric Silberberg
acb9636121 WPILibJ Unit Tests
Added unit testing framework for WPILibJ. Tests should based
on the ExampleTests.java located in
src/test/java/edu/wpi/first/wpilibj, and be located in the proper
package.

Change-Id: I19b73e9e24eb8d990d34ab2716d5314c3dee82ef
2014-05-12 09:48:02 -04:00
Fredric Silberberg
cdc94f062f Added .gitignore file
Change-Id: Id60a5cb48292950c4819685a3a0c0ab75685d378
2014-05-12 09:27:40 -04:00
Brad Miller
508425c976 Fixed some typos in pom files 2014-05-11 17:41:13 -04:00
thomasclark
9f64cf6151 Fixed the module order so the libraries are built before the plugins
Change-Id: Ia857639b0a9862ff99fa072d7c0811bbdcf13d96
2014-05-09 15:14:57 -04:00
thomasclark
27896984f7 Added the new NI shared libraries and headers
Change-Id: I090f2ebe35b65aa323a97ce2ba0154d044e1b4c2
2014-05-09 15:11:56 -04:00
Patrick Plenefisch
848a043f99 Fixing some compile warnings in C++
--HG--
extra : source : 84601b0b128cb508e13a1ae23fd648acc52990c8
2014-05-02 17:52:49 -04:00
Brad Miller
1c943ff6f0 Changed the build.xml files to write the runjavaprogram and runcppprogram
Still need to fix the debug c++, it has references to java

Change-Id: I89dce80c9ec9ad522079f7082303e5993a2b60d5
2014-04-20 18:43:26 -04:00
Brad Miller
82795d6a3a Fix 2 path problems in some scripts
Fix build.xml to use the correct path for ar that is used to build the
libraries package when the version updates. Also update the runjavaprogram
script to run java from the /usr/local/frc/JRE directory.

Change-Id: Ifbc60e4975ca7e23f05cfcc92d3b3ab0d695b5e6
2014-04-16 18:55:20 -04:00
Brad Miller
a42a7943bc Init HAL from WPILibJ to remove segfaults
Change-Id: I28980218ffab440cf17c5a6bb953f52a3458fa6a
2014-04-14 14:25:47 -04:00
Brad Miller
e4be9eb098 Added mvn profiles to define the cmake required properties depending on
the build platform.

Change-Id: Idc501cab1dfc87d364dd2e021d4e9cc52cd49196
2014-04-06 16:59:38 -04:00