Joseph Eng
d4e6a068ac
[apriltag] Deprecate loadAprilTagLayoutField() ( #6550 )
2024-04-27 21:04:30 -07:00
Joseph Eng
cdfa2ece6f
[wpimath] Add PoseEstimator.sampleAt() ( #6426 )
2024-04-27 21:03:37 -07:00
Isaac Turner
962bf7ff10
[ntcore] Backup persistent file if it fails to parse ( #6523 )
2024-04-27 07:04:27 -07:00
DeltaDizzy
2cd3935aa8
[sysid] Remove obsolete WPILib presets, rename CTRE presets ( #6460 )
2024-04-27 06:55:19 -07:00
Isaac Turner
427b7dcc11
README: Add python to languages ( #6542 )
2024-04-26 10:38:34 -07:00
Tyler Veness
e73050a8fa
[wpimath] Templatize formatters ( #6535 )
...
This is required for compatibility with libc++'s std::format.
2024-04-25 16:08:24 -07:00
Nicholas Armstrong
3e6c0d0b71
[wpiunits] Add Acceleration and MOI Units ( #6495 )
2024-04-22 19:09:18 -07:00
Jacob Hotz
dc4c63568a
[commands] Add Trigger.onChange() ( #6390 )
2024-04-21 22:37:15 -07:00
Ryan Blue
b620b6a4dd
[apriltag] Cache layout loaded from AprilTagFields resource json ( #6385 )
2024-04-21 22:36:22 -07:00
Isaac Turner
d7dfa63ae9
[commands] WaitCommand: add Measure<Time> overload ( #6386 )
...
Also add waitTime() factory.
2024-04-21 22:34:52 -07:00
vichik
e89c8c1008
[wpiunits] Add isNear function implementation ( #6396 )
...
This implementation uses a tolerance in the same units as the measure it checks.
2024-04-21 20:40:33 -07:00
Juan Jose Chong
abfe2488ff
[wpilib] Add flash update capability to ADI IMUs ( #6450 )
2024-04-21 20:39:53 -07:00
Gold856
3e5187ff32
[wpilibj] DataLogManager: Fix behavior when low on space ( #6486 )
...
Uses getUsableSpace in Java, matching how C++ determines available space (C++ calls it available, but they mean the same thing.) This fixes a bug where logs wouldn't get deleted due to incorrect available space detection.
The DataLog thread now also checks if the state was marked as stopped after a call to StartLogFile.
2024-04-21 20:34:05 -07:00
DeltaDizzy
7bc0380694
[commands] WrappedCommand: Call wrapped command initSendable ( #6471 )
2024-04-21 20:30:43 -07:00
Starlight220
98d2f45fa9
[commands] Fix double composition error truncation ( #6501 )
2024-04-21 20:28:04 -07:00
Isaac Turner
d14dfed828
[wpimath] Rotation2d: add Measure<Angle> getter (Java) ( #6492 )
2024-04-21 20:23:36 -07:00
HarryXChen
f26adc556d
[examples] Fix memory over-allocation in Apriltag examples ( #6517 )
...
Change hamming distance to 1, add comment about memory usage.
2024-04-21 20:21:48 -07:00
Gold856
3c14d87006
Update README-CMAKE.md ( #6522 )
2024-04-21 20:21:07 -07:00
Isaac Turner
77536e68f0
README.md: Link straight to contributing in contents ( #6525 )
...
Avoids need to click twice to get to contributing.md.
2024-04-21 20:19:53 -07:00
Peter Johnson
c88be31ec2
Merge branch 'development'
2024-04-21 20:15:51 -07:00
Tyler Veness
74f648689e
[build] Add exports to CMake subprojects ( #6505 )
...
This allows consuming allwpilib via FetchContent.
2024-04-10 22:04:22 -07:00
Tyler Veness
2def62a1ef
[wpimath] Document ChassisSpeeds::Discretize() math (NFC) ( #6509 )
2024-04-10 22:03:44 -07:00
Tyler Veness
3a5d24ab1d
[ci] Revert "Use mirror repository for liblzma ( #6499 )" ( #6506 )
...
This reverts commit c46847b32a .
2024-04-10 10:04:15 -07:00
Isaac Turner
02c78bc9b6
MAINTAINERS.md: Remove reference to marketplace ( #6470 )
2024-04-04 09:21:53 -07:00
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