Isaac Turner
c76b358290
[ci] Update gradle wrapper validation action version ( #6335 )
2024-05-03 12:41:47 -07:00
Tim Winters
bad56bcbe8
[commands] Add StartRun command factory ( #6572 )
2024-05-03 12:40:13 -07:00
Tyler Veness
e172aa66f7
[wpimath] Java: add static instantiations of common rotations ( #6563 )
...
C++ doesn't need this because it supports value types, which are much
cheaper to construct. constexpr is also available to make construction
zero-cost.
2024-05-03 12:39:35 -07:00
Isaac Turner
9c7120e6bf
[wpilibc] Remove deprecated Joystick angle functions ( #6569 )
2024-05-03 12:38:58 -07:00
Drew Williams
0afc35f336
[commands] Fix C++ SysIdRoutine crashing when passed nullptr or {} ( #6508 )
...
Flattens parameter from a `std::optional<std::function<...>>` to just a `std::function<...>`. This is a breaking change but a trivial one for teams to fix.
2024-05-01 09:09:15 -07:00
Tyler Veness
ae4bcefefc
[wpimath] Fix incorrect docs for Rotation3d default constructor ( #6571 )
...
A Rotation3d is not defined by one angle.
2024-05-01 09:06:13 -07:00
Isaac Turner
513d1a0a15
[wpilib] Remove deprecated Accelerometer interface ( #6568 )
2024-05-01 09:04:50 -07:00
Tyler Veness
a85e7693de
[examples] Use UDL for turns ( #6570 )
2024-05-01 09:02:18 -07:00
Tyler Veness
5359112b15
[wpimath] Deprecate RamseteController ( #6494 )
...
LTVUnicycleController is a drop-in replacement with better tuning knobs.
The RamseteCommand examples were removed instead of retrofitted with
LTVUnicycleController because we're planning on removing the command
controller classes anyway, so it would be wasted effort. The
SimpleDifferentialDriveSimulation example shows direct
LTVUnicycleController usage.
2024-04-29 22:01:42 -07:00
Tyler Veness
7601b7250a
[upstream_utils] Upgrade Sleipnir to use a small vector type ( #6565 )
...
This sped up ArmFeedforward.Calculate() by up to 2x.
2024-04-29 22:00:32 -07:00
DeltaDizzy
a9cfd0d0f9
[commands] Deprecate proxy supplier constructor ( #6553 )
2024-04-29 21:11:29 -07:00
Isaac Turner
c71db8ea9c
[wpiutil] Remove old InterpolatingTreeMap location ( #6560 )
2024-04-29 21:05:12 -07:00
Isaac Turner
70417f64da
[wpimath] Remove deprecated TrapezoidProfile constructors ( #6558 )
2024-04-29 21:04:57 -07:00
Isaac Turner
f5e08652f8
[wpimath] Remove deprecated MatBuilder factory ( #6557 )
2024-04-29 21:04:43 -07:00
Thad House
eec99eb653
[wpilibj] Fix AsynchronousInterrupt ( #6564 )
2024-04-29 21:04:24 -07:00
Isaac Turner
9cae707065
[wpilib] Remove deprecated SetHandler function ( #6556 )
2024-04-29 21:03:45 -07:00
Isaac Turner
0f8aa8aedf
[commands] Remove CommandBase ( #6545 )
2024-04-28 12:04:51 -07:00
Ryan Heuer
ac32f921f6
[glass] Add math expression input for NetworkTables numerical values ( #6530 )
2024-04-28 12:03:49 -07:00
Isaac Turner
67fe11f9cd
[commands] Rename deadlineWith to deadlineFor ( #6544 )
...
Deprecate deadlineWith for backwards compatibility.
2024-04-28 12:02:29 -07:00
Nicholas Armstrong
1ec089c7f9
[wpimath] Add ArmFeedforward calculate() overload that takes current and next velocity instead of acceleration ( #6540 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-04-28 12:01:08 -07:00
Isaac Turner
1727c74b80
[ntcore] remove deprecated flag ( #6551 )
2024-04-28 06:17:39 -07:00
Isaac Turner
890185acee
[ntcore] Remove deprecated delete function ( #6552 )
2024-04-28 06:15:19 -07:00
Tyler Veness
fd363fdf5a
[wpimath] Add Sleipnir ( #6541 )
...
This is useful for solving quadratic programs.
2024-04-27 22:42:42 -07:00
DeltaDizzy
1e4a647918
[commands] Disambiguate ProxyCommand and DeferredCommand ( #6324 )
2024-04-27 22:41:04 -07:00
Wispy
39d33bfca6
[wpiunits] Adds FeetPerSecondPerSecond ( #6543 )
2024-04-27 21:08:13 -07:00
Isaac Turner
5edc652c05
[commands] Fix multiple C++ warnings ( #6546 )
2024-04-27 21:07:50 -07:00
Isaac Turner
d9eb3691d8
[commands] Remove deprecated TrapzoidProfileCommand api ( #6547 )
2024-04-27 21:07:23 -07:00
Tyler Veness
a42ffb8fa4
[ci] Bump wpiformat to 2024.34 ( #6549 )
2024-04-27 21:06:57 -07:00
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