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
autoantwort
7a9a901a73
[build] Fix cmake config files ( #5624 )
2023-09-11 13:27:00 -07:00
Ryan Blue
3c04580a57
[commands] ProxyCommand: Use inner command name in unique_ptr constructor ( #5570 )
2023-08-30 13:21:49 -07:00
Ryan Blue
cf19102c4a
[commands] SelectCommand: Fix leakage and multiple composition bug ( #5571 )
2023-08-30 13:21:17 -07:00
Ryan Blue
39a73b5b58
[commands] C++: Add CommandPtr supplier constructor to ProxyCommand ( #5572 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2023-08-29 13:23:00 -07:00
Ryan Blue
36d514eae7
[commands] Refactor C++ ScheduleCommand to use SmallSet ( #5568 )
...
Remove SetUtilities.h
2023-08-29 13:16:15 -07:00
Shai Grossman
52297ffe29
[commands] Add idle command ( #5555 )
2023-08-29 13:00:40 -07:00
Tyler Veness
8e2a7fd306
Include thirdparty libraries with angle brackets ( #5578 )
2023-08-28 15:13:34 -07:00
Ryan Blue
a0c029a35b
[commands] Fix dangling SelectCommand documentation (NFC) ( #5567 )
2023-08-25 09:41:25 -07:00
autoantwort
6b896a38dc
[build] Don't enforce WITH_FLAT_INSTALL with MSVC (part 2) ( #5517 )
2023-08-07 08:57:34 -07:00
Gold856
99b88be4f3
[wpilib] Reduce usage of NTSendable ( #5434 )
2023-07-23 21:34:49 -07:00
Gold856
86e91e6724
[wpimath] Refactor TrapezoidProfile API ( #5457 )
2023-07-19 17:25:10 -07:00
Tyler Veness
1af224c21b
Add missing <functional> includes ( #5459 )
2023-07-18 21:18:32 -07:00
Gold856
70b60e3a74
[commands] Trigger: Fix method names in requireNonNullParam ( #5454 )
2023-07-18 08:12:50 -07:00
Joseph Eng
daf022d3da
[build] Make devImplementation inherit from implementation ( #5450 )
...
Remove manually adding dependencies to devImplementation.
Fix wpilibNewCommands devMain package.
2023-07-17 17:19:03 -07:00
Ryan Blue
aaea85ff16
[commands] Merge CommandBase into Command and SubsystemBase into Subsystem ( #5392 )
...
Moves all CommandBase functionality into Command and deprecates CommandBase for removal.
Moves all SubsystemBase functionality into Subsystem and deprecates SubsystemBase for removal.
Adds a function to CommandScheduler to remove all registered Subsystems.
2023-07-13 22:12:01 -07:00
Ryan Blue
7a099cb02a
[commands] Remove deprecated classes and functions ( #5409 )
...
Removes:
- PerpetualCommand
- Command.perpetually()
- CommandGroupBase
- Command.IsGrouped() (C++ only)
- Command.SetGrouped() (C++ only)
- Command.withInterrupt()
- ProxyScheduleCommand
- Button
- InternalButton, JoystickButton, NetworkButton and POVButton now subclass Trigger
- Old style Trigger functions:
- Trigger.whenActive
- Trigger.whileActiveOnce
- Trigger.whileActiveContinuous
- Trigger.whenInactive
- Trigger.toggleWhenActive
- Trigger.cancelWhenActive
- CommandScheduler.clearButtons()
- CommandScheduler.addButtons() (Java only)
- Command supplier constructor of SelectCommand
2023-07-10 09:56:18 -07:00
Starlight220
c4fc21838f
[commands] Add ConditionalCommand getInterruptionBehavior ( #5161 )
2023-06-23 08:21:05 -07:00
Starlight220
89fc51f0d4
Add tests for SendableChooser and Command Sendable functionality ( #5179 )
2023-06-23 08:18:38 -07:00
Joseph Eng
fe32127ea8
[command] Clean up Command doc comments (NFC) ( #5321 )
2023-06-22 19:43:51 -07:00
Ryan Blue
ebae341a91
[commands] Add test for subsystem registration and periodic ( #5408 )
2023-06-20 20:29:59 -07:00
Tyler Veness
5d3a133f9f
Remove spaces in NOLINT comments ( #5407 )
...
clang-tidy ignores the category filter if there's a space. wpiformat now
ignores categories it doesn't understand, so we can remove the spaces.
2023-06-20 20:29:23 -07:00
Tyler Veness
1501607e48
[commands] Fix clang-tidy warnings ( #5402 )
2023-06-19 23:01:46 -07:00
Joseph Eng
316cd2a453
[commands] Notify DriverStationSim in CommandTestBaseWithParam ( #5400 )
2023-06-19 22:56:56 -07:00
Tyler Veness
652d1c44e3
[wpiutil] Upgrade to macOS 12 to remove concept shims ( #5379 )
...
The macOS deployment target has been upgraded from 10.15 to 11. Also, a
deprecation warning for sprintf() in libuv was suppressed.
2023-06-08 19:59:54 -07:00
Tyler Veness
59905ea721
Replace WPI_DEPRECATED() macro with [[deprecated]] attribute ( #5373 )
...
Continue to use WPI_DEPRECATED macro for constructors until clang-format is fixed.
2023-06-08 00:01:06 -07:00
Tyler Veness
91cbcea841
Replace SFINAE with concepts ( #5361 )
...
Concepts are cleaner to use and result in much better error messages for incorrect template use.
2023-06-07 09:50:09 -07:00
Tyler Veness
5fac18ff4a
Update formatting to clang-format 16 ( #5370 )
2023-05-31 22:10:53 -07:00
Tyler Veness
51066a5a8a
[wpimath] Move unit formatters into units library ( #5358 )
2023-05-26 01:05:27 -07:00
Joseph Eng
ee3b4621e5
[commands] Add onlyWhile and onlyIf ( #5291 )
2023-04-30 14:09:02 -07:00
Joseph Eng
40ca094686
[commands] Fix RepeatCommand calling end() twice ( #5261 )
2023-04-28 20:57:33 -07:00
Starlight220
e7a7eb2e93
[commands] WaitCommand: Remove subclass doc note (NFC) ( #5200 )
2023-03-20 13:46:26 -07:00
Peter Johnson
00abb8c1e0
[commands] RamseteCommand: default-initialize m_prevSpeeds ( #5188 )
2023-03-13 23:12:17 -07:00
Jeffrey Morris
6d0c5b19db
[commands] CommandScheduler.isComposed: Remove incorrect throws clause (NFC) ( #5183 )
2023-03-13 21:27:08 -07:00
Colin Wong
4b0eecaee0
[commands] Subsystem: Add default command removal method ( #5064 )
2023-02-24 19:58:53 -08:00
bovlb
fd18577ba0
[commands] Improve documentation of addRequirements (NFC) ( #5103 )
2023-02-16 22:08:46 -08:00
Starlight220
4054893669
[commands] Fix C++ Select() factory ( #5024 )
...
Update example to use it.
2023-01-29 07:23:12 -08:00
Sriman Achanta
f75acd11ce
[commands] Use Timer.restart() ( #5023 )
2023-01-29 07:21:07 -08:00
DeltaDizzy
92aecab2ef
[commands] Command controllers are not subclasses (NFC) ( #5000 )
2023-01-25 15:20:29 -08:00
Brady Schindler
b2b25bf09f
[commands] Fix docs inconsistency for toggleOnFalse(Command) (NFC) ( #4978 )
2023-01-20 23:47:37 -08:00
Thad House
fb101925a7
[build] Include wpimathjni in commands binaries ( #4981 )
2023-01-19 22:05:32 -08:00
Starlight220
bd6479dc29
[build] Add Spotless for JSON ( #4956 )
2023-01-16 08:26:46 -08:00
Starlight220
befd12911c
[commands] Delete UB-causing rvalue variants of CommandPtr methods ( #4923 )
...
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2023-01-11 22:53:04 -08:00
superpenguin612
34519de60a
[commands] Fix spacing in command composition exception ( #4924 )
2023-01-11 11:46:33 -08:00
Starlight220
0d105ab771
[commands] Deduplicate command test utils ( #4897 )
2023-01-08 07:44:53 -08:00