Thad House
09a6bc9a25
[build] Remove RoboRIO specializations from build system ( #7670 )
2025-01-13 12:23:54 -07:00
Peter Johnson
03d9e96877
[wpiutil] Change StringExtras split() to template ( #7636 )
...
It now calls back a function for each part rather than creating a SmallVector.
2025-01-05 20:53:43 -08:00
Peter Johnson
2a757eaeb5
Merge branch 'main' into 2027
2024-12-26 18:55:43 -08:00
Gold856
b670a59b5b
[build] Fix imgui libraries not being published ( #7575 )
2024-12-23 19:05:06 -08:00
Thad House
c51f65bd4f
[hal] Add initial SystemServer support ( #7463 )
2024-11-30 20:31:26 -08:00
Thad House
82132c3272
[hal] Initial SystemCore empty HAL ( #7454 )
2024-11-30 10:04:00 -08:00
Peter Johnson
f620141e0d
[wpiutil] Replace LLVM StringMap impl with std::map
...
As string_view operations on std::map<std::string> won't be integrated
until C++26, placeholder implementations are used which are less efficient
in a couple of situations (e.g. insert with hint).
2024-10-31 22:04:13 -07:00
Tyler Veness
21980c7447
[sysid] Clamp feedback measurement delay to zero or higher ( #7319 )
...
LQR latency compensation applies exponential decay to the feedback
gains, so a negative latency causes them to exponentially grow.
2024-10-31 20:37:15 -07:00
Tyler Veness
42a433b6fa
[sysid] Remove unused includes and inline short functions ( #7296 )
2024-10-27 23:40:26 -07:00
Gold856
f23bece791
[sysid] Remove unused dependency on libglassnt ( #7200 )
...
Also remove stale libuv references.
2024-10-11 22:05:32 -07:00
Gold856
7ebd45ef4d
[sysid] Fix crash when all data is filtered out during analysis ( #7199 )
2024-10-11 21:51:56 -07:00
Gold856
22f086aba8
Fix app icons on Windows ( #7116 )
...
The SysId icon has a bunch of weird artifacting and it's not transparent on Windows. Some of the other icons have issues as well and all of them are inconsistent. GIMP was used to regenerate all the icons from the PNGs, using PNG compression on all the layers.
2024-09-22 23:54:23 -07:00
Tyler Veness
554024767e
Fix errors from new cpplint.py ( #7105 )
2024-09-20 17:43:39 -07:00
Joseph Eng
1f3ef019ce
[wpiutil] Return wpi::expected from MemoryBuffer::GetFile ( #7069 )
2024-09-12 23:45:35 -07:00
Gold856
9c35aa6bbf
[build] Remove redundant _M_ prefix from artifact file name ( #6983 )
2024-08-27 17:05:29 -07:00
Gold856
b12b83aa89
Fix typos with cspell ( #6972 )
2024-08-17 07:44:34 -07:00
Tyler Veness
8e0d9ac805
Clean up unit UDL usage ( #6961 )
2024-08-14 10:44:00 -07:00
PJ Reiniger
6922b9dd5e
[upstream_utils] Add imgui and friends ( #6822 )
2024-07-20 22:11:54 -07:00
PJ Reiniger
f561a77e75
[upstream_utils] Add googletest ( #6820 )
2024-07-18 21:10:26 -07:00
Tyler Veness
19ea73ef69
[upstream_utils] Upgrade to fmtlib 11.0.0 ( #6796 )
2024-07-02 13:34:59 -07:00
Tyler Veness
d2b1aa1869
[sysid] Remove CTRE v5 CANCoder preset ( #6753 )
...
Fixes #6466 .
2024-06-21 20:54:29 -07:00
Tyler Veness
d88c71ffdc
[wpiutil] Upgrade to fmt 10.2.1, add wpi::print ( #6161 )
...
We now use a wrapper (wpi::print) to catch exceptions since we can't patch
std::print() to not throw when we ultimately migrate to it.
fmtlib and std format/print throw the same exceptions and always have. We previously patched fmt::print() to not throw a write failure exception, but we can't do that for std::print(); wpi::print() is the migration plan.
2024-05-12 06:25:42 -07:00
DeltaDizzy
2cd3935aa8
[sysid] Remove obsolete WPILib presets, rename CTRE presets ( #6460 )
2024-04-27 06:55:19 -07:00
Peter Johnson
fd4424eb89
Merge branch 'main' into development
2024-03-16 11:06:44 -07:00
Dean Brettle
3116f790ea
[sysid] Fix wrong position Kd with unnormalized time ( #6433 )
2024-03-12 21:49:28 -07:00
Tyler Veness
0e013dc021
[sysid] Fix "Sample" docs typo (NFC) ( #6435 )
2024-03-11 20:23:03 -07:00
Tyler Veness
7cd4a75323
[sysid] Fix crash on negative feedforward gains ( #6425 )
...
LinearSystemId's linear system factories throw on negative feedforward
gains, but SysId can compute the feedback gains just fine in that case.
Now we construct the system manually instead.
Fixes #6423 .
2024-03-10 17:43:02 -07:00
Peter Johnson
38c128fe6a
Merge branch 'main' into development
2024-03-09 09:57:55 -08:00
Tyler Veness
ccb4cbed63
[sysid] Fix arm characterization crash ( #6422 )
...
Fixes #6421 .
2024-03-09 09:54:37 -08:00
Dean Brettle
8b669330eb
[sysid] Fix position feedback latency compensation ( #6392 )
2024-02-23 14:13:43 -08:00
Eli Barnett
02aed35c6e
[sysid] Relax peak acceleration search ( #6378 )
2024-02-17 21:12:00 -08:00
Tyler Veness
3b2a2381b6
[ci] Upgrade to new macOS runner ( #6328 )
2024-02-04 10:38:23 -08:00
Tyler Veness
be78552db7
[sysid] Fix SSTO calculation ( #6301 )
2024-01-23 21:26:49 -08:00
Tyler Veness
4b15c73f64
[sysid] Rename motion threshold to velocity threshold to match GUI field name ( #6240 )
2024-01-19 22:23:51 -08:00
Tyler Veness
2df82ec957
[sysid] Document using AdvantageScope for troubleshooting ( #6247 )
2024-01-19 20:37:27 -08:00
HarryXChen
1330235918
[sysid] Show warning tooltips next to bad feedforward gains instead of throwing ( #6251 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-01-19 20:33:56 -08:00
Tyler Veness
97828bd325
[sysid] Remove unused "gains to encoder counts" checkbox ( #6234 )
2024-01-15 22:40:45 -08:00
Eli Barnett
077c8f4092
[sysid] Fix test duration slider responsiveness ( #6216 )
2024-01-12 23:05:46 -08:00
HarryXChen
84e3a22baa
[sysid] Fix peak acceleration filtering behavior in dynamic velocity test ( #6207 )
2024-01-12 17:05:50 -08:00
Peter Johnson
2386e44f3a
[sysid] Filter valid test names ( #6200 )
...
Currently the analysis portion only supports quasistatic and dynamic,
forward and reverse. Check for anything not matching and remove it,
along with providing diagnostics of what is being loaded.
2024-01-12 10:58:57 -08:00
Peter Johnson
75b2fa1cc3
[sysid] Data selector: use timestamps instead of ranges ( #6193 )
...
This is somewhat slower, but handles data files that are organized
differently (e.g. entries grouped instead of purely sorted by time).
2024-01-10 20:13:19 -08:00
Peter Johnson
7c26bc70ab
[sysid] Load DataLog files directly for analysis ( #6103 )
...
Co-authored-by: Oblarg <emichaelbrnett@gmail.com >
2024-01-05 16:24:31 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00
Tyler Veness
44db3e0ac0
[sysid] Make constexpr variables outside class scope inline ( #6145 )
2024-01-03 14:27:51 -08:00
Tyler Veness
98f06911c7
[sysid] Use eigenvector component instead of eigenvalue for fit quality check ( #6131 )
...
They're usually close, but this is a better metric.
2024-01-01 21:22:34 -08:00
Tyler Veness
47c5fd8620
[sysid] Check data quality before OLS ( #6110 )
2023-12-29 23:31:27 -06:00
Tyler Veness
f2c2bab7dc
[sysid] Fix adjusted R² calculation ( #6101 )
...
It hardcoded p to 2.
2023-12-26 22:06:10 -06:00
Tyler Veness
e4e2bafdb1
[sysid] Document timestamp units ( #6065 )
2023-12-19 22:37:41 -08:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Tyler Veness
544b231d4d
[sysid] Add missing cassert include ( #5967 )
2023-11-26 21:01:40 -08:00