Commit Graph

5527 Commits

Author SHA1 Message Date
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
Patrick Plenefisch
b7ad001b4d Fixing packaging 2014-04-05 21:53:58 -04:00
Patrick Plenefisch
87e9b6ce51 toolchain name... 2014-04-05 20:32:17 -04:00
Patrick Plenefisch
885c3ab839 reverting building opkg in maven/cmake (now uses ant) 2014-04-05 19:47:19 -04:00
Patrick Plenefisch
af2368b6f2 Moving opkg build to deployment 2014-04-05 19:44:14 -04:00
Patrick Plenefisch
c0222d4e2d Automatic SO downloading & updating
--HG--
extra : source : 11f8cf1c8ac2a81610ae086b440b6f5ca844377f
2014-04-05 02:48:17 -04:00
Brad Miller
69d9ad70ab CMake Changes
This is the changes made by Patrick Plenefisch converting the native
code to use CMake and the CMake Maven Plugin, as opposed to the
native Maven plugin. This is to allow for compatibility with newer
versions of the GCC toolchain. All the cpp sources were moved from
maven style directories to cpp style directories for CMake.

Change-Id: I67f5e3608948f37c83b0990d232105a3784f8593
2014-04-01 11:18:29 -04:00
Fredric Silberberg
33134bef1d Java 8 Compilation Fixes
Added in profiles to disable the doclint in Java 8 compilations,
which will cause the build to error on javadoc issues.

Change-Id: Id9e50ca35034ea086195855f6d1515381213dd2f
2014-03-20 19:17:16 -04:00
Fredric Silberberg
4546abc8c5 Version 4 Image
Updated the HAL library to work with the new version 3 headers
from NI. There were multiple changes in this verison: more PWM
generators were added, so the functions for setting PWM signals have
been updated. UserWatchdog has been removed, and Watchdog has been
removed from WPILib to accomodate for this. Digital selection has been
consolidated to one function in the NI headers, so this has been updated
in the HAL. New SPI and I2C libraries have been added, but need to
be implemented in the HAL before they will work.
2014-03-20 13:12:02 -04:00
Fredric Silberberg
b1ef116104 Revert "Applied patch from Dustin Spicuzza to fix robot hang"
This reverts commit d3ef8de5e9.
2014-03-04 21:49:25 -05:00
Mitchell Wills
d3ef8de5e9 Applied patch from Dustin Spicuzza to fix robot hang
Change-Id: I273feafcad5c95de04a11bab64c2d5596f248662
2014-03-04 16:00:04 -05:00