Thad House
6bdd7ce506
Update docs for disabled init to match all the other modes ( #1523 )
...
Closes #1522
2018-12-31 19:11:35 -08:00
Thad House
c12d7729e3
Update examples to use VictorSPX's rather then Sparks ( #1521 )
2018-12-31 13:45:09 -08:00
Dustin Spicuzza
3635116049
cscore: set charset of displayed pages ( #1520 )
...
All of our strings are UTF-8, but the default charset for HTML<5 was ISO-8859-1
2018-12-30 23:49:24 -08:00
Peter Johnson
6105873cbe
Provide alternate device paths info for USB cameras ( #1519 )
...
This is primarily for use on Linux to get by-id or by-path device names.
This information is now part of UsbCameraInfo.
A new entry point was added to UsbCamera to get that camera's UsbCameraInfo.
The alternate paths are also returned in EnumerateUsbCameras.
2018-12-30 11:48:18 -08:00
Sam Carlberg
80f87ff8ad
Allow video sources to be added to Shuffleboard ( #1453 )
...
Add a Sendable wrapper for VideoSource objects.
Add convenience methods for adding video sources directly to containers
so users won't have to manually wrap video sources.
2018-12-30 11:45:41 -08:00
Peter Johnson
a2368a6199
Watchdog: add timeout message suppression feature
...
Was part of reverted #1486
2018-12-30 00:16:50 -08:00
Peter Johnson
ae3cb6c83b
Watchdog.java: add comment fixes from reverted #1442
2018-12-30 00:16:50 -08:00
Peter Johnson
f0f196e5b3
Revert "MotorSafety: Use Watchdog instead of DS class polling ( #1442 )"
...
This reverts commit 26e8e587f9 .
2018-12-30 00:16:50 -08:00
Peter Johnson
7c35355d29
Revert "Suppress Watchdog's generic timeout message in MotorSafety ( #1486 )"
...
This reverts commit 41596608cc .
2018-12-30 00:16:50 -08:00
Peter Johnson
75cc09a9e4
Revert "Suppress timeout message in C++ MotorSafety class ( #1512 )"
...
This reverts commit 300eeb330d .
2018-12-30 00:16:50 -08:00
Peter Johnson
0e2e180635
PowerDistributionPanelTest.cpp: Include thread
2018-12-30 00:16:50 -08:00
Sam Carlberg
01d1322066
Add constants for built-in Shuffleboard widgets and layouts ( #1468 )
...
Prevents users from having to remember (and correctly type) the names of Shuffleboard widgets.
2018-12-29 17:22:47 -08:00
Peter Johnson
ceed1d74dc
ntcore: Strip whitespace from IP addresses ( #1516 )
2018-12-29 14:47:25 -08:00
Peter Johnson
e1bf623997
cscore: handle HTTP stream hangs ( #1513 )
...
Automatically disconnect the HTTP stream if no frames have been received
for 1 second.
2018-12-29 14:08:45 -08:00
Thad House
d46ce13ffe
Fix CAN API timing out incorrectly ( #1497 )
...
HAL_GetFPGATime returns 0 if it starts with a non zero status.
Always use monotonic clock for CAN times, rather then trying to sync FPGA.
Change timeout from 50 ms to 100 ms.
2018-12-29 13:57:23 -08:00
Tyler Veness
300eeb330d
Suppress timeout message in C++ MotorSafety class ( #1512 )
...
wpilibj's default constructor is already correct.
2018-12-27 14:01:02 -06:00
Andrew Dassonville
d817001259
Only write version information on real robot ( #1510 )
...
Writing to the versions file throws an exception on Windows, and might
write weird files on Linux.
2018-12-27 00:59:49 -06:00
Austin Shalit
8ac4b113a5
Fix build on macOS 10.14.2 ( #1509 )
2018-12-25 22:58:04 -06:00
Tyler Veness
f3864e9abb
Move deprecated message in C++ from class level to constructor ( #1505 )
...
This prevents deprecation messages when including a header but not
instantiating the class. SampleRobot was addressed by #1503 .
2018-12-25 01:14:24 -06:00
Thad House
799c3ea8a6
Disable gyro sim test on mac ( #1506 )
...
It fails with a mutex error very often, and we have not been able to figure out the issue.
It breaks CI.
2018-12-25 01:13:59 -06:00
David Vo
8d95c38e39
Watchdog: Fix potential IllegalFormatException ( #1508 )
...
If an epoch name contains a % symbol, this could've lead to an exception
at runtime where the number of arguments mismatches the format string.
2018-12-25 01:12:44 -06:00
Thad House
a7f4e29b73
Update versioning and vscode plugin ( #1498 )
...
versioning fixes multi tag issue
2018-12-24 15:46:41 -06:00
Thad House
b88369f5e8
Move deprecation warning for SampleRobot to constructor ( #1503 )
...
This way, the warning doesn't occur when including wpilib.h
Closes #1501
2018-12-24 15:46:12 -06:00
Thad House
ce6f1d0588
Change deperecation year for serial port direct constructor ( #1504 )
2018-12-24 15:17:19 -06:00
Thad House
f163216a4c
Add support for raspbian extraction ( #1494 )
...
This is how I did it in C#, and it was the most reliable way I could find.
2018-12-24 15:15:15 -06:00
Thad House
c449ef1064
Unconditionally await in awaitUntil ( #1499 )
...
Negative numbers are properly handled, which will reduce chances of deadlocks.
2018-12-24 15:07:47 -06:00
Thad House
6593f4346e
Default to DS attached to true in sim ( #1500 )
...
Otherwise, it is required to be set manually, which isn't obvious.
This is because the HighLevel DS classes check that the ds is attached before enabling
2018-12-24 02:06:53 -06:00
Thad House
ce1367a115
Make JNI library not found message clearer ( #1495 )
...
Closes #1472
2018-12-21 00:26:53 -08:00
Thad House
0d7d880261
Renable full Java 8 Compatibility ( #1493 )
2018-12-21 00:25:23 -08:00
Thad House
ca2acec88c
Update to NI Libraries 2019v12 ( #1492 )
2018-12-21 00:24:44 -08:00
Thad House
3721463eb3
Don't use symbolic path searching for USB detection ( #1491 )
...
The USB directories we care about are not symbolic links, so we can ignore them.
There was a recursive symbolic link, which was causing failure.
2018-12-19 14:40:01 -08:00
Thad House
6e8f8be370
Make C++ examples able to run GradleRIO unit tests ( #1490 )
...
Closes #1484
2018-12-17 09:26:20 -08:00
Thad House
d84240d8e9
Bump opencv version to 3.4.4-4 ( #1489 )
v2019.1.1-beta-4
2018-12-14 20:17:51 -08:00
Thad House
1823cb2b68
Fix periodic can packets not being received properly ( #1488 )
...
Constant calls would result in timeout, because a valid packet wasn't being returned early.
Also fix data copies (was copying in wrong direction).
2018-12-14 17:43:48 -08:00
Tyler Veness
41596608cc
Suppress Watchdog's generic timeout message in MotorSafety ( #1486 )
2018-12-14 10:53:33 -08:00
Thad House
0c3b488e18
Make ntcore instances not smart pointers ( #1485 )
...
During static shutdown, the instances hang on windows 7, so let them leak instead.
2018-12-13 21:33:58 -08:00
Thad House
7d7af287f6
Add empty classes to command/classes creation ( #1479 )
...
Closes #1478
v2019.1.1-beta-3
2018-12-09 21:25:37 -08:00
Thad House
4119622994
Fix characters in license file ( #1480 )
...
Causes wpiformat errors on windows.
2018-12-09 21:23:19 -08:00
Peter Johnson
d528a77963
wpiutil: Fix resources build ( #1476 )
2018-12-09 11:45:11 -08:00
Peter Johnson
dab7e1b7a2
Add multiCameraServer to cmake build ( #1477 )
2018-12-09 11:44:45 -08:00
Peter Johnson
ab49345460
Add missing param javadoc comment and fix argument order inconsistency ( #1475 )
2018-12-09 08:37:09 -08:00
Peter Johnson
608d82423d
wpiutil: Use scoped connections to ensure cleanup ( #1474 )
2018-12-09 01:36:36 -08:00
Peter Johnson
e0e15eafeb
wpiutil: Add shared resources for http servers
...
Files are named only with major.minor versions. Full versions are:
* bootstrap 4.1.3
* coreui 2.1.8
* feather 4.8.0
* jquery 3.3.1
* popper 1.14.4
2018-12-09 00:58:04 -08:00
Peter Johnson
0fb24538a7
wpiutil: HttpServerConnection: add SendStaticResponse
...
This function is intended for use when the content is a static const variable.
It allows gzipped static data, but doesn't provide the functionality to ungzip
it if the client doesn't support gzip. This is because it would add a
dependency on zlib and basically all clients support gzip.
Change extraHeader on all Send functions to include the final newline,
this makes it easier to build up extra headers incrementally.
Expose sig::Connection for messageComplete and headerConn to allow them to
be disconnected by users of the class. This is commonly needed for things
like WebSocket upgrades.
2018-12-09 00:58:04 -08:00
Thad House
d65547ea74
Bump OpenCV version ( #1471 )
2018-12-08 23:12:39 -08:00
Peter Johnson
bfe15245a6
Add multiCameraServer executable ( #1422 )
...
This standalone CameraServer reads its configuration from a json file.
2018-12-07 23:57:37 -08:00
Nicolas Machado
ff58c5156a
Change SmartDashboard type of PIDBase.cpp to match PIDBase.java ( #1470 )
2018-12-07 19:40:31 -08:00
Tyler Veness
6d4326a560
Rate-limit Watchdog timeout prints to 1Hz ( #1459 )
2018-12-07 19:39:02 -08:00
Sam Carlberg
97ba195b88
Fix LiveWindow attempting to start listeners on uninitialized sendables ( #1463 )
...
Additionally adds a defensive check in SendableBuilderImpl to avoid the NPE.
2018-12-07 19:38:22 -08:00
Thad House
3d546428ab
Add missing SubTableListener methods to C++ NetworkTable ( #1465 )
2018-12-06 23:27:49 -08:00