Tyler Veness
02a0adc653
[wpimath] Add Rotation3d rotation vector getter ( #7564 )
...
The code churn in Java is just making the function order consistent
between languages.
2024-12-22 13:34:51 -08:00
Ryan Blue
0c99073b94
Use std::bit_cast ( #7567 )
...
Backport #7492
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-12-22 13:34:16 -08:00
Tyler Veness
d631fa8e4b
[wpimath] Fix algorithm link (NFC) ( #7569 )
...
Fixes #7568 .
2024-12-22 13:33:07 -08:00
Tyler Veness
19d385d149
[ci] Upgrade to wpiformat 2024.51 ( #7573 )
2024-12-22 13:44:40 -06:00
Ryan Blue
d0cc7e4eca
[ci] Disable cleaner cron job ( #7574 )
2024-12-21 19:08:48 -08:00
Kaya
807dffed35
[commands] Fix C++ iterator invalidation bug ( #7554 )
...
Co-authored-by: Joseph Eng <91924258+KangarooKoala@users.noreply.github.com >
Co-authored-by: Ryan Blue <13878527+rzblue@users.noreply.github.com >
2024-12-20 00:32:24 -06:00
Ryan Blue
f46c81cfe3
[ci] Delete comment command ( #7566 )
2024-12-19 20:53:17 -06:00
PJ Reiniger
9ccd73108b
[bazel] MVP for building wpilibc + commands framework ( #7231 )
2024-12-18 22:00:40 -08:00
Gold856
38d8929f48
[ci] Move pregen steps into a composite action ( #7474 )
...
This ensures that complete uniformity in how the generation scripts are run. All dependencies and scripts are set up in the exact same way, each time. The old pregen_all script has been removed and moved into the composite action to ensure failed scripts will always fail the job.
2024-12-18 21:59:47 -08:00
Jan-Felix Abellera
cc73236a06
[hal] Add CAN device type for servo controllers ( #7556 )
2024-12-18 21:57:34 -08:00
Jade
f8720a628c
[commands] Fix proxy command deprecation docs ( #7396 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
2024-12-18 21:57:11 -08:00
Jade
156bd71fef
[developerRobot] Workaround Eclipse annotation processor issues ( #7537 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-18 09:46:31 -07:00
Ryan Blue
6e44187ff6
[build] cmake: Add wpilibNewCommands and apriltag to developerRobot ( #7557 )
2024-12-18 09:35:23 -07:00
Jan-Felix Abellera
e2cbdf9718
[hal] Add usage reporting for REV Servo Hub ( #7555 )
2024-12-18 09:34:45 -07:00
Jade
66cce1835c
[ci] Add Buildifier to /format comment command ( #7480 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-18 09:31:02 -07:00
sciencewhiz
6fe5da7289
[examples] Fix example json for SimpleDifferentialDriveSimulation (NFC) ( #7561 )
...
Uses LTVUnicycleController now instead of RAMSETE.
2024-12-18 09:20:31 -07:00
Peter Johnson
80c391e182
[wpinet] WebServer: Unescape URI ( #7552 )
...
Also provide Content-Disposition filename header in response.
This fixes e.g. filenames with spaces in them.
v2025.1.1-beta-3
2024-12-15 12:28:08 -08:00
Joseph Eng
70f36cce7e
[commands] Extract common trigger binding logic ( #7550 )
...
This makes the logic clearer in the actual binding methods and will hopefully make it less annoying to make changes such as allowing control over initial edges.
Also changes Java to use previous and current to match C++.
2024-12-14 23:13:41 -08:00
Peter Johnson
564c1f2de2
[wpinet] WebServer: Fix Windows ( #7551 )
...
The order of evaluation of parameters is not defined; on Windows,
the std::move was executed before the GetBuffer().
2024-12-14 23:07:48 -08:00
Peter Johnson
a1b642a402
[wpinet] Add simple web server ( #7527 )
...
Also add EscapeHTML to HttpUtil.
2024-12-14 11:51:21 -08:00
Falon
f9b3efb712
[wpiunits] Refactor MomentOfInertiaUnit constructor to use MomentOfInertiaUnit instead of a Per<> ( #7546 )
2024-12-14 11:26:26 -08:00
Thad House
782459dff4
[wpiutil] Make runtime loader exception message slightly better ( #7536 )
2024-12-14 11:25:27 -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
Wispy
cc41a0ed24
[wpilib] Replace MecanumDriveMotorVoltages with a functional interface ( #6760 )
2024-12-08 17:05:06 -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
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
Peter Johnson
838c5fbcd7
[ci] Fix labeler yaml ( #7523 )
2024-12-07 21:37:49 -08:00
Peter Johnson
38a239b531
[ci] Add labeler action to auto-label PRs ( #7520 )
2024-12-07 21:15:49 -08:00
Thad House
9a1b4245fa
[build] Restore Windows constexpr mutex define on wpiutil ( #7515 )
2024-12-07 18:55:06 -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
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
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
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
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
sciencewhiz
de82ed434d
[hal] Add usage reporting for TOF sensors ( #7470 )
2024-12-01 17:02:20 -08:00
Thad House
4dd3a36d2e
[ci] Switch lint task to use base ubuntu image ( #7471 )
2024-12-01 17:01:19 -08:00
sciencewhiz
92f8c89267
[hal] Add usage reporting for 2025 legal motor controllers ( #7467 )
2024-11-30 22:25:04 -08:00
Thad House
1eecaaf337
[build] Update OpenCV to 2025 ( #7468 )
2024-11-30 22:21:41 -08:00