Tyler Veness
595b1df380
Fixed minimum number of joystick axes ( #696 )
2017-10-29 17:21:50 -07:00
Thad House
efc7770e9b
Fixes NPE in DriverStation initialization ( #694 )
...
Introduced by #626 .
2017-10-27 23:16:42 -07:00
Tyler Veness
21585f70a8
Added functions for detecting button press and release events ( #626 )
...
I also shuffled around the HID interfaces to be more intuitive, deprecated some
Joystick and XboxController member functions, and deprecated the JoystickBase
and GamepadBase classes.
Supersedes #89 .
2017-10-27 21:45:56 -07:00
Thad House
90f99dc571
Adds PWM to LoopTiming and CycleStart HAL calls ( #693 )
2017-10-27 19:44:40 -07:00
sciencewhiz
12e96c6f13
Add usage reporting to CameraServer ( #682 )
2017-10-27 00:45:54 -07:00
Austin Shalit
b65447b6f5
Fix spelling typos ( #595 )
2017-10-27 00:44:51 -07: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
Tyler Veness
9dc1de1d09
Specified angle units for Vector2d rotate() function. ( #679 )
...
Fixes #676 .
2017-10-21 15:29:39 -07:00
Austin Shalit
2fc60680f4
Remove RedundantModifiers ( #578 )
2017-10-17 21:47:55 -07:00
Thad House
ee20747255
Adds WPILib JNI shared debug file publish. ( #671 )
2017-10-16 19:59:05 -07:00
Austin Shalit
877a9eae1f
Add SpeedControllerGroup ( #362 )
2017-10-16 19:54:36 -07:00
Thad House
24752a9751
Removes OpenCV dependency from wpilibJNI ( #667 )
...
Not exactly sure why it was there in the first place. Closes #664
2017-10-12 18:25:17 -07:00
Sam Carlberg
f0cc623241
Change metadata format to dotfile, make certain entries metadata ( #666 )
...
Sendable's "Name" is now ".name"
Sendable's "Subsystem" is now ".subsystem"
Command's "name" is now ".name"
Command's "isParented" is now ".isParented"
2017-10-11 20:27:49 -07:00
Jacob Caporuscio
ba3a85d0cc
Changes TalonSRX to PWMTalonSRX in wpilibj and wpilibc. ( #656 )
...
Also brings the java kResourceType list up-to-date with the cpp list.
2017-10-11 12:01:50 -07:00
Thad House
94ea5bfb06
Move published wpilibj JNI shared artifact into shared/ subfolder ( #658 )
...
Makes eclipse easier.
2017-10-07 15:31:36 -07:00
Peter Johnson
7fab0e0ef2
Depend on wpiutil 3.+, ntcore 4.+, cscore 1.+ rather than just +. ( #651 )
...
Also update to wpilib-version-plugin 2.0.
2017-10-01 10:57:03 -07:00
Tyler Veness
19addb04cf
Split RobotDrive class into a class for each drive type ( #552 )
...
DiffDrive.CurvatureDrive (aka CheesyDrive) and KilloughDrive were also added.
This reorganization paves the way for SwerveDrive.
2017-09-28 23:30:00 -07:00
pjreiniger
abb66d3e4b
Replace FRC_NetworkCommunication CAN in wpilibj with HAL CAN ( #650 )
2017-09-28 22:40:04 -07:00
pjreiniger
db4981f166
Java now asks the HAL if it is a simulation or not ( #647 )
2017-09-23 07:56:53 -07:00
sciencewhiz
423d8f6860
Add missing usage reporting. ( #639 )
...
Compressor C++/Java
Servo C++
2017-09-19 21:17:27 -07:00
Thad House
c572e6a307
Adds the rest of the data needed for a publish on jenkins ( #628 )
2017-09-07 21:07:01 -07:00
Tyler Veness
e444b6015c
Updated remaining .styleguide files to new config file format ( #635 )
2017-09-07 21:02:52 -07:00
Peter Johnson
34c18ef000
Remove getTable from wpilibj Sendable interface.
...
This allows nearly all m_table member variables to be removed.
2017-09-06 22:29:04 -07:00
Peter Johnson
4e80570c4c
Update wpilibj to use new NetworkTables package and interfaces.
...
This may be breaking to CANSpeedController implementations.
2017-09-06 22:29:04 -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
Peter Johnson
ef3267833f
Fix IterativeRobot/TimedRobot RobotInit(). ( #633 )
...
In C++, it's not legal to call a virtual function from within a constructor,
so the user override was never called (the base function is always called).
See https://isocpp.org/wiki/faq/strange-inheritance#calling-virtuals-from-ctors
While this is technically allowed in Java, also change Java for consistency.
2017-09-05 23:57:26 -07:00
sciencewhiz
a5ef50c9e7
Add documentation for PeriodMultiplier ( #632 )
2017-09-04 22:03:02 -07:00
sciencewhiz
6eee457898
Renable javadoc fail on error ( #631 )
...
Remove reference check and fix HTML error
2017-09-03 14:10:40 -07:00
Thad House
fb6d7b3470
Fixes javadocs ( #630 )
2017-09-02 21:29:30 -07:00
sciencewhiz
2d78fdabb8
Fix recieve typo in JNI names. ( #629 )
...
Fixes #594
2017-09-01 22:48:33 -07:00
Tyler Veness
6e4f66cc8b
Classify other libraries' headers properly and fix committed formatting issues ( #620 )
2017-08-27 00:11:52 -07:00
Tyler Veness
f151892db5
Contents of copyright line now has more standard ordering ( #585 )
2017-08-24 00:06:13 -05:00
Austin Shalit
c45fb73f36
Convert for loops to foreach loops ( #592 )
2017-08-24 00:00:55 -05:00
Peter Johnson
f7016b359f
HALUtil: Update to new GetJavaStackTrace function.
2017-08-22 23:09:28 -05:00
Peter Johnson
be58a279a5
Cross-platform JNI sometimes has jlong != int64.
2017-08-22 23:09:28 -05:00
Tyler Veness
2a9c454baa
Cleaned up and updated .styleguide for new build system file locations and ran wpiformat ( #612 )
2017-08-19 22:14:34 -07: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
Thad House
50ed55e8e2
Force OpenCV to 3.1.0 ( #602 )
...
Will break otherwise when I push a new version
2017-08-13 21:41:45 -07:00
Tyler Veness
d682295ccd
Miscellaneous cleanups for HAL, wpilibc, and wpilibj JNI ( #589 )
...
* Static functions in the HAL implementation were placed in the hal namespace
* "using namespace" declarations in HAL/cpp/Log.h and Timer.cpp were replaced
with "using" declarations for std::chrono
* An extra include was removed from AnalogGyro.cpp
* InterruptableSensorBase's constructor was defaulted
* Newlines were added to some wpilibc integration tests for grouping
* A variable in HALUtil.h was renamed to follow the style guide
Supersedes #586
2017-08-07 17:36:34 -07:00
Austin Shalit
5e19c1881f
Use diamond operator
2017-08-07 17:31:16 -07:00
Austin Shalit
617ff52f18
Use generics
2017-08-07 17:31:16 -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
Peter Johnson
3cfcbe9a95
Remove Scheduler.java from the sim path. ( #564 )
...
This is an old version and is duplicative of the shared Scheduler.java.
2017-07-27 00:41:56 -07:00
Austin Shalit
3b44160cff
Rearrange some method calls so methods fail faster ( #583 )
2017-07-26 23:14:35 -07:00
Thad House
d9586c8d38
Fixes JNI aliasing issues involving ControlWord and AllianceStation ( #575 )
2017-07-26 20:59:40 -07:00
Austin Shalit
74df3fac4e
Require non null ( #580 )
...
* Replace null checks with Objects.requireNonNull()
* Use PMD rule instead of checkstyle rule
2017-07-18 20:32:08 -07:00
Austin Shalit
06321b8e87
Fix encoder sourceA null check ( #579 )
2017-07-18 19:34:45 -07:00
Thad House
f3efb948fe
Switches CANJNI to use byte[] rather then ByteBuffer, and throws exceptions for invalid platforms ( #571 )
...
Fixes #567
2017-07-10 20:33:34 -07:00
Tyler Veness
432c03bf63
Updated Gradle to 4.0.1 ( #573 )
...
New PMD checks required modifying PIDController
2017-07-10 20:31:20 -07:00
Tyler Veness
822ea6abc8
Made SpeedController class organization consistent between languages ( #568 )
2017-07-09 19:43:56 -07:00