Carl Hauser
998340296d
[wpilibj] Fix EncoderSim.setDistancePerPulse parameter name and comment (NFC) ( #6481 )
2024-04-04 09:21:05 -07:00
Tyler Veness
d26e6d9ecc
[wpimath] Support formatting Eigen array types ( #6496 )
2024-04-04 09:19:50 -07:00
Nicholas Armstrong
fbb3669546
[wpilib] LinearSystemSim: Add missing clamp function and getInput() ( #6493 )
2024-04-04 09:19:13 -07:00
Ryan Blue
c46847b32a
[ci] Use mirror repository for liblzma ( #6499 )
...
Uses https://github.com/bminor/xz to work around suspended repository.
We will revert this once vcpkg updates to point to an accessible repo.
2024-04-04 09:18:06 -07:00
Peter Johnson
33f12f0e31
Revert "[commands] Cache button and POV triggers"
...
Also revert the associated formatting commit. This was an accidental merge.
This reverts commit ff929d4a5f .
This reverts commit 2392c9f278 .
2024-03-26 00:08:07 -07:00
sciencewhiz
25ad6eafd5
Add reference to development to CONTRIBUTING.md ( #6467 )
2024-03-24 23:52:36 -07:00
Isaac Turner
84a55d13f3
[ci] Fix 2023 docker image usage ( #6459 )
2024-03-24 23:51:38 -07:00
Wispy
4a548935d3
[wpimath] Add Pair.toString() ( #6463 )
2024-03-24 23:51:08 -07:00
Tyler Veness
85ea5f8497
[wpimath] Make more LinearSystemId functions not throw if Kv = 0 ( #6465 )
2024-03-24 23:50:41 -07:00
Gold856
c32e7db8e3
[wpiutil] DataLog: Don't constantly retry creating logs when low on space ( #6468 )
...
When low on space, a log file won't be created. This is detected as a "deletion", and the DataLog thread will continously try to create a log, fail to do so because of low space, detect it as a "deletion", and do so in a loop.
If there's not enough space, the DataLog will be marked as stopped, preventing this infinite loop. Calls to start() will hit this code path and mark it as stopped again.
2024-03-24 23:50:18 -07:00
Tyler Veness
2392c9f278
Run java format ( #6462 )
2024-03-22 09:50:28 -07:00
Peter Johnson
0dbdbb2aac
Merge branch 'main' into development
2024-03-20 22:54:42 -07:00
Tyler Veness
b38540e1af
[ci] Pin wpiformat version in comment command ( #6458 )
2024-03-20 22:53:52 -07:00
Peter Johnson
ff929d4a5f
[commands] Cache button and POV triggers
...
This is a common footgun for teams.
2024-03-20 22:52:12 -07:00
Tyler Veness
b2113d3a9a
[ci] Pin wpiformat version in comment command ( #6457 )
2024-03-20 22:50:55 -07:00
Tyler Veness
5370f249a1
[build] Upgrade to wpiformat 2024.33 ( #6449 )
...
This upgrades to clang-format and clang-tidy 18.1.1. This has the
constructor attribute formatting fix, so we can remove our
WPI_DEPRECATED macro.
2024-03-18 23:11:20 -07:00
Peter Johnson
74057543aa
[glass] Don't limit window name+label to 128 chars ( #6447 )
2024-03-18 14:28:00 -07:00
Tyler Veness
b4674bacb9
[wpiutil] Upgrade to LLVM 18.1.1 ( #6405 )
2024-03-17 18:39:03 -07:00
Peter Johnson
fd4424eb89
Merge branch 'main' into development
2024-03-16 11:06:44 -07:00
Peter Johnson
c10f7d91b7
[ci] Work around asan actions bug ( #6442 )
2024-03-16 11:06:01 -07:00
person4268
0b13459469
[commands] Trigger: pass m_loop to new Trigger in composition functions ( #6441 )
2024-03-15 12:05:48 -07:00
Sam Richter
a1af2357e8
[ntcore] Fix memory leak in WebSocketConnection ( #6439 )
2024-03-15 11:50:30 -07:00
Dean Brettle
3116f790ea
[sysid] Fix wrong position Kd with unnormalized time ( #6433 )
v2024.3.2
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
sciencewhiz
f74f6f1d42
[docs] Add docs for features not supported on PDH (NFC) ( #6436 )
2024-03-11 20:22:33 -07:00
Peter Johnson
11c60df3e0
[hal] Use SIGKILL instead of SIGILL ( #6431 )
...
Fix typo.
2024-03-11 09:43:33 -07:00
Peter Johnson
3d9152a461
[hal] Raise SIGKILL instead of calling abort() ( #6427 )
...
We don't need to generate a core dump here if core dumps are enabled.
2024-03-10 20:32:54 -07:00
Peter Johnson
fbd239d15e
[sim] GUI: Use shift to enable docking features ( #6429 )
2024-03-10 20:29:20 -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
Tyler Veness
973bb55e66
[wpimath] LinearSystemId: Don't throw if Kv = 0 ( #6424 )
...
That's just a system with no back-EMF.
2024-03-10 08:11:18 -07:00
DeltaDizzy
7bd8c44570
[wpimath] Add structured data support for DifferentialDriveWheelPositions ( #6412 )
2024-03-09 10:09:02 -08:00
Peter Johnson
38c128fe6a
Merge branch 'main' into development
2024-03-09 09:57:55 -08:00
Peter Johnson
18e57f7872
[wpilibj] Call abort() on Rio on caught Java exception ( #6420 )
...
On Rio, we simply want to restart the robot program as quickly as possible,
and don't want to risk a hang somewhere that will keep that from happening.
The main downside of this is it won't wait for threads to finish (e.g. data logs won't get a final flush).
2024-03-09 09:55:49 -08:00
Tyler Veness
ccb4cbed63
[sysid] Fix arm characterization crash ( #6422 )
...
Fixes #6421 .
2024-03-09 09:54:37 -08:00
Thad House
c19ee8b0fe
[wpiutil, hal] Crash on failure for SetupNowRio() and wpi::Now() when not configured ( #6417 )
...
This is an unrecoverable condition, so always terminate.
2024-03-08 00:26:53 -08:00
Tyler Veness
e64c20346d
[examples] Remove unused private variables ( #6403 )
2024-02-28 19:58:15 -08:00
Peter Johnson
f1a1ffd7fc
[wpiutil] Rate-limit FPGA error from Now() ( #6394 )
2024-02-25 11:25:46 -08:00
Peter Johnson
c27ddf5ef9
[ci] Windows cmake: update vcpkg version ( #6397 )
...
We need fmtlib 10.2.1 to work around a compiler bug.
Also, reducing the number of jobs is no longer required with Actions runner upgrades.
2024-02-24 18:55:10 -08:00
Dean Brettle
8b669330eb
[sysid] Fix position feedback latency compensation ( #6392 )
2024-02-23 14:13:43 -08:00
Tyler Veness
ca6e307ea5
[ci] Upgrade wpiformat ( #6395 )
2024-02-23 14:12:28 -08:00
DeltaDizzy
607682b687
[wpiunits] Fix Distance class javadocs to state the correct dimension (NFC) ( #6363 )
2024-02-19 12:58:56 -08:00
Peter Johnson
4b94a64b06
[glass] Fix FMS game data display and editing ( #6381 )
...
Also don't require Enter for editing game data or match time.
v2024.3.1
2024-02-18 16:29:58 -08:00
Thad House
63d9e945b8
[hal] HAL_RefreshDSData: Zero out control word on DS disconnect, use cache in sim ( #6380 )
2024-02-18 14:30:40 -08:00
Joseph Eng
0ad6b3acb3
[apriltag] Add AprilTagFieldLayout.loadField() ( #6377 )
2024-02-17 21:12:59 -08:00
Eli Barnett
02aed35c6e
[sysid] Relax peak acceleration search ( #6378 )
2024-02-17 21:12:00 -08:00
Peter Johnson
a8a352ed8c
[ntcore] Add hidden subscribe option ( #6376 )
...
This allows creating subscribers that aren't communicated with the network.
2024-02-17 00:40:14 -08:00
Peter Johnson
0cdab55e5b
[ntcore] Don't send value update to client setting value ( #6375 )
2024-02-16 14:18:07 -08:00
Thad House
ba15844c28
[hal,wpiutil] Error out of HAL_Initialize if SetupRioNow fails ( #6374 )
2024-02-15 22:57:06 -08:00
shueja
6afff99640
[wpimath] ExponentialProfile: Return copy of input state ( #6370 )
...
As State is mutable, this avoids accidental modification of the passed-in object by the caller modifying the return value.
2024-02-15 16:32:51 -08:00
Tyler Veness
d4d0545dc1
[apriltag] Fix field length in 2024 JSON ( #6373 )
...
Fixes #6371
2024-02-15 10:42:03 -08:00