Tyler Veness
a79f86ade3
[wpimath] Refactor StateSpaceUtil into separate files ( #8421 )
...
* Moved makeWhiteNoiseVector() to random.Normal.normal()
* Moved isControllable() and isDetectable() to system.LinearSystemUtil
* Renamed makeCostMatrix() to costMatrix() (Java)
* Renamed makeCovarianceMatrix() to covarianceMatrix() (Java)
* Renamed MakeCostMatrix() to CostMatrix() (C++)
* Renamed MakeCovMatrix() to CovarianceMatrix() (C++)
* Removed deprecated poseTo3dVector(), poseTo4dVector(), poseToVector()
* Removed clampInputMaxMagnitude()
* We don't use it, and Eigen has this functionality built in via `u =
u.array().min(u_max.array()).max(u_min.array());`
* Simplified implementation of desaturateInputVector()
2025-11-29 10:28:38 -08:00
Peter Johnson
a4aad63dd4
[hal,tests] Use waitForProgramStart in tests ( #8429 )
...
Change setProgramStarted to accept a boolean so it can be set back to
false by tests. This allows properly waiting for program start in tests.
2025-11-29 10:10:01 -08:00
sciencewhiz
34a72b71e1
[build] Fix 2027 java examples publishing ( #8383 )
2025-11-15 17:03:55 -08:00
Peter Johnson
18efd1e534
Move robot base classes from opmode to framework ( #8344 )
...
Having these in opmode will be confusing to users when opmodes are added.
2025-11-08 15:08:38 -08:00
PJ Reiniger
013a238994
HAND FIXES: Update maven info
2025-11-07 23:09:21 -08:00
PJ Reiniger
c48b722dac
SCRIPT: Spotless Apply
2025-11-07 23:09:21 -08:00
PJ Reiniger
c89910b7c6
HAND FIXES: Fixup gradle / cmake / styleguide
2025-11-07 23:09:21 -08:00
PJ Reiniger
e0320a942a
HAND FIX - Fixup pregen files
2025-11-07 23:09:21 -08:00
PJ Reiniger
6b69aab44e
HAND FIX - Fixup bazel files
2025-11-07 23:09:21 -08:00
PJ Reiniger
f0a3c64121
SCRIPT Run java package replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
c350c5f112
SCRIPT Move java files
2025-11-07 23:09:21 -08:00
PJ Reiniger
10b4a0c971
SCRIPT fixup project rename
2025-11-07 23:09:21 -08:00
Peter Johnson
577dd48af7
[build] Fix bazel examples lists after merge ( #8326 )
2025-11-01 13:58:28 -07:00
Peter Johnson
3f88c287d6
[examples] Fix ProfiledPIDFeedForward after merge
2025-11-01 10:01:42 -07:00
Peter Johnson
cc043df07f
Merge branch 'main' into 2027
2025-11-01 09:39:08 -07:00
Jason Daming
a6a4912a80
[snippets] Add ProfiledPIDController with feedforward snippets ( #8280 )
...
Adds snippets demonstrating ProfiledPIDController usage with
SimpleMotorFeedforward using the two-parameter calculate() method
(currentVelocity, nextVelocity).
These snippets will be used in frc-docs to document the recommended
feedforward pattern with ProfiledPIDController.
Co-authored-by: sciencewhiz <sciencewhiz@users.noreply.github.com >
2025-10-27 20:49:16 -06:00
Peter Johnson
b9bd3e5754
Merge branch 'main' into 2027
2025-10-23 22:33:14 -07:00
Edan Thomton
35dd61cde5
[build] Fix Eclipse annotation generation in wpilibjExamples ( #8295 )
2025-10-23 22:29:32 -07:00
Ryan Blue
33f91589b4
[wpilib, examples] Remove AnalogGyro ( #8205 )
2025-10-10 12:44:39 -07:00
Sam Carlberg
909f8a1dc4
[build] Remove PMD.RedundantFieldInitializer rule ( #8184 )
...
Code readability is much more important than saving three bytes per redundantly-initialized field.
2025-09-08 21:19:00 -07:00
Peter Johnson
3e4e9c9b01
Merge branch 'main' into 2027
2025-08-09 00:55:26 -07:00
Tyler Veness
9ac7e286f5
[build] Upgrade Gradle plugins ( #8166 )
...
I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made
breaking changes, and I couldn't figure out how to migrate.
Most of the changes are for suppressing new linter purification rites.
2025-08-08 23:04:02 -07:00
Tyler Veness
0a0adebd89
[build] Upgrade to Gradle 8.14.3 ( #8164 )
...
This fixes local builds with JDK 24.
I fixed deprecation warnings from `./gradlew wrapper --warning-mode all`
as well.
2025-08-08 09:08:34 -06:00
Austin Schuh
2f918900ff
[bazel] Publish wpilib{c,j}examples ( #8136 )
...
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-01 12:59:52 -07:00
Gold856
e0e774abde
[commands, wpimath] Remove Mecanum/SwerveControllerCommand and HolonomicDriveController ( #8119 )
2025-07-31 23:05:42 -07:00
Sam Carlberg
8d36df671b
[wpiunits] Make Java units immutable only ( #8115 )
...
Remove mutable implementations, as systemcore doesn't need mutability to keep performance under control.
2025-07-26 14:48:35 -07:00
PJ Reiniger
c78bd942bb
[bazel] Make publishers for c++ hdr / srcs, and java ( #8114 )
2025-07-24 09:11:09 -04:00
Peter Johnson
f3af50fc8e
[hal, wpilib] Update Addressable LED support ( #8100 )
2025-07-21 21:52:10 -07:00
sciencewhiz
09680072ac
[examples] Add Snippets for Accelerometers using OnboardIMU ( #8087 )
2025-07-20 22:19:14 -07:00
sciencewhiz
efedc5d69a
[doc] Update Analog Input voltage to 3.3v (NFC) ( #8085 )
2025-07-14 23:47:30 -07:00
Thad House
3497a7d09f
[hal] Add frequency support to DutyCycle ( #8076 )
2025-07-14 23:46:17 -07:00
Peter Johnson
7142fb1f5f
Merge branch 'main' into 2027
2025-07-08 19:54:03 -07:00
Gold856
26771e38fb
[commands] Deprecate Command.schedule() ( #7072 )
...
It's only syntactic sugar over the CommandScheduler's schedule method and creates a footgun because it’s too obvious to try to use in incorrect places.
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2025-07-02 13:46:59 -07:00
PJ Reiniger
e13d237390
[bazel] Create better static libraries and add basic publishing ( #8029 )
2025-06-27 16:36:12 -07:00
PJ Reiniger
fbbc4bc53c
[bazel] Clean up bazel scripts ( #7984 )
2025-06-13 20:53:09 -07:00
Peter Johnson
a6f601453a
[examples] Fix up merge from main ( #7994 )
2025-05-30 17:36:53 -07:00
Peter Johnson
6c16e846fa
Merge branch 'main' into 2027
2025-05-29 21:41:50 -07:00
sciencewhiz
79a9d7f987
[examples] Add Accelerometer filtering snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
0877d130be
[examples] Add Accelerometer collision detection snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
89555383cc
[examples] Add BuiltInAccelerometer Snippet
2025-05-13 22:03:22 -07:00
sciencewhiz
de315947e9
[examples] Add ADXL 345 and 362 snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
b7cd03adc4
[examples] Add AnalogAccelerometer snippets
...
Delete AnalogAccelerometer comments about sensitivity and zero constants that don't exist
2025-05-13 22:03:22 -07:00
PJ Reiniger
6e3f48daeb
[bazel] Add scripts to validate pregeneration tools ( #7690 )
2025-05-13 22:01:47 -07:00
sciencewhiz
55a97f0c11
[examples] Add Analog Potentiometer Snippets ( #7957 )
2025-05-10 07:18:19 -07:00
sciencewhiz
b96264f042
[examples] Misc fixes for snippets ( #7952 )
2025-05-04 00:13:46 -07:00
sciencewhiz
a15152712f
[examples] Add AnalogInput snippets ( #7951 )
2025-05-04 00:13:20 -07:00
sciencewhiz
e63899e63a
[examples] Add snippets for Digital Input article ( #7949 )
2025-05-01 11:40:38 -06:00
sciencewhiz
c49fc29046
[examples] Add Limit Switch snippets ( #7946 )
2025-04-29 08:42:32 -06:00
sciencewhiz
659710a79a
[examples] Add remaining Encoder snippets ( #7936 )
2025-04-28 16:25:49 -07:00
Thad House
08297430b5
[hal,wpilib] Add support for second I2C port ( #7878 )
2025-04-28 09:29:01 -06:00