Thad House
7d721eb569
Fixes memory leak in SerialHelper VISA ( #366 )
2016-11-25 15:52:21 -08:00
Peter Johnson
b8e9439d32
Message: Fix typo in error message. ( #158 )
2016-11-24 23:50:02 -08:00
Fred Silberberg
d48aac5beb
Gradle Update ( #372 )
...
This does a major cleanup on our gradle files, primarily converting all instances of manual dependency downloading to use the correct configuration-based method, which has the advantage of being both less code and more safe.
2016-11-24 23:44:35 -08:00
Fred Silberberg
14b56db99e
Gradle 3.2.1 ( #369 )
...
Updated to gradle 3.2.1. This also moves all of the task graph listeners for dependency setup to use the gradle model, making it both safer and reducing line count.
2016-11-24 22:15:54 -08:00
Thad House
bfe429de51
Switches handles back to std::array ( #367 )
...
The binary size is being increased much less then when we originally
tried this. Using static arrays save a pointer indirection and will help
with cache in real time cases.
2016-11-24 21:55:20 -08:00
Thad House
57ef5cfd07
Splits out SerialHelper to allow using OS or VISA resources ( #365 )
...
Also removes regex and uses simple splits instead
2016-11-24 21:53:04 -08:00
Fred Silberberg
4bbb7c0bcc
Fixed javadoc generation to actually download cscore and ntcore and include the source in its output. ( #368 )
2016-11-24 21:51:01 -08:00
Thad House
4de70bff5e
Adds missing JNI method definitions ( #371 )
2016-11-24 21:49:34 -08:00
Peter Johnson
687f0c7dc0
Use const parameters in std::sort lambda. ( #364 )
...
This is more correct, and non-const fails on gcc 4.8.
2016-11-22 22:30:58 -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
Fred Silberberg
046d385a78
Actually fix lack of - ( #157 )
2016-11-20 21:42:17 -08:00
Fred Silberberg
5caf75237b
Fixed version generation when no - is present ( #156 )
2016-11-20 21:32:32 -08:00
Thad House
9a91ae54d6
Fixes incorrectly changed Java enums ( #360 )
...
Some enums need a specific value when they get passed to JNI
v2017.1.1-beta-3
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
Dustin Spicuzza
7bcd243ec3
Reorder the HAL handle types ( #357 )
2016-11-20 00:01:24 -08:00
Thad House
8f70bea899
Fixes Athena Runtime build not including ntcore ( #356 )
2016-11-19 23:58:29 -08:00
Thad House
948c4275ad
Fixes the wpilibj jar not getting updated during every build ( #359 )
2016-11-19 23:52:19 -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
Thad House
a19b1b9341
Adds data accessor functions to JNI ( #18 )
2016-11-19 19:02:20 -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
Peter Johnson
0b1e876dcf
Bump wpiutil version to 1.0.2.
2016-11-18 22:25:38 -08:00
Thad House
ac50d7cf8a
Removes NiVision from allwpilib ( #305 )
2016-11-18 20:04:21 -08:00
Peter Johnson
ae8c8ec230
Don't output \r\n before boundary. This throws off some clients.
2016-11-18 19:52:22 -08:00
Thad House
ecb873ff45
Fixes myRobotJava zipping before Java gets built ( #351 )
2016-11-18 19:44:13 -08:00
Peter Johnson
ec8c0eb3c2
Fix FPS setting and crash in reapplying settings.
2016-11-18 19:23:35 -08:00
Peter Johnson
3d898dd8f7
MJPEGServer: Fix URI %xx-decoding.
2016-11-18 19:03:35 -08:00
Peter Johnson
df18e178ee
MJPEGServer: Provide a bare-bones HTML root page.
2016-11-18 18:58:03 -08:00
Peter Johnson
71a6e08988
MJPEGServer: Make a couple of tweaks for Axis camera compatibility.
2016-11-18 18:33:49 -08:00
Peter Johnson
a05636d9a6
Add data accessors for USBCamera and MJPEGServer.
...
USBCamera: getPath()
MJPEGServer: getListenAddress() and getPort()
2016-11-18 17:21:03 -08:00
Peter Johnson
5eecbfd9bf
Implement immediate notify on network interfaces event.
2016-11-18 16:27:26 -08:00
Thad House
78baa04ecc
Adds OpenCV to myRobotJava ( #350 )
2016-11-18 16:20:30 -08:00
Peter Johnson
65514b3028
USBCamera: Update description on reconnect.
2016-11-18 16:16:04 -08:00
Peter Johnson
881d55f858
VideoListener: Add move assignment operator.
2016-11-18 15:10:37 -08:00
Krypton Cougars
b78f580d47
Adds default methods for Commands ( #238 ) ( #238 )
...
Closes #235
2016-11-18 14:42:40 -08:00
Peter Johnson
cc20d9d0fe
Add no-parameter constructors for specific sources/sinks.
2016-11-18 14:33:47 -08:00
Thad House
b115c75226
Adds SPI DIO to WPILib ( #256 )
2016-11-18 14:15:53 -08:00
Thad House
6bc092f3ae
Updates SPI device pin ( #348 )
2016-11-18 14:14:51 -08:00
Thad House
f99a266ce4
Adds CsCore dependency to myRobotCpp ( #349 )
2016-11-18 14:14:11 -08:00
Peter Johnson
35aa544415
VideoEvent: Make sourceHandle and sinkHandle public.
2016-11-18 13:20:50 -08:00
Peter Johnson
bad4ca4666
Add event for network interfaces change.
2016-11-18 12:41:08 -08:00
Peter Johnson
5fecc57e8a
Add methods to get the hostname and network interfaces.
2016-11-18 12:41:08 -08:00
Peter Johnson
e1f4e3d2d7
Fix mapping into Java enums.
...
The values are bitmask not contiguous, so we need to use a switch instead
of an array.
2016-11-18 12:41:08 -08:00
Peter Johnson
5ace9e4189
Renumber event kind values.
2016-11-18 12:41:08 -08:00
Peter Johnson
9945459a41
Notify sink enable and disable events.
2016-11-18 12:41:08 -08:00
Peter Johnson
22c11fad36
Notify source property events.
2016-11-18 12:41:08 -08:00
Peter Johnson
c6b527d452
Notify source connect, disconnect, and video mode changes.
2016-11-18 12:41:08 -08:00
Peter Johnson
8e9911d330
Notify on sink source change.
2016-11-18 12:41:08 -08:00