Ryan Blue
ecfd3861e8
[hal] Fix Java sim timing on Windows ( #6910 )
...
Also set power throttling options correctly.
2024-08-02 18:56:58 -07:00
Tyler Veness
5ff68079e2
[wpimath] Make SplineParameterizer constants inline ( #6920 )
2024-08-02 18:47:27 -07:00
Thad House
9234590703
[build] Fix deprecation warning in wpilibjExamples ( #6912 )
2024-08-02 18:39:25 -07:00
Thad House
3e10f23cf3
[gitignore] Ignore .bck files it git ( #6913 )
2024-08-02 18:38:46 -07:00
Peter Johnson
caf424e09c
[hal] Windows sim: enable High QOS and honor timer resolution requests ( #6908 )
...
By default on Windows 11, power throttling will increase timer resolution
if a window is occluded. Disable that behavior. Also enable high QOS to
achieve maximum performance and turn off power saving.
Also use internal APIs to set timer precision to 500 us if available.
2024-08-01 19:51:02 -07:00
Tyler Veness
685c732568
[wpimath] Make trajectory constraints use Rectangle2d and Ellipse2d ( #6901 )
2024-08-01 16:46:23 -07:00
Ryan Blue
ddd64aa70c
[docs] Add documentation for various HAL/wpilib items (NFC) ( #6898 )
2024-08-01 16:45:20 -07:00
Ryan Blue
244be83d5d
[ci] Disable check run and comments for robotbuilder CI ( #6890 )
...
It won't add them to PRs anyway because it doesn't have permissions, but the check run gets added to a random workflow in non-PR builds.
2024-08-01 16:44:16 -07:00
Gold856
1ccc4354b0
[build] Remove invalid MSVC warning suppression ( #6907 )
...
2220 is not a valid warning
2024-08-01 16:43:35 -07:00
Gold856
7adf048e83
[wpilib] Remove outdated note about axis conventions ( #6905 )
2024-08-01 16:42:10 -07:00
Gold856
2fc55b86a2
[wpimath] Fix API docs for DCMotorSim and LinearSystemId ( #6904 )
2024-08-01 16:41:57 -07:00
sciencewhiz
ad45dc89ef
[ci] Uniquely name Robot Builder test results ( #6895 )
2024-07-30 07:39:07 -07:00
Ryan Blue
8c06ef64cb
[hal] Fix potential race in CANAPI ( #6819 )
2024-07-29 08:00:39 -07:00
Ryan Blue
0e9c514ebf
[hal, wpilib] Fix REV PH disabled solenoid list ( #6887 )
2024-07-29 07:59:49 -07:00
Gold856
3c2bdafd57
[wpilib, commands] Cache controller BooleanEvents/Triggers and directly construct Triggers ( #6738 )
...
This has been a common footgun for teams, due to calling the factory functions in periodic loops.
2024-07-29 07:58:23 -07:00
Joseph Eng
073192d513
[wpimath] Add remaining struct and protobuf implementations ( #5953 )
2024-07-29 07:55:44 -07:00
Gold856
3e1e3fb4ca
[ci] Fix comment commands ( #6889 )
2024-07-29 07:54:17 -07:00
sciencewhiz
7093facced
[examples] Correct comment about renaming Robot class (NFC) ( #6892 )
2024-07-29 07:52:40 -07:00
Gold856
24dd544825
[wpilib] Wait 0.5s after enabling interrupt in tests ( #6891 )
...
If the interrupt edge tests are running while under heavy CPU load (like building wpilib) they are prone to failure since the interrupt thread doesn't have enough time to set up callbacks. The interrupt edge tests now copy the original AsynchronousInterrupt test, which has a 0.5s delay after the interrupt is enabled. Running the new interrupt tests while building allwpilib causes far less failures than the old tests.
2024-07-29 07:51:25 -07:00
Gold856
6f6e8ee931
[ci] Bump wpiformat to 2024.39 ( #6894 )
2024-07-29 07:50:46 -07:00
Ryan Blue
4226d113f1
[hal] Update PCM/PH HAL bitmap function docs (NFC) ( #6885 )
2024-07-28 17:10:46 -07:00
Ryan Blue
96de39ac6a
[gitignore] Add ntcore test persistent files to gitignore ( #6886 )
2024-07-28 17:09:46 -07:00
Dean Brettle
7aa100589d
[wpilib] Fix sim javadocs to not say GC will cancel callbacks ( #6665 )
...
That behavior has not been present since PR #4158 was merged more than 2 years ago and imo should not be added back because it was surprising and not consistent with the most common use case of registering a callback permanently.
2024-07-28 14:30:19 -07:00
Ryan Blue
ea7c935bcb
[wpilib] Improve bitmap function documentation in PneumaticsBase (NFC) ( #6884 )
2024-07-28 14:28:42 -07:00
Ryan Blue
143876dfa3
[hal] Add missing HAL CAN javadocs (NFC) ( #6882 )
2024-07-28 14:27:55 -07:00
Gold856
f142cec97b
[ci] Fix /pregen ( #6875 )
...
It checked out the main branch instead of the PR branch. Now it checks out the PR branch.
2024-07-28 10:50:24 -07:00
Joseph Eng
158fb23072
[wpiutil] Struct: Change from GetTypeString() to GetTypeName() ( #6872 )
...
This makes it easier to define schemas when the type name is non-trivial (e.g., templated structs).
This is breaking for a) custom struct implementations and b) anything calling `wpi::Struct<T>::GetTypeString(info...)` in C++ directly. In both cases, it's a simple translation: For A, rename `GetTypeString()` to `GetTypeName()` and remove the struct: at the beginning, and for B, use `wpi::GetStructTypeString<T>(info...)` instead.
2024-07-27 20:23:45 -07:00
Jade
5dcaa6d671
[wpilibc] Add FRC_ReportWarning ( #6681 )
2024-07-27 20:20:08 -07:00
Gold856
aba82e6a6c
[build] CMake: export fieldImages and install headers ( #6876 )
2024-07-27 20:16:34 -07:00
Wispy
02bf9a164e
[docs] Document the /pregen command ( #6874 )
2024-07-27 16:30:57 -07:00
Ryan Blue
81ec66f05b
[hal] Remove dangling periodic packet function from sim CANAPI (NFC) ( #6879 )
...
Removed from API in #1868 , sim definition was left dangling.
Also adds extern "C" to the sim file.
2024-07-27 16:30:18 -07:00
Wispy
5a1417aeb9
[commands] Add Trigger.onChange() test ( #6849 )
2024-07-27 16:29:22 -07:00
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