Austin Shalit
8f1b034b2f
Fix typo in JavaDoc ( #462 )
2017-01-16 22:57:28 -07:00
sciencewhiz
d322342494
Remove comments about Blue DS ( #450 )
...
It's unlikely that anyone is still using the Blue Kwikbyte DS from 2009,
and the reference is confusing to people who weren't around then.
2017-01-14 23:52:48 -07:00
Peter Johnson
bc7ab17692
CameraServer updates ( #446 )
...
* CameraServer: Add properties and video mode NT interchange.
* Automatically serve Axis cameras so they're accessible via USB.
2017-01-05 02:51:55 -08: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
eee7f3991c
Allow VisionRunner to stop ( #442 )
2017-01-04 19:41:07 -08:00
Thad House
2e3503517d
Add OS level serial port ( #426 )
2017-01-04 19:38:17 -08:00
Austin Shalit
15e58acc76
Java SendableChooser no longer sets a default on addObject ( #441 )
2017-01-03 19:13:45 -08:00
Austin Shalit
5aa5e3e09e
SendableChooser generic value ( #433 )
...
* Java SendableChooser now decorates with type (non-breaking change)
* C++ SendableChooser now is templated on the type instead of using void* and stores values (breaking change)
* C++ SendableChooser now uses llvm::StringMap instead of std::map
2017-01-03 14:40:31 -08:00
Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Peter Johnson
4800c201e4
Add Axis camera creation functions and Http camera NT publishing. ( #420 )
2016-12-24 21:05:08 -06:00
Thad House
dc9a9e5d96
Fixes typo in SensorBase error message ( #422 )
2016-12-24 21:04:32 -06:00
Austin Shalit
8f67f2c24c
Remove unused code and add pmd check ( #395 )
2016-12-23 13:20:13 -06:00
Thad House
cc246bb9ac
Switches JNI to use new jni_util methods ( #404 )
...
* Uses WPIUtil string objects in JNI
* Switches JNI to use new jni_util classes
2016-12-23 13:13:17 -06:00
Sam Carlberg
bf9f0a9e6d
Add vision pipeline API to make it easier to run OpenCV pipelines ( #388 )
2016-12-23 10:48:56 -06:00
Austin Shalit
c3160bad44
Update SendableChooser to use HashMap ( #394 )
2016-12-22 15:56:23 -08:00
Thad House
a03e3d7eb9
Fixes HAL to build without all headers included in HAL.h ( #418 )
2016-12-21 23:55:31 -06:00
Tyler Veness
8cec948699
Fix typos ( #409 )
2016-12-19 22:06:39 -06:00
Peter Johnson
0ee4cadca0
CameraServer: Workaround LabVIEW dashboard OpenCV compatibility. ( #406 )
...
The current LabVIEW dashboard (Beta 4) requires the source type to be either
"usb:" or "ip:" and does not support "cv:". To work around this, use a source
type of "usb:" for OpenCV sources as well.
Workaround for #407 .
2016-12-18 13:36:44 -08:00
Austin Shalit
a705eb1c61
Add PMD and solve issues ( #389 )
2016-12-07 21:24:44 -08:00
Austin Shalit
c30057e923
Remove unused imports ( #387 )
2016-12-05 21:36:52 -08:00
Peter Johnson
06108b9479
Update CameraServer support. ( #386 )
...
* Follow MixedCase rename.
* Add GetVideo function to get cameras by name.
2016-12-04 00:26:08 -08:00
sciencewhiz
16181523c9
Put language in version string ( #377 )
2016-12-02 20:36:22 -08:00
Thad House
351ff5eb48
Adds new Threads API for priority setting while using std::thread ( #379 )
...
Also adds Java API for doing the same to Java threads (standard Java Thread.setPriority only works
when Java is run as root, even if the process has the right privileges).
2016-12-01 21:06:19 -08:00
Thad House
4de70bff5e
Adds missing JNI method definitions ( #371 )
2016-11-24 21:49:34 -08:00
Thad House
f3d66e92ec
Searches for USB serial devices to get the correct VISA object ( #363 )
...
Fix was made in LabVIEW, and this matches what was done there.
2016-11-22 21:51:47 -08:00
Thad House
9a91ae54d6
Fixes incorrectly changed Java enums ( #360 )
...
Some enums need a specific value when they get passed to JNI
2016-11-20 20:32:52 -08:00
Tyler Veness
69422dc063
Replaced floats with doubles ( #355 )
...
This makes our APIs more consistent. With optimizations enabled, doubles are just as efficient as floats on ARMv7, so we should take advantage of the extra precision.
2016-11-20 07:25:03 -08:00
Peter Johnson
03a1159915
Java CameraServer: Fix type cast exception. ( #358 )
...
Also fixes an unchecked warning.
2016-11-19 22:45:45 -08:00
Tyler Veness
1c8fb298b4
Ran formatter ( #354 )
2016-11-19 00:39:32 -08:00
Tyler Veness
b25a7cb370
Command::IsFinished() must be overriden by subclasses again ( #353 )
...
Documentation was added for InstantCommand and TimedCommand.
2016-11-19 00:26:22 -08:00
Tyler Veness
140c365e4b
Added XboxController class ( #140 )
...
Joystick and Gamepad functionality was separated into cleaner interfaces.
2016-11-18 23:05:37 -08:00
Peter Johnson
8c93ceb728
Add cscore-based CameraServer. ( #352 )
...
Not fully functional yet, but implements basic functionality required for LabView dashboard interoperability.
2016-11-18 22:30:22 -08:00
Thad House
ac50d7cf8a
Removes NiVision from allwpilib ( #305 )
2016-11-18 20:04:21 -08:00
Krypton Cougars
b78f580d47
Adds default methods for Commands ( #238 ) ( #238 )
...
Closes #235
2016-11-18 14:42:40 -08:00
Thad House
de4a246bb4
Adds OpenCV Loading to wpilib program startup ( #338 )
2016-11-11 22:32:13 -08:00
rrossbach
412b80da30
Fixes joystick button handling HAL JNI layer (buttons are in an ( #341 )
...
int, not a byte)
2016-11-10 20:21:54 -08:00
Thad House
b22d218236
Removes CANJaguar specific constants from JNI files ( #339 )
2016-11-08 16:52:24 -08:00
Thad House
ecb2add791
Removes additional references to CANTalon from the library. ( #312 )
2016-11-01 20:13:26 -07:00
Thad House
81221c4874
Moves JNI internal utility methods to frc namespace ( #310 )
2016-10-31 23:04:49 -07:00
Thad House
247cef5ec2
Removes CANJaguar from wpilib ( #300 )
...
Now located at https://github.com/wpilibsuite/CANJaguar .
2016-10-27 10:54:52 -07:00
Thad House
5e3755493d
Linking and maven publish location rewrite ( #298 )
...
* Links HAL shared instead of static, and doesn't include library in jar
* Strips shared object files, and includes debug in releases
* Zips the HAL libraries into a separate maven artifact
* Switches to shared wpiutil
* Switches wpilibc to shared
* Moves maven artifacts
wpilibc now in edu.wpi.first.wpilibc:athena
wpilibj now in edu.wpi.first.wpilibj:athena
wpilibj jni not in edu.wpi.first.wpilibj:athena-jni
hal now in edu.wpi.first.wpilib:hal
athena runtime added (hal, ntcore, wpiutil) edu.wpi.first.wpilib:athena-runtime
Changes made where wpilibc does NOT include all required artifacts anymore. Dependent on hal, wpiutil and ntcore packages to work correctly.
JNI does NOT include all required artifacts anymore. Dependent on hal and wpiutil packages to work correctly.
2016-10-25 20:46:09 -07:00
Thad House
1071686d81
Replaces C++ IsNewControlData semaphore with atomic bool, and Java code with AtomicBool ( #187 )
2016-10-24 20:32:43 -07:00
Austin Shalit
963391cf39
Cleanup SolenoidBase, Solenoid, and DoubleSolenoid ( #271 )
2016-10-23 14:20:28 -07:00
Thad House
4f4c52d6d5
Switches JNI to use SafeThread from WPIUtil ( #282 )
2016-10-23 14:18:46 -07:00
Fred Silberberg
e5e1a1a4d1
Moved version generation to the WPILib versioning plugin. ( #277 )
...
* Moved version generation to the WPILib versioning plugin. This also moves ntcore and wpilib to the latest available version.
* Fixed description string.
* Gave full path for ignored files.
2016-10-20 23:54:04 -07:00
Austin Shalit
0613f1d182
Cleanup encoder class ( #272 )
2016-10-19 22:39:47 -07:00
Austin Shalit
23ef57561d
Cleanup PowerDistributionPanel ( #275 )
2016-10-19 22:34:57 -07:00
Austin Shalit
33b95816ee
Cleanup SensorBase class ( #273 )
2016-10-19 22:33:36 -07:00
Fred Silberberg
3784b665de
Updated version for beta 1 ( #270 )
2016-10-13 18:50:39 -07:00
Kevin-OConnor
567ea1d58d
Remove CAN TalonSRX from WPILib (moving to external library) ( #268 )
2016-10-13 18:50:20 -07:00