Austin Shalit
3cf4f38f5d
Fix build on macos10.14.4 ( #1648 )
2019-04-27 20:25:27 -07:00
Thad House
4e0c10f488
Fix CAN Clean using wrong ID ( #1668 )
2019-04-27 20:24:40 -07:00
Thad House
3b06313243
Fix Gray to BGR conversion in CameraServer ( #1665 )
2019-04-27 20:17:17 -07:00
Thad House
6cd1c73efe
Fix GUID comparison creating weird symbol ( #1659 )
2019-04-27 20:16:52 -07:00
Austin Shalit
063bbab6f5
MavenArtifacts.md: update links to HTTPS ( #1674 )
2019-04-27 20:16:04 -07:00
sciencewhiz
aab4c494d6
Fix type in build.gradle ( #1604 )
2019-03-10 18:40:16 -07:00
Peter Johnson
bf46af2600
Disable extraneous data warnings in libjpeg ( #1630 )
...
These are common with USB cameras.
2019-03-10 18:39:07 -07:00
Thad House
655763a9a7
Limit length of message sent to DS SendError call ( #1618 )
...
If total length is over 65536, the packet will get thrown out.
This can be a problem in stack overflow cases (e.g. infinite recursion).
2019-03-03 15:43:04 -08:00
Tyler Veness
a095ec2d8f
Fix linker errors with free functions in Threads.h ( #1625 )
...
The functions in Threads.h are in the frc namespace. `using namespace frc;` in
Threads.cpp doesn't put their implementations in the frc namespace, so linker
errors occur when attempting to use them in robot programs.
To fix this, one can either wrap them in a namespace block or prepend
`frc::` to the implementation's signature. Based on past discussion, I
opted for the namespace block.
2019-03-03 15:39:59 -08:00
Thad House
12ab035aad
Fix receive side of LabVIEW USB streams ( #1621 )
...
LabView only accepts %20 instead of + for parameters, only sends '\n' at the boundaries,
and includes the -- when sending the initial boundary. This solves those parts.
This is not fully enough to fix shuffleboard and others, as the NT format for paths is not the correct path.
2019-03-03 11:20:43 -08:00
Thad House
99e4f7dd2c
Fix SPI CS1 not working correctly ( #1614 )
...
It was failing the check when remapping digital sources
v2019.4.1
2019-02-25 18:48:22 -08:00
Peter Johnson
60c2f59051
C++ CameraServer: initialize default Usb camera device number ( #1601 )
...
Otherwise just plain StartAutomaticCapture() starts with random number.
v2019.3.1
v2019.3.2
2019-02-14 22:39:40 -08:00
Peter Johnson
d55ca191b8
CameraServer: Add switched camera support ( #1600 )
...
This adds a new function "addSwitchedCamera" that creates and publishes a
virtual camera where the published stream information is consistent even if
the mjpeg server source is switched to a different camera.
Previously, changing the source of the mjpeg server resulted in updating the
stream information published for that source.
2019-02-14 22:05:40 -08:00
Sam Carlberg
e8b24717c7
C++ Shuffleboard fixes ( #1595 )
...
* Fix C++ ShuffleboardComponent template type
* Fix `WithWidget(WidgetType&)`not being properly capitalized
* Fix data members across dll boundaries by using enum for built in types
2019-02-14 20:44:30 -08:00
Tyler Veness
182758c05b
Fix Ultrasonic sensor runner thread ( #1598 )
...
When there is more than one ultrasonic sensor, only the last sensor
instantiated would work due to incorrect array index management. This
replaces the previous approach with range-based for loops like the C++
implementation.
Supersedes #1589 .
2019-02-14 20:25:56 -08:00
Peter Johnson
74f7ba04b0
Java PIDBase: Make setPIDSourceType and getPIDSourceType public ( #1599 )
...
Fixes #1596 .
2019-02-13 23:41:05 -08:00
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