Peter Johnson
1f93a4ab4f
Change acronym class names to use MixedCase (UsbCamera, MjpegServer). ( #22 )
2016-12-04 00:08:47 -08:00
Thad House
7a587390ba
Fixes OpenCV on windows when we get to it. ( #23 )
2016-12-04 00:08:26 -08:00
sciencewhiz
16181523c9
Put language in version string ( #377 )
2016-12-02 20:36:22 -08:00
Jacob Caporuscio
7e0706cf83
Updated Usage Reporting for 2017 v8 Image ( #385 )
2016-12-02 18:16:49 -08:00
Thad House
bff67887fd
Adds capabilities to support certain HAL functionality from LabVIEW ( #382 )
...
They can only include HAL/LV/HAL.h, HAL/cpp/*.h, and HAL/handles/*.h.
Nothing else will work properly.
2016-12-02 00:32:01 -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
378a145cf7
Fixes Missed Symbol from Def file ( #162 )
2016-12-01 13:45:39 -08:00
Thad House
3625f11e08
Adds C methods that take a cv::Mat* ( #21 )
...
Some implementations of OpenCV use cv::Mat as their native pointer
rather then CvMat, so we need to support both in the C interface
2016-11-30 22:00:44 -08:00
Thad House
051df14046
Updates ni patch task to automatically switch all files to LF ( #381 )
...
Still requires manual intervention to make files not readonly, but
that's easier.
2016-11-29 20:20:49 -08:00
Thad House
ee0318f697
Updates NI Libraries to image 8 ( #380 )
2016-11-29 19:56:30 -08:00
Thad House
1332ba3ad2
Adds JNI symbol check to ensure we don't miss any definitions ( #19 )
2016-11-27 23:17:26 -08:00
Peter Johnson
558b2ffa41
NetworkStream: Add setBlocking() and getNativeHandle(). ( #161 )
...
Also add checking for "would block" errors in send() and receive().
Check for set nonblocking failures in TCPConnector as well (generate warnings rather than errors)
2016-11-27 19:59:52 -08:00
Peter Johnson
1315a3967d
NetworkStream: Add setBlocking() and getNativeHandle(). ( #161 )
...
Also add checking for "would block" errors in send() and receive().
Check for set nonblocking failures in TCPConnector as well (generate warnings rather than errors)
2016-11-27 19:59:52 -08:00
Thad House
a6fb1efcbe
Switches internal joystick errors to take StringRef ( #378 )
...
Previously this would have allocated the std::string every time, even if
the message wasn't printed. Now takes a StringRef, and only converts to
std::string when the message actually gets printed.
2016-11-26 21:22:39 -08:00
sciencewhiz
31fecc28a4
Check for NaN motor speed. Fixes artf5467. ( #376 )
2016-11-26 21:04:40 -08:00
Austin Schuh
00b76d42e0
Fixed unused variable warning from gcc. ( #159 )
...
This makes it so that ntcore builds with -Wextra -Werror
2016-11-26 16:28:50 -08:00
Austin Schuh
e7c4150c02
Fixed unused variable warning from gcc. ( #159 )
...
This makes it so that ntcore builds with -Wextra -Werror
2016-11-26 16:28:50 -08:00
Thad House
bc06c843c7
Adds JNI symbol check to ensure we don't miss any definitions ( #160 )
2016-11-25 17:07:58 -08:00
Thad House
30b1efc354
Adds check to ensure all JNI symbols have been defined properly ( #373 )
2016-11-25 17:07:36 -08:00
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