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
Thad House
e893662c0a
Adds new functions to def file ( #40 )
2017-01-03 19:52:26 -08:00
Austin Shalit
15e58acc76
Java SendableChooser no longer sets a default on addObject ( #441 )
2017-01-03 19:13:45 -08:00
Thad House
5df78c520c
Adds support for building separate armhf artifacts ( #177 )
...
Currently if using a separate compiler prefix, it would still get published
to the arm classifier. This modifies so a classifier suffix can be used to
disambiguate arm from armhf.
2017-01-03 19:12:47 -08:00
Thad House
f13f886886
Fixes arm example builds on windows ( #39 )
2017-01-03 19:10:21 -08:00
Thad House
5dd8e4dc7f
Adds defs for the C windows functions, and shims the 5 missing ones ( #38 )
2017-01-03 19:09:11 -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
Peter Johnson
883fd5b062
For property events, provide property name rather than source name.
...
This is much more useful.
2017-01-02 23:17:00 -08:00
Peter Johnson
7ddbf20108
Create VideoCamera base class and move camera settings functions to it.
...
This makes them available for both UsbCamera and HttpCamera / AxisCamera.
To avoid virtual functions in the public-facing interface, move the
implementation of the camera settings functions to the core library.
2017-01-02 23:17:00 -08:00
Peter Johnson
23135d7a5a
Allow Sink.SetSource() to be given an empty source.
...
In Java, allow source to be null (pointers are not used in C++, so
this isn't necessary).
2017-01-02 23:17:00 -08:00
Thad House
b91ab0b44f
Gets builds working on Windows (VS 2015) ( #37 )
...
Def files will be updated after the latest PR with new definitions gets
added.
2017-01-02 23:16:35 -08:00
Thad House
9a2ec13ba4
Fixes SetIntArrayRegion template for windows builds ( #178 )
2017-01-02 22:29:56 -08:00
Thad House
78995f5cca
Fixes SetIntArrayRegion template for windows builds ( #178 )
2017-01-02 22:29:56 -08:00
Thad House
f225c4773a
Fixes gradle publish with no flags. ( #35 )
2017-01-02 17:23:11 -08:00
Tyler Veness
25ae7b2c2b
Upgraded Doxygen gradle plugin to 0.3 ( #440 )
2017-01-02 10:03:37 -08:00
Tyler Veness
4b6dc9583a
Corrected order of access specifiers in MockCommand class ( #436 )
2017-01-02 00:44:35 -08:00
Thad House
64eab1f7b3
Fixes missing Extern "C" from HAL Threads ( #437 )
...
Also fixes incorrect return value during set
2017-01-02 00:43:12 -08:00
Fred Silberberg
bac4b3d5cb
Fixed gradle publish with no flags. ( #176 )
2017-01-01 00:13:00 -08:00
Thad House
182f57216f
Adds project and classpath ignores ( #425 )
...
VsCode now supports Java, but it creates these files, and there is no
way to turn it off. Will be adding this to a few other repos too.
2017-01-01 00:08:13 -08:00
Tyler Veness
65b091a39a
Call SmartDashboard::init() in RobotBase constructor. ( #428 )
...
Fixes #427
2017-01-01 00:07:22 -08:00
Austin Shalit
ed1a94531a
Update license headers to 2017 ( #434 )
2017-01-01 00:05:57 -08:00
Peter Johnson
e3f99a4a22
JStringRef: ensure string is null terminated so c_str() works correctly.
2016-12-26 14:13:15 -08:00
Peter Johnson
df7d3261c9
JStringRef: ensure string is null terminated so c_str() works correctly.
2016-12-26 14:13:15 -08:00
Peter Johnson
95ad4783f1
Revert "Fixes TCPAcceptor able to use an empty string ( #172 )"
...
This doesn't actually do anything since the outer if statement checks
for empty m_address already.
This reverts commit 6ad9f45d9a .
2016-12-26 13:55:21 -08:00
Peter Johnson
b5b0899226
Revert "Fixes TCPAcceptor able to use an empty string ( #172 )"
...
This doesn't actually do anything since the outer if statement checks
for empty m_address already.
This reverts commit 6ad9f45d9a .
2016-12-26 13:55:21 -08:00