Tyler Veness
b630b63ef0
Remove functions in LiveWindow deprecated since 2018 ( #1716 )
...
The Java versions were already accidentally removed in #1059 .
2019-06-14 18:52:10 -07:00
Peter Johnson
1d0c05d4f8
Styleguide fixes for #1718 ( #1719 )
2019-06-14 18:51:49 -07:00
Peter Johnson
f07569df19
Fix newer GCC/clang compiler warnings ( #1718 )
2019-06-14 18:32:27 -07:00
David Vo
0120f31247
C++ SPI: Fix SetClockRate to take int ( #1717 )
...
The Java version takes an int, and HAL_SetSPISpeed takes an int as well.
2019-06-12 06:04:52 -07:00
Thad House
c2829ed98e
Configure gradle to ignore unresolved headers ( #1711 )
...
Work around Gradle's handling of libraries like eigen and opencv
which use macro includes. Also completely disable incremental includes.
2019-06-11 21:48:32 -07:00
Thad House
221e66f46d
Allow disabling static init of JNI libraries ( #1672 )
2019-06-10 22:29:32 -07:00
Thad House
738852e119
cmake: Add cross toolchain files for Rio and Pi ( #1710 )
2019-06-10 22:05:20 -07:00
Tyler Veness
27b697b084
Remove frc directory include shims ( #1714 )
2019-06-10 22:03:52 -07:00
Tyler Veness
9e45373a74
Remove functions and classes deprecated for 2018 season ( #1059 )
2019-06-10 22:03:15 -07:00
David Vo
eeb1025ac7
SPI: Report port as instance for usage reporting ( #1704 )
2019-06-10 20:57:36 -07:00
Thad House
bc6f1e2469
Windows compiler options improvements ( #1709 )
...
- Use generators to set options only during build
- Add ZcThrowingNew
- Disable 4996
Fixes #1699
2019-06-10 20:09:39 -07:00
Thad House
bb48ae391e
cmake: Move example programs into folders ( #1654 )
...
This looks cleaner in VS.
2019-06-10 20:04:34 -07:00
Thad House
221011494d
Update for C++17 and fix MSVC warnings ( #1694 )
...
* Update MSVC arguments
* Fix json allocator
* Fix simulation diamond
* Bump gtest
* Remove empty varargs in unit tests
* Replace test case with test suite
* Remove deprecation warning in optional
* Remove need for NOMIXMAX to be defined in wpilib headers
2019-05-31 15:43:32 -05:00
Thad House
fb1239a2ad
Add raw sources and sinks to cscore ( #1670 )
...
In some cases, we don't want the cv requirement to get an image, for instance interop with other versions of opencv
This enables getting a raw image, and handling conversions from the user side.
2019-05-30 21:12:05 -05:00
Thad House
7de9477347
Add lambda overloads for interrupts ( #1636 )
2019-05-30 19:59:35 -05:00
Thad House
90957aeea4
Move libuv to its own subfolder in build ( #1661 )
...
Allows using system libuv
* Fix Gradle Build and include dirs
* Update cmake find to support vcpkg libuv
2019-05-30 15:59:26 -07:00
Thad House
47aae502a7
Styleguide fixes ( #1702 )
2019-05-30 12:36:36 -07:00
pgfisico
0bff98b5ec
Correct DifferentialDrive::ArcadeDrive param docs ( #1698 )
2019-05-30 11:05:42 -07:00
Sam Carlberg
b52e40b80c
Allow widgets to be added by passing value suppliers ( #1690 )
2019-05-30 09:45:23 -07:00
Sam Carlberg
4a00cd77bb
Add usage reporting for the Shuffleboard API ( #1685 )
2019-05-30 09:36:49 -07:00
Thad House
e25e515f2e
Publish artifacts on azure ( #1678 )
2019-05-25 06:18:49 -07:00
Thad House
322ef9b967
Force Java 11, fix javadoc generation ( #1695 )
2019-05-19 16:59:44 -07:00
Tyler Veness
d42ef5df02
Fix Watchdog print formatting ( #1693 )
2019-05-19 12:24:40 -07:00
Tyler Veness
f432f65bef
Update copyright year in license to 2019 ( #1524 )
...
Also update clang-format to 6.0.
2019-05-17 17:35:09 -07:00
Thad House
1726b77ac5
wpiutil: uv: Remove copy from SimpleBufferPool ( #1680 )
2019-05-07 20:55:58 -07:00
Thad House
620bec9cae
wpiutil: uv: Add LoopClosing status to Handle ( #1647 )
...
Useful for EventLoopRunner to know if a stop is requested, or close is happening for another reason.
2019-05-05 17:38:56 -07:00
Thad House
7cd6e2e7fa
UsbCamera: Solve race in windows initialization ( #1638 )
...
Create message pump during UsbCameraImpl creation.
2019-05-05 16:29:47 -07:00
Thad House
7732836bd5
Completely disable watchdog tests on mac ( #1679 )
...
They’re just not reliable.
2019-05-05 15:51:14 -07:00
Thad House
698edfda9d
Remove framework load, disable mac timeout test ( #1676 )
...
* Remove system includes from all mac builds
* Disable java watchdog on mac
2019-05-05 13:16:47 -07:00
sciencewhiz
1c454b000f
Add Shuffleboard calls to IterativeRobotBase in C++ ( #1607 )
...
Additionally, add epochs for Shuffleboard, LiveWindow, and
Smartdashboard updates.
2019-04-27 22:23:21 -07:00
David Vo
f42905b32e
Include missing headers in HAL.h ( #1660 )
...
* Include CANAPI.h and Encoder.h in HAL.h
* Include Threads.h in HAL.h
* Make Threads.h C compatible
Also changes the #define to a typedef.
2019-04-27 21:52:54 -07:00
Thad House
bdc822fad8
Only generate passthrough URLs for RoboRIO ( #1624 )
...
Otherwise accidentally, a race could occur between coprocessors and rio.
Java was done in both old and new locations as it's a race.
2019-04-27 20:35:23 -07:00
Tyler Veness
d3affb16bc
Make failure of HAL_GetFPGATime() more descriptive ( #1633 )
2019-04-27 20:34:14 -07:00
Peter Johnson
2de3bf7f58
Update LLVM from stable upstream ( #1653 )
...
Replace CheckedMalloc with upstream safe_malloc.
2019-04-27 20:33:08 -07:00
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