Thad House
997d4fdf47
Update HAL GetStackTrace to properly report user errors ( #1594 )
...
With the move of the HAL, the old value no longer worked, as the JNI call is in a different namespace
2019-02-11 20:17:31 -08:00
Thad House
76d9e26633
uv: Add reuse to pipe ( #1577 )
...
Needed for a reconnection API
2019-02-09 00:09:22 -08:00
Thad House
a230c814cb
Add support for WPILib vscode extension for allwpilib C++ intellisense ( #1590 )
2019-02-09 00:07:48 -08:00
Thad House
12cb77cd7c
Fix DS Comm button tests ( #1591 )
...
Mac requires the double braces
2019-02-09 00:07:24 -08:00
Thad House
8a9822a96b
Allow multiple instances of the same PDP ( #1582 )
...
Previously multiple instances would overrun with each other. This make all instances get the same HAL handle.
2019-02-06 22:51:34 -08:00
Thad House
a9371a7586
Fix missing exposure property on windows USB cameras ( #1571 )
2019-02-06 22:49:55 -08:00
Peter Johnson
6992f5421f
cscore: Avoid crash if invalid (null) source set in MjpegServer ( #1585 )
...
Fixes robotpy/robotpy-cscore#60
2019-02-03 00:22:07 -08:00
Tyler Veness
43696956d2
Fix Watchdog incorrectly resetting expiration flag upon disable ( #1580 )
...
Resetting the flag should only occur in Enable() and Reset().
IterativeRobotBase needs the flag to remain set to print epochs after
disabling the Watchdog.
2019-02-02 00:22:07 -08:00
Thad House
ae3fd5adac
Fix docs search having unspecified module directory ( #1568 )
...
Also add Doxygen comment for C++ filesystem API.
2019-02-02 00:20:57 -08:00
Jaci Brunning
404666b298
Fix Halsim DS Button Format ( #1583 )
2019-02-01 23:23:04 -08:00
sciencewhiz
1eb4c99d15
Update README for 2019 changes ( #1569 )
...
Fixes #1562
2019-02-01 23:05:41 -08:00
Thad House
910b9f3af7
Add support for camera descriptions on windows ( #1572 )
...
For now, has to force enumerate all cameras to find the matching one
2019-02-01 23:04:12 -08:00
Thad House
09d90b02fb
Remove prints and unecessary items from windows GetNetworkInterfaces ( #1573 )
2019-02-01 23:02:12 -08:00
Peter Johnson
0e1f9c2ed2
ntcore: Read ini escaped quotes correctly ( #1579 )
2019-02-01 23:01:00 -08:00
Thad House
f156a00117
wpiutil uv: Pass IPC value of listening pipe to accepted pipe ( #1576 )
...
Otherwise, the acception fails.
2019-01-30 20:37:28 -08:00
Thad House
4a6087ed56
Disable watchdog test on mac ( #1578 )
...
It can't be held property on the asure test system
2019-01-30 20:35:16 -08:00
Peter Johnson
88a09dd13a
cscore: Handle USB camera integer menus ( #1561 )
...
The Pi Camera is one of these. Previously, integers were just being
cast to a string instead of formatted as a string.
2019-01-24 22:46:29 -08:00
Christopher Cantrell
7d19596367
Changed terminology from "Overload" to "Override" ( #1563 )
2019-01-24 22:45:05 -08:00
Jaci Brunning
bd05dfa1c7
Fix ds_socket matchinfo ( #1555 )
2019-01-16 21:32:34 -08:00
Peter Johnson
05d6660a6b
cscore: Add config json to VideoSink ( #1543 )
...
Same format as VideoSource.
Refactor properties json handling into PropertyContainer.
2019-01-11 20:33:05 -08:00
Peter Johnson
1349dd4bd8
Make MjpegServer functions public ( #1545 )
2019-01-11 17:53:44 -08:00
Peter Johnson
fdf298b172
CameraServer: Return MjpegServer from StartAutomaticCapture(VideoSource) ( #1544 )
2019-01-11 16:44:49 -08:00
Peter Johnson
453a9047e4
Fix cmake hal sim build ( #1539 )
...
A source directory was named incorrectly in CamelCase.
2019-01-11 02:38:35 -08:00
Peter Johnson
e97e7a7611
Add DriverStationSim.notifyNewData ( #1537 )
v2019.2.1
2019-01-09 23:47:42 -08:00
Thad House
308bdbe298
cscore: Windows UsbCamera: Use custom windows message for initial connection ( #1534 )
...
WM_CREATE is being called at a time where the message pump cannot be called back into.
2019-01-09 22:52:24 -08:00
Peter Johnson
f889b45d59
cscore: MjpegServer: Fix FPS limiting ( #1536 )
...
This uses a 1-second window average to try to hit the desired FPS.
2019-01-09 22:50:34 -08:00
Peter Johnson
444b899a9f
Java: Fix Timer.get() handling of accumulated time ( #1531 )
...
Fixes #1530 .
2019-01-08 19:43:49 -08:00
Tyler Veness
f121ccff0d
Avoid Watchdog thread clobbering m_isExpired flag after callback ( #1527 )
2019-01-08 19:37:59 -08:00
Peter Johnson
bc2c932f92
Fix MotorSafety deadlock ( #1526 )
...
Some instances of StopMotor (most notably DifferentialDrive) call Feed(),
which deadlocks due to Check() holding the same lock.
Fixes #1525 .
v2019.1.1
2019-01-02 20:58:39 -08:00
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