Thad House
b9fa3a4398
Update to 2019 RoboRIO and 2019 v4 image ( #1352 )
...
Also make updates for Java 11:
* Disable errorprone plugin (currently broken on Java 11)
* Update checkstyle to 8.12
* Update pmd to 6.7.0
2018-10-07 18:11:57 -07:00
Sam Carlberg
175c6c1f01
Add fluent builders for more flexibly adding data to Shuffleboard ( #1022 )
2018-09-28 01:18:18 -07:00
Thad House
e210073044
Move HAL classes to their own base package ( #1317 )
...
Needed for modularization.
2018-09-20 21:59:46 -07:00
PJ Reiniger
eb2c6e19f8
Add sim hooks to set match data ( #1191 )
2018-07-22 19:43:24 -07:00
Thad House
89d15f061b
Fix main function initialization ( #1176 )
...
I don't have a good way to ensure this always works, so this is going to be a documentation issue.
But initializeHardwareConfiguration is now reentrant, so we can just have all tests call it.
2018-07-08 15:41:31 -07:00
Austin Shalit
f5b1028b5a
Fix race conditions in command tests by increasing the delay time ( #1178 )
2018-07-08 12:39:15 -07:00
Austin Shalit
50b13d2f36
Convert UnitTestUtility to a JUnit 5 MockHardwareExtension ( #1153 )
...
Only initialize the HAL once.
2018-06-24 00:19:45 -07:00
Austin Shalit
9108a93598
Switch non-integration tests to JUnit 5 ( #1120 )
2018-06-11 15:01:49 -07:00
Austin Shalit
e548a5f705
Update and enable PMD 6.3.0 ( #1107 )
2018-06-03 10:00:53 -07:00
Austin Shalit
2e5fece594
Add utility class tests ( #871 )
...
Checks for classes that only have static methods.
2018-05-24 20:39:15 -04:00
Austin Shalit
40cc743cc7
Enable checkstyle on cscore, ntcore, wpiutil ( #1032 )
...
Also update to version 8.10.
2018-05-24 00:31:04 -04:00
Thad House
cbaff52850
Implements AutoCloseable for types, replacing free() ( #1048 )
2018-05-22 23:33:17 -07:00
Tyler Veness
adb6098353
Removed extra newlines after open curly braces ( #935 )
...
Generated by wpilibsuite/styleguide#115 .
2018-05-15 23:57:24 -07:00
Thad House
337e89cf6e
Adds JNI Simulator interface and updated Sim API ( #1002 )
...
The simulator was generated by https://github.com/ThadHouse/SimulatorGenerator
2018-05-11 12:38:23 -07:00
sciencewhiz
e4e1eab413
Fix cancel of inner commands in ConditionalCommands ( #858 )
2018-01-18 20:04:33 -08:00
Tyler Veness
0ef9803363
Update copyright year to 2018 ( #864 )
...
Also fix a few files with incorrect line endings.
2018-01-02 11:20:21 -06:00
Tyler Veness
eedb8910c3
Removed extra newlines from beginning of Java classes ( #859 )
...
The content of this PR was generated by styleguide#111.
2018-01-02 11:17:46 -06:00
Thad House
d2e7a90f41
Removes statics from hal sim ( #825 )
...
Based off of #824 , the equivelent in sim.
2017-12-10 19:38:53 -08:00
Tyler Veness
85157a56c3
CircularBuffer now uses an idiomatic interface in C++ and Java ( #421 )
2017-11-22 17:04:57 -08:00
Tyler Veness
4a07f0380f
PIDController class now uses LinearDigitalFilter for filtering velocity instead of internal queue ( #38 )
2017-11-19 15:58:30 -08:00
Thad House
7bbd13d914
Adds match specific calls to Java and C++ ( #720 )
...
Uses caching, matching the joystick calls.
2017-11-09 19:59:29 -08:00
Thad House
a1ea448406
Adds JNI call to get CANStatus ( #677 )
...
Call already existed in the HAL.
2017-10-21 15:32:05 -07:00
Austin Shalit
2fc60680f4
Remove RedundantModifiers ( #578 )
2017-10-17 21:47:55 -07:00
Austin Shalit
877a9eae1f
Add SpeedControllerGroup ( #362 )
2017-10-16 19:54:36 -07:00
Peter Johnson
91529cc435
Update NetworkTables for new API.
...
This fixes breakages due to the JNI move.
Depends on: https://github.com/wpilibsuite/ntcore/pull/204
2017-09-06 22:29:04 -07:00
Tyler Veness
f151892db5
Contents of copyright line now has more standard ordering ( #585 )
2017-08-24 00:06:13 -05:00
Thad House
e1195e8b9d
Update to 2018_v4 image and new build system. ( #598 )
...
* Revert "Force OpenCV to 3.1.0 (#602 )"
This reverts commit 50ed55e8e2 .
* Removes Simulation
* Removes old build system
* Removes old gtest
* Adds new gmock and gtest
* Updates to new ni-libraries
* removes MyRobot (to be replaced)
* moves files to new location
* Adds new sim backend and new test executables
* updates .styleguide and .gitignore
* Changes cpp WPILibVersion to a function
MSVC throws an AV with the old version.
* Disables USBCamera on all systems except for linux
* 2018 NI Libraries
* New build system
2017-08-18 21:35:53 -07:00
Austin Shalit
ddd5aeba19
Checkstyle 8.1 ( #584 )
...
Added a few checks too:
- SimplifyBooleanExpression
- SimplifyBooleanReturn
- StringLiteralEquality
- UnnecessaryParentheses
2017-07-28 22:24:05 -07:00
Austin Shalit
7187e005d4
Add Checkstyle WhitespaceAfter check ( #466 )
2017-05-06 23:22:16 -07:00
Tyler Veness
7a049c29bd
Added a conditional command that chooses 1 of 2 commands ( #435 )
...
Tests and documentation for ConditionalCommand were also added. This is a fixed version of #9 , so it doesn't support lambdas.
Closes #9
2017-01-04 23:48:13 -08:00
Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Tyler Veness
ac9b6f7b18
Implemented CircularBuffer resizing ( #224 )
2016-09-20 19:43:34 -07:00
Tyler Veness
f7c3f13a7f
Improve CircularBuffer documentation ( #180 )
2016-07-16 20:50:19 -07:00
Tyler Veness
2f7eff7091
Removed @author from comments ( #88 )
...
Keeping @author lines in the comments serves no functional purpose.
2016-05-29 09:24:04 -07:00
Tyler Veness
74f9da9da1
artf2612: Added Python script for updating license in source files ( #57 )
...
This is a follow-up of 3cd1253 . A C++ program was written to automate the license update originally. That program was translated to Python so it can be kept in the repository and run when needed. It has been tested on Windows using the standard Python 3 installation and on Linux.
The original version skipped files that had "//" at the beginning since most were files that should be excluded. The relevant files are now in an exclusion list and the rest are processed normally. The .hpp file extension has been added as well. The script rewrote CompressorJNI.cpp to remove the carriage returns from its line endings.
2016-05-25 20:23:37 -07:00
Jonathan Leitschuh
00b2902102
Converts non hardware dependent tests to unit tests ( #10 )
2016-05-20 12:15:14 -07:00