Joseph Eng
e83a432731
[wpimath] Fix C++ feedforward constructors and add tests ( #6873 )
2024-07-27 16:28:59 -07:00
Gold856
03b332d3cf
[gitignore] Add CMakeUserPresets.json to gitignore ( #6877 )
2024-07-27 16:28:40 -07:00
Ryan Blue
ed23b2889d
[hal] Remove CANDeviceInterface ( #6880 )
2024-07-27 16:28:08 -07:00
Ryan Blue
784f0a033a
[docs] Cleanup HAL CAN docs (NFC) ( #6881 )
2024-07-27 16:26:01 -07:00
Joseph Eng
cd39c5e2a1
[upstream_utils] Determine patch list from patch files ( #6869 )
2024-07-23 15:58:15 -07:00
Gold856
aa44b2fd1e
[build] Don't build imgui for Athena ( #6871 )
2024-07-23 07:29:18 -07:00
Gold856
e3a5299552
[build] Always statically build Glass libraries ( #6867 )
...
Also don’t rename libglass on Windows to avoid PDB name collision.
2024-07-22 08:03:19 -07:00
Peter Johnson
4c7fe73f69
[wpiutil] DataLog: Add last value and change detection ( #6674 )
...
Update() checks/updates the last value and appends only if changed.
GetLastValue() gets the last value.
Also add OutputStream support to Java DataLogWriter.
2024-07-21 13:08:15 -07:00
Tyler Veness
57205c8d15
[upstream_utils] Disable glfw docs build by default ( #6863 )
...
Fixes #6862 .
2024-07-21 07:15:22 -07:00
Brendan Raykoff
45f3e3a069
[wpimath] Add getAccumulatedError() to PIDController ( #6813 )
2024-07-20 23:17:13 -07:00
Jade
eda63dc162
[upstream_utils] Add AprilTag library ( #6816 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-20 22:12:49 -07:00
PJ Reiniger
6922b9dd5e
[upstream_utils] Add imgui and friends ( #6822 )
2024-07-20 22:11:54 -07:00
Peter Johnson
8548d83b03
[hal] SimDevice: Don't hold lock during callbacks ( #6855 )
...
This can cause lock inversions with other code (in particular with
the simulation WebSockets interface).
2024-07-20 22:09:09 -07:00
Joseph Eng
b4d42d8980
[wpimath] Make public final values in feedforwards private and add getters ( #6851 )
2024-07-20 07:01:56 -07:00
Tyler Veness
d827c84c5e
[upstream_utils] Clean up package imports ( #6857 )
2024-07-20 07:01:06 -07:00
Tyler Veness
6ec8763eac
[upstream_utils] Make .c file rename toggleable ( #6858 )
2024-07-20 07:00:13 -07:00
Tyler Veness
e9efb05cd3
[wpilibj] Fix this-escape warnings from JDK 21 ( #6856 )
2024-07-18 22:43:55 -07:00
PJ Reiniger
f561a77e75
[upstream_utils] Add googletest ( #6820 )
2024-07-18 21:10:26 -07:00
Gold856
289d45b081
[wpilib] Refactor and clean up ADIS IMU classes ( #6719 )
2024-07-18 21:09:11 -07:00
Christopher Mahoney
45823abe86
[wpilib] Synchronize C++ and Java versions of BooleanEvent ( #6776 )
2024-07-18 21:08:28 -07:00
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