Zhiquan Yeo
fb07b0da49
[examples] Add XRP C++ Examples and Templates ( #5743 )
2023-10-09 16:55:54 -07:00
Tyler Veness
81893ad73d
Run wpiformat with clang-format 17 ( #5740 )
2023-10-09 11:22:45 -07:00
narmstro2020
faa1e665ba
[wpimath] Add ElevatorFeedforward.calculate(currentV, nextV) overload ( #5715 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-10-09 08:16:45 -07:00
Peter Johnson
a789632052
[build] Update to native utils 2024.3.1 ( #5738 )
...
Also switch to 2024 docker images.
2023-10-08 20:16:08 -07:00
Peter Johnson
8f60ab5182
[build] Update OpenCV to 2024-4.8.0-1 ( #5737 )
2023-10-08 16:43:15 -07:00
Jordan McMichael
33243f982b
[wpimath] Expand Quaternion class with additional operators ( #5600 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-10-08 16:42:53 -07:00
Peter Johnson
420f2f7c80
[ntcore] Add RTT-only subprotocol ( #5731 )
...
This is useful for aliveness checking by clients that can't send
WebSocket PING messages.
2023-10-08 00:35:10 -07:00
Peter Johnson
2b63e35ded
[ntcore] Fix moving outgoing queue to new period ( #5735 )
...
std::remove_if() is destructive--it can assume the removed elements are
not used, but NetworkOutgoingQueue needs them to stay intact to be moved
to a different queue. Use std::stable_partition() instead.
2023-10-08 00:34:36 -07:00
Peter Johnson
be939cb636
[ntcore] Fix notification of SetDefaultEntryValue ( #5733 )
2023-10-07 20:42:55 -07:00
Thad House
69a54de202
[build] Update enterprise plugin ( #5730 )
...
Removes a deprecation warning
2023-10-05 10:39:11 -07:00
Ryan Blue
fef03a3ff5
[commands] Clean up C++ includes after Requirements was added ( #5719 )
2023-10-04 22:09:28 -07:00
Peter Johnson
8b7c6852cf
[ntcore] Networking improvements ( #5659 )
...
- Utilize TrySend to properly backpressure network traffic
- Split updates into reasonable sized frames using WS fragmentation
- Use WS pings for network aliveness (requires 4.1 protocol revision)
- Measure RTT only at start of connection, rather than periodically
(this avoids them being affected by other network traffic)
- Refactor network queue
- Refactor network ping, ping from server as well
- Improve meta topic performance
- Implement unified approach for network value updates (currently client and server use very different approaches) that respects requested subscriber update frequency
This adds a new protocol version (4.1) due to WS bugs in prior versions.
2023-10-04 22:02:42 -07:00
Dustin Spicuzza
1d19e09ca9
[wpiutil] Set WPI_{UN}IGNORE_DEPRECATED to empty when all else fails ( #5728 )
2023-10-04 21:49:07 -07:00
Gold856
58141d6eb5
[wpilib] Make BooleanEvent more consistent ( #5436 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: Joseph Eng <91924258+KangarooKoala@users.noreply.github.com >
2023-10-04 21:22:57 -07:00
Gold856
6576d9b474
[wpilib] SendableChooser: implement Sendable instead of NTSendable ( #5718 )
2023-10-04 21:15:34 -07:00
Thad House
a4030c670f
[build] Update to gradle 8.4, enable win arm builds ( #5727 )
2023-10-04 19:31:25 -07:00
Tyler Veness
0960f11eba
[wpinet] Revert removal of uv_clock_gettime() ( #5723 )
...
GetSystemTimePreciseAsFileTime() is supposed to be available, and
wpiutil already uses it.
2023-10-03 20:39:09 -07:00
Peter Johnson
cb1bd0a3be
[wpiutil] Get more precise system time on Windows ( #5722 )
...
Windows 8 added GetSystemTimePreciseAsFileTime().
2023-10-03 20:38:48 -07:00
Oliver
4831277ffe
[wpigui] Fix loading a maximized window on second monitor ( #5721 )
2023-10-03 11:50:28 -07:00
Starlight220
3eb372c25a
[wpiutil] SendableBuilder: Add PublishConst methods ( #5158 )
2023-10-02 08:23:11 -07:00
Peter Johnson
1fec8596a4
[ci] Fix -dirty version ( #5716 )
2023-10-01 22:44:12 -07:00
Gold856
f7e47d03f3
[build] Remove unnecessary CMake config installs ( #5714 )
2023-10-01 20:08:09 -07:00
Tyler Veness
a331ed2374
[sysid] Add SysId ( #5672 )
...
The source is copied from this commit:
625ff04784 .
2023-10-01 15:09:09 -07:00
Peter Johnson
8d2cbfce16
[wpiutil] DataLog: Stop logging if insufficient free space ( #5699 )
...
The threshold is set to 5 MB.
2023-10-01 14:01:49 -07:00
Peter Johnson
48facb9cef
[ntcoreffi] Add DataLogManager ( #5702 )
...
This is a copy of wpilibc's DataLogManager with shims for the HAL and
wpilibc functionality for LabView use.
2023-10-01 13:59:15 -07:00
Peter Johnson
aecbcb08fc
[ntcore] Correctly start DataLog for existing publishers ( #5703 )
2023-10-01 06:43:18 -07:00
Peter Johnson
5e295dfbda
[wpiutil] DataLog: Limit total buffer allocation ( #5700 )
...
Pause logging if more than 1 MB of outgoing buffers are allocated.
Limit free buffer list to 256 KB.
2023-09-30 20:19:28 -07:00
Peter Johnson
c7c7e05d9d
[ci] Unbreak combiner ( #5698 )
2023-09-30 10:19:32 -07:00
Peter Johnson
c92bad52cb
[wpilib] DataLogManager: Use system time valid function ( #5697 )
2023-09-30 09:24:06 -07:00
Peter Johnson
d404af5f24
[wpilib] RobotController: Add isSystemTimeValid() ( #5696 )
...
This returns true when the system date/time (wall clock) is valid.
2023-09-30 09:22:51 -07:00
Tyler Veness
e56f1a3632
[ci] Run combine but skip all steps ( #5695 )
...
This makes it show up as passed instead of skipped so the result
aggregator collapses.
2023-09-29 23:38:16 -07:00
Peter Johnson
8f5bcad244
[ci] Use sccache for cmake builds ( #5692 )
2023-09-29 23:38:01 -07:00
Tyler Veness
703dedc4a6
[ci] Upgrade get-cmake action to fix node12 deprecation warning ( #5694 )
2023-09-29 21:20:27 -07:00
Tyler Veness
c69a0d7504
[ci] Don't run example unit test that segfaults ( #5693 )
2023-09-29 17:26:03 -07:00
Tyler Veness
66358d103e
Add menu items for online docs to GUI tools ( #5689 )
2023-09-29 17:25:28 -07:00
Tyler Veness
4be8384a76
[ci] Disable combine on PR builds ( #5691 )
...
It takes 30 minutes, and the artifacts aren't used. The combine step
changes so infrequently that it's unlikely to break in PRs, so it's a
net benefit to speed up PR builds.
2023-09-29 09:59:09 -07:00
Peter Johnson
90288f06a6
[ci] Fix Gradle disk space issues ( #5688 )
...
- Free up disk space on Linux by deleting unused packages
- Move build to C drive on Windows
2023-09-29 00:50:15 -07:00
Tyler Veness
9e9583412e
[wpigui] Make wpi::gui::OpenURL() fork the process first ( #5687 )
...
execlp() replaces the current process image, which isn't desirable.
2023-09-28 13:01:56 -07:00
Peter Johnson
d4fcd80b7b
[ci] Gradle: Use container only for build step ( #5684 )
2023-09-27 23:56:20 -07:00
Tyler Veness
7b70e66772
[outlineviewer] Fix thirdparty library include sorting ( #5683 )
2023-09-27 21:45:46 -07:00
Tyler Veness
5f651df5d5
[build] Clean up Gradle configs ( #5685 )
...
Putting an early exit if statement at the top instead of wrapping the
whole file contents unbreaks unit test configs, as was discovered for
SysId. It reduces nesting as well.
Unused plugins were removed from the beginnings of files as well.
2023-09-27 21:45:25 -07:00
Ryan Blue
65b26738d5
Add CMakeSettings.json to gitignore ( #5682 )
2023-09-26 20:57:44 -07:00
Tyler Veness
d0305951ad
Fix GitHub inline warnings ( #5681 )
2023-09-23 19:57:18 -07:00
Ryan Blue
e8d4a20331
[build][cmake] Fix windows tests and re-enable CI tests ( #5674 )
2023-09-22 15:39:35 -07:00
Zhiquan Yeo
2b58bbde0b
[xrp] Add Reflectance sensor and rangefinder classes ( #5673 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-09-22 13:03:43 -07:00
PJ Reiniger
dd5612fbee
[json] Add forward definition header ( #5676 )
2023-09-22 13:01:27 -07:00
Tyler Veness
eab44534c3
[wpimath] Remove unused SmallString include ( #5677 )
2023-09-22 08:01:01 -07:00
Tyler Veness
5ab54ff760
Replace wpi::raw_istream with wpi::MemoryBuffer ( #5675 )
...
Instances of wpi::raw_istream were left that are reading incrementally
from file descriptors like USB devices.
2023-09-21 23:20:09 -07:00
Tyler Veness
1b6ec5a95d
[wpiutil] Upgrade to LLVM 17.0.1 ( #5482 )
2023-09-21 19:54:33 -07:00
Tyler Veness
07a0d22fe6
[build] Build examples in CMake CI ( #5667 )
2023-09-20 21:03:55 -07:00