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
Ryan Blue
218cfea16b
[wpilib] DutyCycleEncoder: Fix reset behavior ( #5287 )
...
reset should set the offset to the properly scaled position provided by getAbsolutePosition, not the raw duty cycle.
2023-05-12 21:28:32 -07:00
Thad House
91392823ff
[build] Update to gradle 8.1 ( #5303 )
2023-05-12 21:27:31 -07:00
sciencewhiz
258b7cc48b
[wpilibj] Filesystem.getDeployDirectory(): Strip JNI path from user.dir ( #5317 )
...
Fixes
https://www.chiefdelphi.com/t/filesystem-getdeploydirectory-returning-wrong-location-how-to-fix/427292
when unit tests are run with VS Code's java test runner due to VS Code
extension setting working directory which changes user.dir.
2023-05-12 21:26:52 -07:00
Ryan Blue
26cc43bee1
[wpilib] Add documentation to SPI mode enum (NFC) ( #5324 )
2023-05-12 21:26:10 -07:00
sciencewhiz
ac4da9b1cb
[hal] Add HAL docs for Addressable LED (NFC) ( #5304 )
2023-05-07 22:56:40 -07:00
Tyler Veness
21d4244cf7
[wpimath] Fix DCMotor docs (NFC) ( #5309 )
2023-05-07 22:56:05 -07:00
sciencewhiz
1dff81bea7
[hal] Miscellaneous HAL doc fixes (NFC) ( #5306 )
2023-05-07 22:55:48 -07:00
Tyler Veness
7ce75574bf
[wpimath] Upgrade to Drake v1.15.0 ( #5310 )
2023-05-07 22:54:58 -07:00
sciencewhiz
576bd646ae
[hal] Add CANManufacturer for Redux Robotics ( #5305 )
...
Matches wpilibsuite/frc-docs#2225
2023-05-07 22:53:57 -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
Cory
9cbeb841f5
[rtns] Match imaging tool capitalization ( #5265 )
2023-04-28 20:57:12 -07:00
Josiah Hamm
a63d06ff77
[examples] Add constants to java gearsbot example ( #5248 )
2023-04-28 20:56:14 -07:00
wmgrove
b6c43322a3
[wpilibc] XboxController: Add return tag to docs (NFC) ( #5246 )
2023-04-28 20:55:39 -07:00
Thad House
5162d0001c
[hal] Fix and document addressable LED timings ( #5272 )
...
HAL_SetAddressableLEDBitTiming swapped high and low timings for whatever
was written to it. This fixes that bug.
Additionally, the API has been updated to take high time first, and then
low time. This is due to this being the physical data format, so having
the API match is clearer.
Additionally, update the docs with the defaults.
2023-04-28 20:54:58 -07:00
Tyler Veness
90fabe9651
[wpilibj] Use method references in drive class initSendable() ( #5251 )
2023-04-28 20:53:42 -07:00
Gold856
24828afd11
[wpimath] Fix desaturateWheelSpeeds to account for negative speeds ( #5269 )
2023-04-28 20:53:20 -07:00
Tyler Veness
e099948a77
[wpimath] Clean up rank notation in docs (NFC) ( #5274 )
2023-04-28 20:52:29 -07:00