Tyler Veness
b482321c0d
[commands] Replace SysId hash map with if statements ( #6209 )
...
This is much more efficient.
2024-01-12 12:36:59 -08:00
Tyler Veness
67e8306819
gitattributes: Mark C++ source files as text ( #6210 )
...
Some C++ files had been checked in with CRLF line endings.
This fixes those and also fixes future commits.
2024-01-12 10:53:56 -08:00
Eli Barnett
a2e4d0b15d
[docs] Fix docs for SysID routine ( #6164 )
2024-01-05 22:05:09 -08:00
Tyler Veness
f94e3d81b9
[docs] Fix SysId routine JavaDoc warnings ( #6159 )
2024-01-05 16:03:52 -08:00
Tyler Veness
6bed82a18e
[wpilibc] Clean up C++ SysId routine ( #6160 )
2024-01-05 15:22:52 -08:00
Eli Barnett
707cb06105
[wpilib] Add SysIdRoutine logging utility and command factory ( #6033 )
...
Co-authored-by: Drew Williams <williams.r.drew@gmail.com >
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-01-05 11:50:23 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00
Tyler Veness
6e58db398d
[commands] Make Java fields private ( #6148 )
...
They were already private in C++ and probably shouldn't be exposed. This
also means we don't need to write redundant documentation for them.
2024-01-04 00:57:52 -08:00
Gold856
4ac0720385
[build] Clean up CMake files ( #6141 )
2024-01-04 00:47:47 -08:00
Tyler Veness
ad0859a8c9
[docs] Add missing JavaDocs ( #6125 )
2024-01-01 22:56:23 -08:00
Tyler Veness
e07de37e64
[commands] Mark ParallelDeadlineGroup.setDeadline() final ( #6102 )
...
Suppress this-escape warning.
2023-12-27 09:51:16 -06:00
Joseph Eng
8aeee03626
[commands] Improve error message when composing commands twice in same composition ( #6091 )
...
Also disallow deadline command from also appearing in other commands.
2023-12-26 18:07:16 -08:00
Joseph Eng
7aa9ad44b8
[commands] Deprecate C++ TransferOwnership() ( #6095 )
...
It has been completely replaced with ToPtr().
2023-12-26 15:14:34 -06:00
Ryan Blue
ef1cb3f41e
[commands] Fix compose-while-scheduled issue and test all compositions ( #5581 )
2023-12-23 12:12:13 -08:00
NC GEARS FRC 1918
c1178d5add
[wpilib] Add StadiaController and command wrapper ( #6083 )
2023-12-23 08:15:05 -08:00
ncorrea210
4e4a468d4d
[wpimath] Make feedforward classes throw exceptions for negative Kv or Ka ( #6084 )
2023-12-23 08:12:46 -08:00
Eli Barnett
a004c9e05f
[commands] SubsystemBase: allow setting name in constructor ( #6052 )
2023-12-16 11:05:53 -08:00
Tyler Veness
192a28af47
Fix JDK 21 warnings ( #6028 )
2023-12-09 21:45:02 -08:00
Starlight220
a770110438
[commands] CommandCompositionError: Include stacktrace of original composition ( #5984 )
2023-12-09 09:45:02 -08:00
Gold856
f5fc101fda
[build] cmake: Export jars and clean up jar installs ( #6014 )
2023-12-06 18:28:38 -08:00
Tyler Veness
2bb1409b82
Clean up Java style ( #5990 )
...
Also make equivalent changes in C++ where applicable.
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-12-03 16:21:32 -08:00
Starlight220
5172ab8fd0
[commands] C++ CommandPtr: Prevent null initialization ( #5991 )
2023-12-02 16:45:04 -08:00
Ryan Blue
1144115da0
[commands] Add GetName to Subsystem, use in Scheduler tracer epochs ( #5836 )
2023-11-30 23:10:53 -08:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Gold856
25b7dca46b
[build] Remove CMake flat install option ( #5944 )
2023-11-21 11:48:32 -08:00
Sam Carlberg
0ca1e9b5f9
[wpimath] Add basic wpiunits support ( #5821 )
...
To reduce the need for users to manually perform unit conversions, this allows Measure objects from wpiunits to be passed into most places in wpimath that currently expect doubles in terms of SI units like meters.
For example, users would need to know that unit conversion is required - and what the correct units are. Using units would be more difficult to write code for than just hardcoding a value or using Units.inchesToMeters.
Now, using units has no more developer overhead than using raw numbers.
2023-11-17 10:45:04 -06:00
DeltaDizzy
09f3ed6a5f
[commands] Add static Trigger factories for robot mode changes ( #5902 )
2023-11-14 15:54:43 -08:00
Tyler Veness
c1a57e422a
[commands] Clean up make_vector.h ( #5917 )
2023-11-12 20:23:34 -08:00
Tyler Veness
201a42a3cd
[wpimath] Reorder TrapezoidProfile.calculate() arguments ( #5874 )
...
ProfiledPIDController and ExponentialProfile use current, then goal.
This isn't a breaking change because this overload of calculate() is
new for 2024.
2023-11-04 16:28:55 -07:00
Ryan Blue
33e0089afb
Cleanup usages of std::function<void(void)> ( #5864 )
2023-11-03 18:22:47 -07:00
shueja-personal
8a3a268ae6
[commands] Add finallyDo with zero-arg lambda ( #5862 )
2023-11-03 15:21:21 -07:00
Ryan Blue
a4a8ad9c75
[commands] Make Java SelectCommand generic ( #5849 )
...
This allows users to use any type of map and selector without needing to explicitly match
Map<Object, Command>
2023-10-30 11:09:14 -07:00
Gold856
9eecf2a456
[build] Add CMake option to build Java sources jars ( #5768 )
2023-10-30 09:57:28 -07:00
David Baucum
9536a311cb
[wpilib] Add support for the PS5 DualSense controller ( #5257 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-10-30 08:25:16 -07:00
Ryan Blue
3ba501f947
[commands] Java: Fix CommandXboxController.leftTrigger() parameter order ( #5831 )
2023-10-26 19:18:36 -07:00
Ryan Blue
c87f8fd538
[commands] Add DeferredCommand ( #5566 )
...
Allows commands to be constructed at runtime without proxying.
2023-10-26 19:16:33 -07:00
Ryan Blue
579007ceb3
[commands] Add requirements parameter to Commands.idle() ( #5774 )
2023-10-17 19:52:48 -07:00
Peter Johnson
7d9ba256c2
Revert "[build] Add CMake option to build Java source jars ( #5756 )" ( #5766 )
...
This reverts commit 1c724884ca .
This commit broke local builds on the second run of cmake configure.
2023-10-14 23:53:27 -07:00
Gold856
1c724884ca
[build] Add CMake option to build Java source jars ( #5756 )
2023-10-11 12:50:54 -07:00
Peter Johnson
36f94c9f21
[commands,romi,xrp] Add frcYear to vendordep ( #5747 )
...
Required by wpilibsuite/native-utils#170 .
Also see wpilibsuite/native-utils#168 .
2023-10-10 09:12:49 -07:00
Gold856
ff1849052e
[commands] Make command scheduling order consistent ( #5470 )
2023-10-09 23:52:26 -07:00
Ryan Blue
fef03a3ff5
[commands] Clean up C++ includes after Requirements was added ( #5719 )
2023-10-04 22:09:28 -07:00
Gold856
f7e47d03f3
[build] Remove unnecessary CMake config installs ( #5714 )
2023-10-01 20:08:09 -07:00
Gold856
87ce1e3761
[build] Fix wpilibNewCommands CMake install ( #5671 )
2023-09-19 21:19:35 -07:00
Ryan Blue
9fe258427a
[commands] Add proxy factory to Commands ( #5603 )
2023-09-17 20:49:02 -07:00
Joseph Eng
633c5a8a22
[commands] Add C++ Requirements struct ( #5504 )
2023-09-17 20:48:39 -07:00
Joseph Eng
b265a68eea
[commands] Add interruptor parameter to onCommandInterrupt callbacks ( #5461 )
2023-09-17 20:47:37 -07:00
autoantwort
cb99517838
[build] cmake: Use default install location on windows for dlls ( #5580 )
2023-09-17 16:17:32 -07:00
Tyler Veness
4bac4dd0f4
[wpimath] Move PIDController from frc2 to frc namespace ( #5640 )
...
The old PIDController class in the frc namespace was removed for the
2023 season.
2023-09-15 19:57:31 -07:00
Ryan Blue
3b79cb6ed3
[commands] Revert SubsystemBase deprecation/removal ( #5634 )
2023-09-14 20:56:48 -07:00