Austin Shalit
305450b6e4
Remove 'value' from PIDSourceType ( #464 )
2017-05-06 21:27:07 -07:00
Thad House
fdd0b853ed
Fixes Base.h to work properly with MSVC 2015 and above ( #513 )
2017-05-06 21:23:33 -07:00
Dustin Spicuzza
49de28d3d0
Add overloads for property types except enum ( #73 )
...
- Fixes #70
2017-05-01 20:44:09 -07:00
Dustin Spicuzza
c34cf11769
MjpegServer: style fixes for root page ( #72 )
...
- Moves stream to the right of any settings
- When the page is too small, then the stream will move to the top of the settings
2017-04-30 08:49:21 -07:00
Austin Shalit
42facbb07e
Make Java "struct" constructors public for testing/simulating ( #195 )
2017-04-30 08:48:02 -07:00
Joseph Jackson
9f97cd61bf
Correct platform path for 32-bit Linux ( #179 )
...
Gradle needs to produce a platform path of "Linux/i386" when targeting a Linux 32-bit Intel platform. Otherwise, it doesn't match Java's os.name/os.arch when loading the ntcore library in NetworkTablesJNI.java. Windows uses "x86" but Linux uses "i386". (http://lopica.sourceforge.net/os.html )
2017-04-30 08:47:02 -07:00
Max Narvaez
1d025204e7
Fixed Spelling Mistakes in SmartDashboard.java ( #506 )
...
Fixed comment spelling.
2017-04-30 00:29:27 -07:00
Peter Johnson
59133a7d93
Use Javadoc formatting for Java comments. ( #66 )
2017-03-11 21:56:14 -08:00
Thad House
b484cbba7c
Adds SinkFrameTimeoutCpp to def file ( #61 )
2017-02-17 20:41:32 -08:00
Peter Johnson
61e34621cc
Add GetNextFrame timeout to CvSink and MjpegServer.
...
MjpegServer uses the timeout to generate keep-alives to any clients
(which helps detect disconnects and avoid stale client threads).
CvSink GrabFrame now defaults to a timeout, but the timeout can be
changed by the user, or the old no-timeout version is now available
as GrabFrameNoTimeout.
2017-02-17 02:06:46 -08:00
Peter Johnson
5e9575de66
Add missing CS_SetDefaultLogger in cscore-jni.def.
2017-02-17 02:06:46 -08:00
Tyler Veness
12f759860e
Corrects assumptions about return values from i2c-lib ( #484 )
...
Fixes #478
v2017.3.1
2017-02-17 00:05:54 -08:00
Dustin Spicuzza
c02d34dbf3
Allow resetting the logger back to default ( #55 )
2017-02-16 22:12:16 -08:00
Peter Johnson
8f97637b71
Fix handling of HTTP cameras that do not provide a Content-Length. ( #59 )
...
ReadJpeg was not correctly parsing the SOS segment.
2017-02-16 22:11:54 -08:00
Peter Johnson
878d3a6f4f
Publish video modes to webserver. ( #58 )
...
This puts a table of modes onto the main webpage and also adds them to
the JSON output.
Fixes #50 .
2017-02-16 01:06:38 -08:00
Peter Johnson
ef25bbde75
Fix SetExposureAuto. ( #57 )
...
This is an enum value; setting 3 seems to be correct for USB cameras.
Fixes #56 .
2017-02-15 16:25:43 -08:00
Austin Shalit
1bdbb5ddcc
Remove usages of isEnable() ( #483 )
2017-02-14 01:16:36 -08:00
Paul Friederichsen
b573fb6555
Fix param order in RobotDrive docs ( #481 )
...
Fix Javadoc @param order in RobotDrive and fix order of params in C++ docs
2017-02-14 01:14:56 -08:00
Thad House
b50a7bdbee
Fixes memory leak for SPI reads ( #474 )
...
Adds a stack allocation for most use cases.
2017-02-14 01:14:08 -08:00
Thad House
5a5f10dfc8
Fixes I2C read change size of pointer ( #479 )
...
Fixes #477
2017-02-10 15:21:59 -08:00
Dustin Spicuzza
8c3efa5926
Increment reference count when creating VideoSource object ( #53 )
2017-02-09 00:55:40 -08:00
Thad House
e6656326a8
Adds field IP to round robin list ( #187 )
...
With how many more coprocessors are being added, this is probably needed
to make the field crew sane.
2017-02-09 00:55:01 -08:00
Peter Johnson
e375b4a9ff
CameraServer: auto-increment startAutomaticCapture(). ( #468 )
...
Also add GetServer() functions so the automatically created VideoSink can
be retrieved by user code if desired.
v2017.2.1
2017-01-20 01:07:37 -07:00
Thad House
ff141ab1ff
Fixes exception on camera creation without plugged in camera ( #470 )
...
Would throw if the camera was disconnected. We handle this properly at
the JNI level to not have this crash the entire program, but the error
is still kind of annoying, and not really an error.
2017-01-20 01:02:27 -07:00
Thad House
cf8cab850b
Fixes missing VideoProperty constructor. ( #49 )
2017-01-20 00:49:58 -07:00
Peter Johnson
b8537be219
CameraServer: Remove NT-driven settings. ( #467 )
...
Unfortunately, due to the way NT synchronization is currently performed,
this has unexpected and undesirable behavior: when a dashboard (or any other
NT client) is left running between code restarts, when it reconnects, any
code settings will be overwritten by the NT synchronization process. As
fixing this will require a fairly major NT change (and likely a user-visible
one), it's not desirable to do at this point in the year.
Instead, disable NT driven settings entirely (e.g. make the NT interface
publish only). To emphasize the read-only nature of the NT values, attempts
to change the NT values will be immediately overridden by CameraServer.
To better inform users about the actual property names (e.g. for use in their
code), the "raw_" settings no longer have "raw_" removed from their names
(they are still placed in the "RawProperty" subtable).
This change also contains a couple of Java fixes:
* Make getInstance() thread-safe
* Properly synchronize access to m_tables between multiple threads.
* Use Hashtable instead of HashMap.
2017-01-19 12:30:07 -07:00
Thad House
db5dfa1746
Adds sliders for all settable properties to the default webpage ( #48 )
...
When the page is loaded, if properties can be found they will
automatically be created on screen. They are currently not auto
updating. Raw values are currently disabled because of this.
2017-01-19 01:02:37 -07:00
Peter Johnson
13457d1bf4
Update setUpdateRate() documentation to match implementation.
...
Update rates as fast as 10 ms are now allowed.
Fixes #184 .
2017-01-18 21:32:15 -08:00
Austin Shalit
8f1b034b2f
Fix typo in JavaDoc ( #462 )
2017-01-16 22:57:28 -07:00
Thad House
71d0a07e0a
Fixes solenoid allocation error message ( #455 )
...
The error was NO_AVAILABLE_RESOURCES, which is not the proper error to
return. Instead, just return the error directly from the allocation.
2017-01-14 23:59:05 -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
8f8c4d3d95
HttpUtil: Allow "http" scheme to be mixed case.
2017-01-10 00:15:39 -08:00
Thad House
d47bd1ecbc
Fixes embedded library name used for extraction in Java ( #45 )
2017-01-09 20:49:02 -08:00
Thad House
e9fcb5381a
Fixes Java artifact clasifiers when using custom suffix ( #44 )
2017-01-05 14:14:42 -08:00
Thad House
3e2631f49b
Fixes Java artifact clasifiers when using custom suffix ( #183 )
2017-01-05 14:13:57 -08: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.
v2017.1.1
2017-01-05 02:51:55 -08:00
Peter Johnson
3c3236c5d5
Fix video mode notifications.
2017-01-05 01:42:19 -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
Thad House
23462ec7df
Adds way to force publishing version from command line ( #43 )
...
In case we need to do a recreation of an artifact for some reason, this
makes it possible.
2017-01-04 22:16:17 -08:00
Thad House
ac56b0a33e
Adds way to force publishing version from command line ( #182 )
...
In case we need to do a recreation of an artifact for some reason, this
makes it possible.
2017-01-04 22:15:23 -08:00
Thad House
1fc375b31a
Updates the gradle wrapper to version 3.3 ( #445 )
2017-01-04 22:08:48 -08:00
Austin Shalit
eee7f3991c
Allow VisionRunner to stop ( #442 )
2017-01-04 19:41:07 -08:00
Thad House
b55c604c0a
Updates Gradle to 3.3, and removes the Visual Studio 2015 workaround ( #41 )
2017-01-04 19:40:44 -08:00
Thad House
a72f8f3bcd
Add new ARM Toolchain, add toolchainpath to README ( #42 )
...
Matches ntcore #165
2017-01-04 19:40:28 -08:00
Thad House
2e3503517d
Add OS level serial port ( #426 )
2017-01-04 19:38:17 -08:00
Thad House
27c0405fc9
Reruns gradle wrapper to fully generate 3.3 files ( #181 )
2017-01-04 19:08:33 -08:00
Thad House
b9e80ecfdc
Updates to gradle 3.3, and removes Visual Studio 2015 workaround ( #180 )
2017-01-04 17:37:02 -08:00
Thad House
a3adb38bef
Adds support for specifying output suffix of arm packages. ( #34 )
...
Currently if using a separate compiler prefix, it would get published to
the arm classifier. This modifies so the output suffix can now be
specified (e.g. "hf" for armhf).
2017-01-04 01:38:37 -08:00
Peter Johnson
593ba37c43
Java VideoEvent: Make propertyHandle public.
2017-01-04 01:16:10 -08:00
Peter Johnson
4ed78a84ef
Java VideoMode: Provide PixelFormat-taking constructor.
2017-01-04 01:16:10 -08:00