Peter Johnson
945d416d07
Merge branch 'main' into 2027
2024-12-14 10:45:32 -08:00
Peter Johnson
4bca79b9af
[wpimath] Revert "ChassisSpeeds fromRelative and discretize methods made instance methods ( #7115 )" ( #7549 )
...
This reverts commit a3b12b3bd9 .
2024-12-14 10:42:49 -08:00
Daniel Chen
68285dae77
[commands] Add withDeadline modifier ( #7299 )
...
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2024-12-13 18:30:02 -07:00
Daniel Chen
5e3dba672a
[wpiutil] Record/Enum struct generation fix ( #7538 )
...
ProceduralStructGenerator's genRecord and genEnum were package-private, and only extractClassStruct was made public.
However, this package private visibility rendered them unable to be used by the rest of wpilib(and advanced users).
Here, ProceduralStructGenerator is split into 2 classes: StructGenerator(which generates structs) and StructFetcher(the new namespace for extractClassStruct). In addition, genRecord and genEnum have been made public methods.
2024-12-13 12:25:38 -07:00
Ryan Blue
e943424609
[build] Update shadow plugin ( #7540 )
2024-12-12 19:19:14 -08:00
Joseph Eng
4225b732fd
Remove unnecessary boxing ( #7539 )
...
* Remove unnecessary boxing
Also remove unnecessary warning suppression
* Use more idiomatic functional interfaces in NumericalIntegration
2024-12-12 19:18:40 -08:00
Carl Hauser
39d05ebe7c
[rtns] Capture exitCode from ssh_channel_get_exit_status ( #7541 )
2024-12-12 19:18:02 -08:00
Thad House
6ba7189373
[hal] Enable periodic CAN sends ( #7530 )
...
* Implement periodic can support
* Fix build
2024-12-08 22:29:01 -08:00
Thad House
31d1aa62c1
[hal] Fixes for making PWM drive ( #7528 )
...
* Increase connection timeout, fix ld path, properly initialize smart io.
* Also fix HAL_GetSystemTimeValid, so DataLogManager doesn't throw errors.
2024-12-08 22:08:05 -08:00
Wispy
cc41a0ed24
[wpilib] Replace MecanumDriveMotorVoltages with a functional interface ( #6760 )
2024-12-08 17:05:06 -08:00
Thad House
b6ae9e9cc9
Merge branch 'main' into 2027
2024-12-08 12:04:23 -08:00
Thad House
f1e4eafaa0
[hal] Add initial PWM support for systemcore ( #7525 )
2024-12-08 12:02:22 -08:00
Thad House
41d4826694
[hal] Initial CAN implementation for SystemCore ( #7514 )
2024-12-08 12:01:28 -08:00
Tyler Veness
220f4e1ba4
[wpimath] Remove RamseteController and RamseteCommand ( #7522 )
2024-12-07 23:38:35 -08:00
Tyler Veness
d5edb4060d
[upstream_utils] Upgrade Sleipnir ( #7512 )
...
It now uses SQP for problems without inequality constraints, which is
faster.
main:
```
[ RUN ] Ellipse2dTest.DistanceToPoint
0.203 ms
[ OK ] Ellipse2dTest.DistanceToPoint (0 ms)
[ RUN ] Ellipse2dTest.FindNearestPoint
0.019 ms
[ OK ] Ellipse2dTest.FindNearestPoint (0 ms)
```
upgrade:
```
[ RUN ] Ellipse2dTest.DistanceToPoint
0.197 ms
[ OK ] Ellipse2dTest.DistanceToPoint (0 ms)
[ RUN ] Ellipse2dTest.FindNearestPoint
0.015 ms
[ OK ] Ellipse2dTest.FindNearestPoint (0 ms)
```
2024-12-07 23:02:39 -08:00
Tyler Veness
ae44295024
Use std::bit_cast ( #7492 )
2024-12-07 23:02:09 -08:00
Tyler Veness
e08fdeba21
[wpimath] Rename FindNearestPoint() to Nearest() ( #7513 )
...
This is easier to type and follows the naming of Pose2d::Nearest().
Since Ellipse2d and Rectangle2d were added for the 2025 season, we don't
need to add deprecation notices.
2024-12-07 23:01:18 -08:00
Wispy
544553a58f
[developerRobot] Add Epilogue and wpiunits to developerRobot ( #7510 )
2024-12-07 23:00:49 -08:00
Tyler Veness
4910436b10
[wpimath] Remove LUTs from LTV controllers ( #7521 )
...
The Raspberry Pi 5 is fast enough that we no longer need it.
```
Running ./build/DAREBench
Run on (4 X 2400 MHz CPU s)
CPU Caches:
L1 Data 64 KiB (x4)
L1 Instruction 64 KiB (x4)
L2 Unified 512 KiB (x4)
L3 Unified 2048 KiB (x1)
Load Average: 0.47, 0.72, 0.45
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
-------------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------------
DARE_WPIMath_Dynamic 34.4 us 34.4 us 20315
DARE_WPIMath_NoPrecondChecks_Dynamic 21.7 us 21.7 us 32266
DARE_WPIMath_Static 15.2 us 15.2 us 45878
DARE_WPIMath_NoPrecondChecks_Static 7.84 us 7.84 us 89316
DARE_SLICOT 79.4 us 79.4 us 8789
DARE_Drake 34.9 us 34.9 us 20074
```
2024-12-07 23:00:15 -08:00
Tyler Veness
a7349f00ef
[wpimath] Fix duplicate Rotation2d constructor ( #7524 )
2024-12-07 22:31:09 -08:00
Peter Johnson
e493da3486
Merge branch 'main' into 2027
2024-12-07 21:38:18 -08:00
Peter Johnson
838c5fbcd7
[ci] Fix labeler yaml ( #7523 )
2024-12-07 21:37:49 -08:00
Peter Johnson
32ba751e58
Merge branch 'main' into 2027
2024-12-07 21:30:28 -08:00
Tyler Veness
62a6a77bbf
[wpimath] Add affine transformation constructors and getters to geometry API ( #7509 )
...
Fixes #7429 .
2024-12-07 21:29:02 -08:00
Tyler Veness
c81bd0c909
[ci] Upgrade to Ubuntu 24.04 ( #7496 )
2024-12-07 21:20:48 -08:00
Peter Johnson
38a239b531
[ci] Add labeler action to auto-label PRs ( #7520 )
2024-12-07 21:15:49 -08:00
Tyler Veness
c497e4ec22
[wpimath] Fix SimpleFeedforward overload set ( #7516 )
2024-12-07 20:32:16 -08:00
Thad House
6dbff902fa
[build] Remove athena completely from build ( #7517 )
2024-12-07 20:31:10 -08:00
Thad House
9a1b4245fa
[build] Restore Windows constexpr mutex define on wpiutil ( #7515 )
2024-12-07 18:55:06 -08:00
Thad House
be72e0ecd8
Skip linux arm64 build on tools build ( #7511 )
2024-12-07 16:37:11 -08:00
Tyler Veness
e222efaa01
[wpimath] Add affine transformation constructors and getters to geometry API ( #7430 )
...
Fixes #7429 .
2024-12-07 15:49:17 -08:00
Thad House
e69c5710b3
[hal] Add ErrorInfo support to systemcore DS ( #7488 )
2024-12-07 14:14:21 -08:00
Peter Johnson
52b33edcbd
Merge branch 'main' into 2027
2024-12-07 14:11:47 -08:00
shueja
f772bb141d
[epilogue] Add extra parentheses around cast when using varhandle ( #7428 )
...
* [epilogue] Add extra parentheses around cast when using varhandle
* Fixed tests and added one for private suppliers
* Fix tests
* Formatting fixes
* Update epilogue-processor/src/test/java/edu/wpi/first/epilogue/processor/AnnotationProcessorTest.java
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
Co-authored-by: Sam Carlberg <sam@slfc.dev >
2024-12-07 16:09:35 -05:00
Tyler Veness
278efa6384
[upstream_utils] Remove Sleipnir patches no longer needed with GCC 11 ( #7491 )
2024-12-07 12:36:25 -08:00
Tyler Veness
e876452967
[ci] Upgrade to wpiformat 2024.50 ( #7506 )
2024-12-07 11:40:24 -08:00
Sam Carlberg
5c95966d44
Fix epilogue loading optional types from the newcommands vendordep ( #7505 )
2024-12-07 13:56:05 -05:00
Thad House
c8900cadc3
Add SPARKmini to PWM support ( #7504 )
2024-12-07 00:48:20 -08:00
Thad House
5058b48dea
[developerRobot] Switch to initial password and host for systemcore ( #7503 )
2024-12-06 23:19:48 -08:00
Tyler Veness
882233bede
[wpimath] Improve SimpleMotorFeedforward argument names and deprecation message ( #7489 )
...
Also roll back SimpleMotorFeedforward unit API until 2027.
2024-12-06 22:32:40 -08:00
Peter Johnson
1921d019b7
[build] Update arm builds to bookworm ( #7501 )
...
Also bumps native-utils to 2025.9.0.
And upgrades OpenCV to -3; fixes some enum conversion deprecation warnings.
2024-12-06 22:19:00 -08:00
Tyler Veness
144e79a614
[wpimath] Remove Rotation2d value field ( #7490 )
...
It's not part of SO(2).
2024-12-06 21:00:09 -08:00
Peter Johnson
c3fc7c829d
[build] Upgrade OpenCV to 4.10.0 ( #7500 )
2024-12-06 15:41:40 -08:00
Ryan Blue
4ce8930342
[developerRobot] Add instructions for developerRobot java sim (NFC) ( #7498 )
2024-12-06 00:24:26 -08:00
Thad House
38b09a6dfd
[hal] Clean up systemcore notifier impl ( #7487 )
...
* Clean up systemcore notifier impl
* Formatting fixes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-05 09:17:45 -08:00
Thad House
d7cd71589a
[hal] Enable an I2C bus on systemcore ( #7485 )
2024-12-04 20:19:51 -08:00
Daniel Chen
60198c0bec
[epilogue] Improved opt-in logging support ( #7437 )
2024-12-03 20:30:55 -08:00
Gold856
54f0e11fc0
[build] Update OpenCV to 2025-4.8.0-2 ( #7476 )
2024-12-03 20:30:03 -08:00
Thad House
a954091ea2
[ci] Remove 32-bit Windows builds ( #7475 )
2024-12-01 17:45:04 -08:00
Thad House
bf653d9895
[hal] Add SystemServer DS support ( #7466 )
2024-12-01 17:05:07 -08:00