Colin Finn
6ef94de9b5
[wpimath] Add tests for ArmFeedforward and ElevatorFeedforward ( #5663 )
2023-09-18 22:25:08 -07:00
Peter Johnson
c395b29fb4
[wpinet] Add WebSocket::TrySendFrames() ( #5607 )
...
This takes advantage of the underlying byte-level TryWrite() functionality to minimize blocking behavior and enable higher layers to do things smartly when the network blocks.
Also:
- Fix handling of control packets in middle of fragmented
- Clean up debugging features
2023-09-18 19:49:54 -07:00
Zhiquan Yeo
c4643ba047
[romi/xrp] Fix version typo in vendordep json ( #5664 )
2023-09-18 19:42:27 -07:00
Zhiquan Yeo
51dcb8b55a
[examples] Make Romi/XRP Examples use appropriate vendordeps ( #5665 )
2023-09-18 19:42:10 -07:00
Starlight220
daf7702007
[build] Test each example in a new environment ( #5662 )
...
In C++ each example is a separate source set, but in Java they were one source set and tested as one with the test task. Example-specific test tasks exist for Java, but they weren't used.
This modifies the test task to exclude the example tests, instead depending on each example's test task. The advantage of this is that each example is tested in a separate environment, so leftover state from one example isn't carried over.
2023-09-18 11:03:39 -07:00
Starlight220
e67df8c180
[wpilib] Const-qualify EncoderSim getters ( #5660 )
2023-09-18 08:18:18 -07:00
Peter Johnson
7be290147c
[wpiutil] Refactor SpanMatcher and TestPrinters from ntcore ( #5658 )
2023-09-18 00:11:36 -07:00
Ryan Blue
9fe258427a
[commands] Add proxy factory to Commands ( #5603 )
2023-09-17 20:49:02 -07:00
Joseph Eng
633c5a8a22
[commands] Add C++ Requirements struct ( #5504 )
2023-09-17 20:48:39 -07:00
Joseph Eng
b265a68eea
[commands] Add interruptor parameter to onCommandInterrupt callbacks ( #5461 )
2023-09-17 20:47:37 -07:00
Peter Johnson
e93c233d60
[ntcore] Compute Value memory size when creating value ( #5657 )
...
This avoids a later switch-based computation in NetworkLoopQueue.
2023-09-17 20:01:57 -07:00
Peter Johnson
5383589f99
[wpinet] uv::Request: Return shared_ptr from Release() ( #5656 )
...
Use this in Stream to allow the finish() callback to reuse the request.
2023-09-17 20:01:43 -07:00
Peter Johnson
40b552be4a
[wpinet] uv::Stream: Return error from TryWrite() ( #5655 )
2023-09-17 20:01:24 -07:00
Peter Johnson
202a75fe08
[wpinet] RequestImpl: Avoid infinite loop in shared_from_this() ( #5654 )
2023-09-17 20:01:10 -07:00
Peter Johnson
8896515eb7
[wpinet] uv::Buffer: Add bytes() accessor ( #5653 )
...
Also add uint8_t constructors.
2023-09-17 20:00:56 -07:00
Peter Johnson
ae59a2fba2
[wpinet] uv::Error: Change default error to 0 ( #5652 )
...
Was previously UV_UNKNOWN, which meant a default-constructed uv::Error
was actually an error.
2023-09-17 20:00:44 -07:00
Peter Johnson
3b51ecc35b
[wpiutil] SpanExtras: Add take_back and take_front ( #5651 )
...
Also allow sized spans as input (return is always dynamic size).
2023-09-17 20:00:31 -07:00
Tyler Veness
17f1062885
Replace std::snprintf() with wpi::format_to_n_c_str() ( #5645 )
...
fmtlib uses consteval format string processing, which makes it more
efficient than std::snprintf().
snprintf()s in libuv, mpack, processstarter, and wpigui were left alone.
processstarter uses stdlib only, and wpigui only depends on imgui.
fmt::format_to_n() is analogous to std::format_to_n()
(https://en.cppreference.com/w/cpp/utility/format/format_to_n )
wpi::format_to_n_c_str() is a wrapper which adds the trailing NUL.
2023-09-17 20:00:16 -07:00
Zhiquan Yeo
bb39900353
[romi/xrp] Add Romi and XRP Vendordeps ( #5644 )
2023-09-17 16:20:06 -07:00
autoantwort
cb99517838
[build] cmake: Use default install location on windows for dlls ( #5580 )
2023-09-17 16:17:32 -07:00
autoantwort
25b0622d4c
[build] Add Windows CMake CI ( #5516 )
2023-09-17 16:16:52 -07:00
Ryan Blue
34e7849605
Add warning to development builds instructions (NFC) ( #5646 )
...
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2023-09-16 22:08:47 -07:00
Ryan Blue
e9e611c9d8
[cameraserver] Remove CameraServer.SetSize() ( #5650 )
2023-09-16 22:05:02 -07:00
Ryan Blue
94f58cc536
[wpilib] Remove Compressor.Enabled() ( #5649 )
...
Deprecated in #4147
2023-09-16 22:04:46 -07:00
Ryan Blue
4da5aee88a
[wpimath] Remove SlewRateLimiter 2 argument constructor ( #5648 )
...
Deprecated in #4377
2023-09-16 22:04:29 -07:00
Ryan Blue
2e3ddf5502
Update versions in development builds instructions to 2024 ( #5647 )
2023-09-16 21:12:18 -07:00
Tyler Veness
19a8850fb1
[examples] Add TimesliceRobot templates ( #3683 )
2023-09-15 20:42:21 -07:00
Zhiquan Yeo
9047682202
[sim] Add XRP-specific plugin ( #5631 )
...
Provides an implementation of a XRP-specific plugin that sends binary messages over UDP (to account for the less performant hardware on the XRP).
This plugin leverages the work already done for the WebSocket protocol and does a translation to/from JSON/binary.
2023-09-15 20:08:02 -07:00
Tyler Veness
575348b81c
[wpilib] Use IsSimulation() consistently ( #3534 )
2023-09-15 20:05:16 -07:00
Tyler Veness
12e2043b77
[wpilib] Clean up Notifier ( #5630 )
...
The user-facing docs were simplified, SetHandler() was renamed to
SetCallback(), and the internal documentation was synchronized.
2023-09-15 19:59:03 -07:00
Tyler Veness
4bac4dd0f4
[wpimath] Move PIDController from frc2 to frc namespace ( #5640 )
...
The old PIDController class in the frc namespace was removed for the
2023 season.
2023-09-15 19:57:31 -07:00
Tyler Veness
494cfd78c1
[wpiutil] Fix deprecation warning in LLVM for C++23 ( #5642 )
2023-09-15 19:57:14 -07:00
Ryan Blue
43a727e868
[apriltag] Make loadAprilTagFieldLayout throw an unchecked exception instead ( #5629 )
...
This eliminates the need for users to wrap initialization of the fields in a try/catch.
2023-09-15 14:25:21 -07:00
autoantwort
ad4b017321
[ci] Use Ninja for faster builds ( #5626 )
2023-09-15 10:42:57 -07:00
Tyler Veness
4f2114d6f5
Fix warnings from GCC 13 release build ( #5637 )
2023-09-15 10:37:52 -07:00
Tyler Veness
e7e927fe26
[build] Also compress debug info for CMake RelWithDebInfo build type ( #5638 )
2023-09-15 10:36:39 -07:00
Tyler Veness
205a40c895
[build] Specify zlib for debug info compression ( #5636 )
...
This is required to make compression actually occur.
2023-09-14 23:51:04 -07:00
Tyler Veness
707444f000
[apriltag] Suppress -Wtype-limits warning in asserts from GCC 13 ( #5635 )
2023-09-14 20:57:20 -07:00
Ryan Blue
3b79cb6ed3
[commands] Revert SubsystemBase deprecation/removal ( #5634 )
2023-09-14 20:56:48 -07:00
Tyler Veness
bc7f23a632
[build] Compress Linux debug info ( #5633 )
2023-09-14 20:46:44 -07:00
Thad House
57b2d6f254
[build] Update to image 2024 v1.0 ( #5625 )
2023-09-12 09:44:25 -07:00
Ryan Blue
339ef1ea39
[wpilib] DataLogManager: Warn user if logging to RoboRIO 1 internal storage ( #5617 )
2023-09-11 15:47:31 -07:00
autoantwort
7a9a901a73
[build] Fix cmake config files ( #5624 )
2023-09-11 13:27:00 -07:00
Gold856
298f8a6e33
[wpilib] Add Mechanism2d tests and make Java impl match C++ ( #5527 )
2023-09-10 22:01:33 -07:00
Ryan Blue
d7ef817bae
[apriltag] Update apriltag library ( #5619 )
2023-09-10 22:00:50 -07:00
Ryan Blue
c3fb31fd0e
[docs] Switch to Java 17 api docs ( #5613 )
2023-09-10 21:59:32 -07:00
Thad House
bd64f81cf9
[build] Run Google tests in release mode in CI ( #5615 )
...
This reduces disk space usage in CI. Local builds still use debug mode.
2023-09-10 08:08:28 -07:00
Joseph Eng
66e6bd81ea
[wpimath] Cleanup wpimath/algorithms.md (NFC) ( #5621 )
2023-09-10 06:26:53 -07:00
autoantwort
4fa56fd884
[build] Add missing find_dependency call ( #5623 )
2023-09-09 18:57:12 -07:00
Thad House
f63d958995
[build] Update to native utils 2024.2.0 ( #5601 )
2023-09-08 20:15:24 -07:00