Gold856
bf75c03218
[build] Clean up CMake files ( #6802 )
...
Explicitly list required components when using FindJava and FindJNI
Consolidate find_package calls for Java, JNI, and OpenCV into the root CMakeLists.txt file
Remove references to main_lib_dest
Install missing generated headers
Flatten some if statements
Use LinkMacOSGUI macro instead of hand rolling it
Stop installing OpenCV libraries and an extra ntcorejni library; OpenCV JAR will still be installed to make it easy to use
Only print platform version on Windows
Prevent GUI modules from being built when wpimath is off, which would otherwise cause a build failure
Simplify build configuration checks
Clean up fieldImages JAR creation
Place built JARs in the same subdir as installed JARs
Remove unnecessary JAR includes
Remove extra directories in target_include_directories
Improve CMake docs
2024-07-11 16:01:05 -06:00
Tyler Veness
27a2e02b52
[upstream_utils] Upgrade Sleipnir to avoid pool allocator crash on Windows ( #6821 )
2024-07-10 07:39:30 -06:00
Jade
c62863cf74
[build] Fix CMake build for wpilibNewCommands ( #6815 )
2024-07-09 10:25:31 -06:00
Jade
cc02a948a0
[wpimath] Add Reset methods to PoseEstimator ( #6751 )
2024-07-08 18:26:08 -07:00
Jade
dc276b651b
[wpimath] Add reset methods to Odometry ( #6702 )
2024-07-08 18:25:42 -07:00
Tyler Veness
7f6ba54b68
[wpimath] Report error when x and y components of Rotation2d are both zero ( #6767 )
...
Fixes #6766 .
2024-07-08 12:23:36 -06:00
Joseph Eng
3d22eeca9d
[wpiutil] Remove Protobuf.getNested() ( #6812 )
...
It was superseded by using FileDescriptor.getDependencies().
2024-07-08 07:59:05 -06:00
Tyler Veness
6478ba6e3f
[upstream_utils] Upgrade Sleipnir to fix unused parameter warnings ( #6803 )
2024-07-07 06:43:44 -07:00
Tyler Veness
32ed9c5f0b
[upstream_utils] Upgrade to fmt 11.0.1 ( #6804 )
2024-07-07 06:40:15 -07:00
Tyler Veness
0954ded60a
[upstream_utils] Upgrade to libuv 1.48.0 ( #6806 )
2024-07-07 06:39:56 -07:00
Tyler Veness
1f92c59e20
[upstream_utils] Upgrade to GCEM 1.18.0 ( #6805 )
2024-07-07 06:39:11 -07:00
Tyler Veness
450fae3909
[upstream_utils] Upgrade to json 3.11.3 ( #6807 )
2024-07-07 06:38:56 -07:00
Thad House
1c42c1c920
[wpimath] Add a base JNI class for WPIMath ( #6793 )
...
Co-authored-by: Joseph Eng <91924258+KangarooKoala@users.noreply.github.com >
2024-07-07 06:38:05 -07:00
Gold856
537976c426
[build] CMake: remove external HAL option ( #6797 )
2024-07-05 17:49:31 -07:00
Jade
f0f4bac680
[commands] Add setRumble and isConnected to CommandGenericHID ( #6768 )
2024-07-05 17:47:31 -07:00
Jade
b4645a30f6
[ci] Add /pregen to pregenerate files ( #6786 )
2024-07-05 17:43:50 -07:00
sciencewhiz
ba210fb560
[ci] Add dispatch to tag RobotBuilder ( #6794 )
2024-07-05 17:43:06 -07:00
Gold856
3b6f38d7de
[build] Drop jinjava as a Gradle dependency ( #6801 )
2024-07-03 10:18:06 -07:00
Tyler Veness
19ea73ef69
[upstream_utils] Upgrade to fmtlib 11.0.0 ( #6796 )
2024-07-02 13:34:59 -07:00
Ryan Blue
6a5448322b
[wpilib] Add metadata to all dashboard ".type" entries ( #6799 )
2024-07-02 13:31:50 -07:00
beardedone55
7366a03fc9
[xrp] Add Support for Encoder Period on XRP ( #6795 )
...
The XRP firmware has been updated to provide the
encoder period along with the encoder count.
This change allows WPILIB to use the encoder period
data from the XRP so that the GetRate function can
be used to determine the motor speed.
2024-07-02 13:29:52 -07:00
Chris Padwick
1ccd8d14f0
[build] cmake: Add check for protobuf compiler ( #6792 )
2024-06-30 20:25:10 -07:00
sciencewhiz
a2beb7510b
[ci] Add dispatch to tag PathWeaver and Shuffleboard ( #6788 )
2024-06-29 13:58:09 -07:00
sciencewhiz
88658fb30b
[ci] Patch tools builds to only use local artifacts ( #6787 )
2024-06-29 12:30:21 -07:00
Gold856
c3c1671cf7
[build] CMake: Fix find_package(wpilib) calls when some libraries are missing ( #6784 )
2024-06-29 06:55:04 -07:00
Jade
8ba9a55759
[commands] Remove deprecated C++ method TransferOwnership ( #6780 )
2024-06-29 05:37:29 -07:00
sciencewhiz
8e97587765
[ci] Update tools build year to 2025 ( #6783 )
...
Fixes robotbuilder build that failed after 2025 alpha tag
2024-06-28 20:16:48 -07:00
Jade
047eaac11e
[wpinet] Remove non GP language ( #6774 )
2024-06-28 20:14:26 -07:00
Joseph Eng
512a4bfc12
[wpimath] Simplify pose estimator ( #6705 )
2024-06-28 20:12:12 -07:00
Ryan Blue
5e745bc5ef
[ci] Add spotless diff to summary and artifacts ( #6779 )
2024-06-28 06:29:21 -07:00
Gold856
5ce72d43e4
[build] Fix CMake protobuf dependency handling ( #6772 )
...
Reverts #6609 since that fix didn't Just Work(tm) on Windows. (edit: or Ubuntu. Seems to have broken everything except macOS.) This PR configures CMake to try and find protobuf-config.cmake first, which allows protobuf to pull in abseil for us. If protobuf-config.cmake is not available (coprocessors which don't have a new enough protobuf installed are a common case), it will fallback to CMake's built-in FindProtobuf module, which is what we were using before.
Add wpi::CreateMessage, a wrapper with an ifdef to switch between Arena::CreateMessage and Arena::Create, since the former is deprecated in newer versions of protobuf. This allows forward compatibility with newer versions of protobuf.
2024-06-28 06:28:39 -07:00
Tyler Veness
a7173dbd3c
[apriltag] Fix GCC 14 calloc() warning ( #6773 )
v2025.0.0-alpha-1
2024-06-23 20:24:45 -07:00
Tyler Veness
2ff7033edf
[upstream_utils] Update to LLVM 18.1.8 ( #6764 )
2024-06-21 23:21:39 -07:00
Wispy
ca92ef89d3
[sim] Don't send joystick data during auto ( #6732 )
...
Testing on a Rio showed that the joystick inputs are not zeroed, they just don't update.
2024-06-21 20:56:23 -07:00
Tyler Veness
b8c2571638
[wpimath] Fix precondition violation messages in LQR and Kalman filters ( #6731 )
2024-06-21 20:55:01 -07:00
Tyler Veness
d2b1aa1869
[sysid] Remove CTRE v5 CANCoder preset ( #6753 )
...
Fixes #6466 .
2024-06-21 20:54:29 -07:00
Gold856
76a3a60712
[ci] Bump actions versions to Node 20 ( #6758 )
...
Bump webfactory/ssh-agent to 0.9.0 (Node 20)
Switch to gradle/actions/wrapper-validation (Node 20)
Bump mozilla-actions/sccache-action to 0.0.5 (Node 20 for sanitizers only)
Bump actions/github-script to 7 (Node 20 for documentation only)
Bump wpilibsuite/import-signing-certificate to 2 (Node 20)
Bump JamesIves/github-pages-deploy-action to 4.6.1 (Node 20)
2024-06-21 20:53:51 -07:00
sciencewhiz
f5df6f88c8
[ci] Add dispatch actions task to ping tools on tag ( #6755 )
...
Allows automation of tagging of tools on allwpilib tag
Adapted from robotpy
2024-06-21 17:15:42 -07:00
Gold856
7f5970b27a
[ci] Remove unused steps/package installs ( #6756 )
...
Removed steps/packages were used for protobuf/generated files
2024-06-21 11:15:42 -07:00
Tyler Veness
25865759f4
[upstream_utils] Upgrade Sleipnir and use wpi::SmallVector ( #6748 )
2024-06-21 11:14:19 -07:00
Tyler Veness
e2893fc1a3
[upstream_utils] Add wpi::SmallVector erase_if() ( #6752 )
2024-06-18 14:03:43 -06:00
PJ Reiniger
b6bd798f9e
[wpilib] Pregenerate PWM motor controllers ( #6742 )
...
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
2024-06-18 08:43:08 -06:00
PJ Reiniger
66c0abb732
[build] Use pathlib in pre-generation scripts ( #6745 )
2024-06-18 08:40:37 -06:00
Brendan Raykoff
e884221a8d
[wpilib] Propagate PWMMotorController stopMotor() and disable() to followers ( #6750 )
2024-06-18 07:40:32 -06:00
Gold856
3a0ee5c9a7
[build] cmake: Improve OpenCV file search ( #6747 )
2024-06-16 17:08:48 -07:00
Ryan Blue
bb8480c690
[wpilib] Include sendable type information in topic metadata ( #6741 )
2024-06-14 08:12:18 -06:00
Ryan Blue
d3aa7f85dd
[ci] Revert disable std::mutex constexpr constructor on Windows ( #6736 )
2024-06-12 14:45:59 -06:00
Gold856
3d6b710293
[wpiutil] DataLog: Don't constantly retry log creation when low on space ( #6730 )
2024-06-10 20:22:50 -06:00
Gold856
ae6954c78f
[wpiunits] Clarify return conditions for isEquivalent (NFC) ( #6727 )
2024-06-09 17:54:31 -06:00
Tyler Veness
a087544933
[upstream_utils] Disable spurious maybe-uninitialized warning from GCC 14 ( #6728 )
2024-06-09 17:53:38 -06:00