Gold856
8d857cdb78
[apriltag] Improve AprilTagDetector default config ( #6847 )
2024-07-18 21:06:37 -07:00
Joseph Eng
602325d608
[wpilibc] Add missing includes to LEDPattern.cpp ( #6852 )
2024-07-18 21:05:45 -07:00
Gold856
e30440e2af
.gitattributes: Mark more files as text with LF line endings ( #6853 )
2024-07-18 21:05:18 -07:00
Jade
19a5e0c49a
Add factory path to .gitignore ( #6850 )
2024-07-18 11:55:17 -07:00
Jade
7663211819
[wpilib] Implement Sendable for HID classes ( #6782 )
2024-07-18 07:10:07 -07:00
Gold856
34b8b7a409
[wpilib] Increase time between interrupt operations ( #6848 )
2024-07-17 18:15:37 -07:00
Tyler Veness
15001afb31
[wpilib] Fix repeat TimedRobot callbacks on loop overrun ( #4101 )
...
If one of the *Init() functions takes several multiples of the nominal
loop time, the callbacks after that will run, then increment their
expiration time by the nominal loop time. Since the new expiration time
is still in the past, this will cause the callback to get repeatedly run
in quick succession until its expiration time catches up with the
current time.
This change keeps incrementing the expiration time until it's in the
future, which will avoid repeated runs. This doesn't delay other
callbacks, so they'll get a chance to run once before their expiration
times are corrected.
The other option is correcting all the expiration times at once, which
would starve the other callbacks even longer so that the callback
scheduling returns to a regular cadence sooner. The problem with this
approach is if a previous callback overruns the start of the next
callback, the next callback could potentially never get a chance to run.
2024-07-16 22:56:36 -07:00
Jade
57fa388724
[examples] Prepare for RobotInit deprecation by updating examples ( #6623 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-16 20:22:39 -07:00
Tyler Veness
f62a055608
[epilogue] Add missing docs ( #6844 )
2024-07-16 20:20:22 -07:00
Gold856
e5b7cf4c76
[hal] Fix interrupt edges being flipped in sim ( #6720 )
2024-07-16 17:26:35 -07:00
Sam Carlberg
59256f0e00
[epilogue] Add an annotation-based logging framework for Java programs ( #6584 )
2024-07-16 17:25:43 -07:00
Nicholas Armstrong
30c7632ab8
[wpimath] Make SimpleMotorFeedforward only support discrete feedforward ( #6647 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-16 17:23:11 -07:00
Joseph Eng
5f261a88af
[upstream_utils] Rework upstream_utils scripts ( #6829 )
2024-07-16 17:20:07 -07:00
Matt
f9d32ad706
[wpiutil] Struct: Remove explicit span length from int8 ( #6840 )
2024-07-16 13:40:36 -07:00
Tyler Veness
8f60dc736d
[wpimath] Fix build by removing a bad #include ( #6843 )
...
WheelPositions.h was removed in #6771 .
2024-07-16 13:40:06 -07:00
Christopher Mahoney
6c0429c263
[wpimath] Remove WheelPositions interface/concept ( #6771 )
2024-07-16 12:39:24 -07:00
Wispy
7d64d4e24c
[sim] Add GUI support for the REV PH ( #6704 )
2024-07-15 17:28:05 -07:00
Gold856
cd6b70af0e
[docs] Add documentation for simulation extensions ( #6729 )
2024-07-15 17:26:25 -07:00
Joseph Eng
7b7d17ccd7
[wpimath] Add and use kinematics.copyInto() ( #6789 )
2024-07-15 17:19:31 -07:00
Ryan Blue
636450ab7b
[build] Disable std::mutex constexpr constructor on Windows ( #6791 )
...
We will plan to re-enable this after we release an installer with an updated runtime.
2024-07-15 17:19:07 -07:00
Gold856
9703142ebe
[build] CMake: simplify source JAR creation and install ( #6831 )
...
Bump required minimum CMake version to 3.21.
2024-07-15 15:12:41 -07:00
sciencewhiz
fc57f6a560
[ci] Filter python commands comment only for Java sources ( #6832 )
...
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2024-07-15 14:51:10 -07:00
Tyler Veness
912d9b2201
[upstream_utils] Fix LLVM's AlignedCharArrayUnion for C++23 ( #6830 )
...
C++23 deprecated std::aligned_union_t.
2024-07-15 14:50:19 -07:00
Tyler Veness
5825bf46d8
[upstream_utils] Suppress has_denorm deprecation in Eigen ( #6833 )
...
MSVC doesn't yet claim C++23 compliance for c++latest, so we have to be
less specific in the preprocessor check.
2024-07-15 14:41:40 -07:00
Jade
6b9d41182f
[sim] Fix WS sending 1 and 0 instead of booleans ( #6836 )
2024-07-15 10:17:35 -07:00
Tyler Veness
fc44737a49
[commands] Suppress this-escape warnings ( #6828 )
2024-07-13 06:52:30 -07:00
Tyler Veness
deb5f3d7af
[wpimath] Exit early when parameterizing malformed spline ( #6827 )
...
Currently, a max iteration heuristic is used to determine when a spline
is malformed. Instead, we can report a failure immediately if dx and dy
are too small, because the heading won't be accurate either.
Fixes #6826 .
2024-07-12 21:52:28 -07:00
Gold856
e00bb2f07b
[build] CMake: add some compiler flags from native-utils ( #6825 )
2024-07-12 21:51:55 -07:00
Jade
19c28c2a76
[commands] Make requirements private ( #6769 )
2024-07-12 07:51:21 -06:00
Jade
967105568c
[commands] Update requirements consistently ( #6304 )
2024-07-11 16:01:54 -06:00
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