Gold856
5fc4aee2d2
[wpimath] SwerveDriveKinematics: Rename currentChassisSpeed to desiredChassisSpeed ( #5393 )
2023-06-19 22:58:38 -07:00
Gold856
50b90ceb54
[wpimath] SwerveDriveKinematics: Add reset method ( #5398 )
...
Adds a reset method where teams can pass in module headings for the kinematics object to use if it gets an all-zero ChassisSpeeds while converting ChassisSpeeds to module states. Also removes internal states array, replacing it with an internal headings array.
2023-06-19 22:57:55 -07:00
Joseph Eng
316cd2a453
[commands] Notify DriverStationSim in CommandTestBaseWithParam ( #5400 )
2023-06-19 22:56:56 -07:00
Sriman Achanta
d4ea5fa902
[cscore] VideoMode: Add equals override (Java) ( #5397 )
2023-06-19 17:12:07 -07:00
Ryan Blue
d6bd72d738
[wpimath] ProfiledPIDController: Add getConstraints ( #5399 )
2023-06-19 17:11:20 -07:00
Joseph Eng
25ad5017a9
[wpimath] Refactor kinematics, odometry, and pose estimator ( #5355 )
2023-06-19 17:10:39 -07:00
sciencewhiz
5c2addda0f
[doc] Add missing pneumatics docs (NFC) ( #5389 )
...
Add missing HAL docs for PCM and PH
Fix references to PCM
Document different one shot durations for PCM and PH
2023-06-15 08:14:35 -07:00
Thad House
c3e04a6ea2
Fix loading tests on macos 12 ( #5388 )
2023-06-09 23:40:20 -07:00
Thad House
d5ed9fb859
[wpimath] Create separate archive with just units headers ( #5383 )
...
This will allow very low level deps to use the same units library we ship with wpilib
2023-06-08 21:11:51 -07:00
Ryan Blue
901ab693d4
[wpimath] Use UtilityClassTest for more utility classes ( #5384 )
2023-06-08 21:11:26 -07:00
Gold856
9d53231b01
[wpilib] DataLogManager: Add warning for low storage space ( #5364 )
2023-06-08 20:02:21 -07:00
Ryan Blue
d466933963
[wpiutil] Group doxygen into MPack module ( #5380 )
2023-06-08 20:00:16 -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
Ryan Blue
6414be0e5d
[wpimath] Group units doxygen modules ( #5382 )
2023-06-08 19:58:55 -07:00
Ryan Blue
7ab5800487
[wpiutil] Fix docs typo in SmallVector ( #5381 )
2023-06-08 19:58:21 -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
Ryan Blue
753cb49a5e
[ntcore] Fix doxygen module in generated C types (NFC) ( #5374 )
2023-06-07 09:56:20 -07:00
Ryan Blue
1c00a52b67
[hal] Expose CAN timestamp base clock ( #5357 )
2023-06-07 09:54:03 -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
d57d1a4598
[wpimath] Remove unnecessary template argument from unit formatter ( #5367 )
2023-06-07 09:47:46 -07:00
Tyler Veness
5acc5e22aa
[wpimath] Only compute eigenvalues with EigenSolvers ( #5369 )
...
We don't need the eigenvectors, so we're doing a lot of extra work we
don't need to.
2023-06-07 09:47:09 -07:00
Ryan Blue
d3c9316a97
extend shuffleboard test timeout ( #5377 )
2023-06-03 06:47:08 -07:00
Gold856
1ea868081a
[ci] Fix /format command ( #5376 )
2023-06-03 06:43:08 -07:00
Tyler Veness
5fac18ff4a
Update formatting to clang-format 16 ( #5370 )
2023-05-31 22:10:53 -07:00
Tyler Veness
a94a998002
[wpimath] Generalize Eigen formatter ( #5360 )
2023-05-30 23:35:15 -07:00
Tyler Veness
125f6ea101
[wpimath] Make SwerveDriveKinematics::ToChassisSpeeds() take const-ref argument ( #5363 )
2023-05-30 23:34:39 -07:00
Tyler Veness
51066a5a8a
[wpimath] Move unit formatters into units library ( #5358 )
2023-05-26 01:05:27 -07:00
Ryan Blue
282c032b60
[wpilibc] Add unit-aware Joystick.GetDirection() ( #5319 )
2023-05-25 21:43:52 -07:00
Tyler Veness
073d19cb69
[build] Fix CMake warning ( #5359 )
...
```
CMake Warning (dev) at CMakeLists.txt:14 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
```
2023-05-25 21:39:35 -07:00
Gold856
01490fc77b
[wpiutil] DataLog: Add documentation for append methods (NFC) ( #5348 )
2023-05-18 21:56:21 -07:00
Tyler Veness
c9b612c986
[wpilibcExamples] Make C++ state-space elevator KF and LQR match Java ( #5346 )
2023-05-18 10:09:48 -07:00
Tyler Veness
eed1e6e3cb
[wpimath] Replace DiscretizeAQTaylor() with DiscretizeAQ() ( #5344 )
...
Until #5339 is fixed, we have to use the slower, more accurate version.
2023-05-18 07:13:20 -07:00
Tyler Veness
c976f40364
[readme] Document how to run examples in simulation ( #5340 )
2023-05-17 21:09:22 -07:00
Ryan Blue
4d28bdc19e
[ci] Update Github Pages deploy action parameters ( #5343 )
2023-05-17 21:02:43 -07:00
Ryan Blue
e0f851871f
[ci] Fix github pages deploy version ( #5342 )
2023-05-17 20:42:52 -07:00
Tyler Veness
063c8cbedc
Run wpiformat (NFC) ( #5341 )
2023-05-17 18:00:26 -07:00
sciencewhiz
96e41c0447
[ci] Update deploy and sshagent actions ( #5338 )
...
Fixes node deprecations
2023-05-16 20:50:03 -07:00
Tyler Veness
fd294bdd71
[build] Fix compilation with GCC 13 ( #5322 )
2023-05-16 13:31:58 -07:00
Peter Johnson
d223e4040b
[dlt] Add delete without download functionality ( #5329 )
2023-05-16 09:42:06 -07:00
Tyler Veness
abc19bcb43
[upstream_utils] Zero out commit hashes and show 40 digits in index hashes ( #5336 )
2023-05-16 09:41:46 -07:00
Austin Shalit
e909f2e687
[build] Update gradle cache repo name ( #5334 )
...
Artifactory now does not allow repos that end in -cache. Update virtual repo naming to track this new limitation
2023-05-16 00:47:34 -07:00
Tyler Veness
52bd5b972d
[wpimath] Rewrite DARE solver ( #5328 )
...
I timed the DARE unit tests, and the new solver is 0 to 100% faster in
all cases (that is, it's at least as fast as Drake's and up to 2x faster
in some cases).
The new solver is also much simpler, takes less time to compile, and
drops the libwpimath.so size from 325 MB to 301 MB.
I think most of the compilation time is coming from the eigenvalue
decompositions used to enforce argument preconditions.
2023-05-14 22:23:00 -07:00
Tyler Veness
3876a2523a
[wpimath] Remove unused MatrixImpl() function ( #5330 )
...
It's an implementation detail left over from MakeMatrix().
2023-05-14 22:22:28 -07:00
Thad House
c82fcb1975
[wpiutil] Add reflection based cleanup helper ( #4919 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2023-05-12 21:35:39 -07:00
Tyler Veness
15ba95df7e
[wpiutil] Use std::filesystem ( #4941 )
2023-05-12 21:34:09 -07:00
Tyler Veness
77c2124fc5
[wpimath] Remove Eigen's custom STL types ( #4945 )
...
In C++20, overaligned types are handled properly, so Eigen's STL types
with custom allocators are no longer needed.
2023-05-12 21:32:58 -07:00
Peter Johnson
27fb47ab10
[glass] Field2D: Embed standard field images ( #5159 )
2023-05-12 21:31:38 -07:00
sciencewhiz
102e4f2566
[wpilib] Remove deprecated and broken SPI methods ( #5249 )
2023-05-12 21:30:53 -07:00
Ryan Blue
463a90f1df
[wpilib, hal] Add function to read the RSL state ( #5312 )
2023-05-12 21:30:19 -07:00
Ryan Blue
7a90475eec
[wpilib] Update RobotBase documentation (NFC) ( #5320 )
2023-05-12 21:29:39 -07:00