Tyler Veness
d80e8039d7
[wpiutil] Suppress fmtlib clang-tidy warning in C++20 consteval contexts ( #4364 )
2022-08-19 23:52:19 -07:00
Tyler Veness
0e6d67b23b
[upstream_utils] Remove yapf format disable comment ( #4366 )
2022-08-19 23:51:57 -07:00
Tyler Veness
be5270697a
[build] Suppress enum-enum deprecation warning in OpenCV ( #4365 )
2022-08-19 23:51:43 -07:00
Tyler Veness
8d28851263
Add Rosetta install command to build requirements ( #4363 )
2022-08-18 19:58:43 -07:00
Tyler Veness
3d2115c93e
[wpinet] include-what-you-use in MulticastTest ( #4360 )
...
This fixes an MSVC compilation error with C++20.
2022-08-18 14:03:55 -07:00
Tyler Veness
91002ae3cc
[wpimath] Upgrade to Drake 1.6.0 ( #4361 )
2022-08-18 14:03:28 -07:00
Tyler Veness
148c18e658
[wpinet] Upgrade to libuv 1.44.2 ( #4362 )
2022-08-18 13:57:49 -07:00
Tyler Veness
a2a5c926b6
Fix clang-tidy warnings ( #4359 )
...
The warnings included recommendations of braces for if statement
readability, a recommendation for default initialization of an int
array, and include-what-you-use (indirectly through clang-tidy reporting
undefined symbols).
2022-08-17 19:53:56 -07:00
Tyler Veness
ea6b1d8449
[wpiutil] Remove unused ManagedStatic class ( #4358 )
...
We migrated to magic statics for lazy construction like the following:
```cpp
class Singleton {
static Singleton& GetSingleton() {
static Singleton instance;
return instance;
}
};
```
2022-08-17 18:04:42 -07:00
Tyler Veness
ac9be78e27
Use stricter C++ type conversions ( #4357 )
...
Now, implicit narrowing conversions are only used with wpi::Now(). This
also fixes clang-tidy warnings about C-style casts. For example:
```
== clang-tidy /__w/allwpilib/allwpilib/wpilibNewCommands/src/main/native/include/frc2/command/SwerveControllerCommand.inc ==
/__w/allwpilib/allwpilib/wpilibNewCommands/src/main/native/include/frc2/command/SwerveControllerCommand.inc:95:18: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting]
auto curTime = units::second_t(m_timer.Get());
^
```
In that case at least, the cast was removed entirely since Get() already
returns a units::second_t.
2022-08-17 13:42:36 -07:00
Tyler Veness
151dabb2af
[wpiutil] Upgrade to fmt 9.0.0 ( #4337 )
...
fmt removed fmt::make_args_checked since it's no longer needed for
constexpr format string checks.
fmt deprecated implicit conversions from enums to integers in format
arguments, so I added explicit static casts.
2022-08-16 15:35:26 -07:00
Tyler Veness
340465c929
[ci] Upgrade to clang-format and clang-tidy 14 (NFC) ( #4347 )
2022-08-16 15:25:04 -07:00
Michael Leong
d45bcddd15
[examples] Add comments to StateSpaceDifferentialDrive ( #4341 )
2022-08-15 06:26:20 -07:00
Tyler Veness
0e0786331a
Update LLVM libraries to 14.0.6 ( #4350 )
...
The main noticeable change is the SmallString conversion operator to std::string is now explicit instead of implicit.
2022-08-15 05:38:15 -07:00
Tyler Veness
c5db23f296
[wpimath] Add Eigen sparse matrix and iterative solver support ( #4349 )
...
These are useful for efficiently solving huge, but sparse systems of
equations that occur often in optimization problems.
2022-08-13 18:32:02 -07:00
Tyler Veness
44abc8dfa6
[upstream_utils] Remove git version from upstream patches ( #4351 )
...
This reduces commit noise when other git versions are used. The version
was removed by passing `--no-signature` to `git format-patch` which is
now documented in the readme.
2022-08-13 18:31:26 -07:00
Tyler Veness
3fdb2f767d
[wpimath] Add comments with Ramsete equations ( #4348 )
2022-08-11 07:09:16 -07:00
Tyler Veness
0485f05da9
[wpilibjExamples] Upgrade jacoco to match allwpilib ( #4346 )
2022-08-05 10:21:40 -07:00
Thad House
0a5eb65231
[wpinet] Handle empty txt block for mdns announcer ( #4072 )
2022-08-03 11:15:56 -07:00
sciencewhiz
19ffebaf3e
[wpilib] Add reference to I2C Lockup to API Docs (NFC) ( #4340 )
2022-07-29 21:01:21 -07:00
Tyler Veness
ce1a90d639
[hal] Replace SerialHelper "goto done" with continue ( #4342 )
...
The logic is already correct for closing all the objects. So we should just be continuing on error.
2022-07-27 14:37:32 -07:00
Tyler Veness
d25af48797
[ci] Make upstream_utils CI fail on untracked files ( #4339 )
...
This catches issues like update scripts putting new files in a different
directory from the old ones.
2022-07-24 19:34:16 -07:00
Jeffrey Morris
ebb836dacb
[examples] Fix negations in event loop examples ( #4334 )
2022-07-24 19:33:52 -07:00
Tyler Veness
d83e202f00
[upstream_utils] Update paths in update_fmt.py ( #4338 )
2022-07-22 18:08:36 -07:00
Tyler Veness
3ccf806064
[wpimath] Remove redundant LinearFilter.finiteDifference() argument ( #4335 )
...
The number of samples is already determined by the length of the stencil
list.
2022-07-22 12:50:30 -05:00
Tyler Veness
6f1e01f8bd
[wpimath] Document example of online filtering for LinearFilter.finiteDifference() ( #4336 )
2022-07-22 12:46:33 -05:00
sciencewhiz
1023c34b1c
[readme] Update location of ni-libraries ( #4333 )
...
Fixes #4321
2022-07-09 17:44:03 -05:00
Tyler Veness
faa29d596c
[wpilib] Improve Notifier docs (NFC) ( #4326 )
2022-07-01 06:45:00 -07:00
Tyler Veness
add00a96ed
[wpimath] Improve DifferentialDriveAccelerationLimiter docs (NFC) ( #4323 )
...
Defined trackwidth, added skipped steps to the algorithm's internal
proof, and grouped the algorithm steps more logically with blank lines.
2022-07-01 06:43:57 -07:00
Tyler Veness
82fac41244
[wpimath] Better document trackwidth parameters (NFC) ( #4324 )
2022-07-01 06:42:49 -07:00
Tyler Veness
5eb44e22a9
Format Python scripts with black (NFC) ( #4325 )
2022-07-01 06:41:44 -07:00
Peter Johnson
2e09fa7325
[build] Fix mpack cmake ( #4322 )
2022-06-24 19:35:13 -07:00
Starlight220
fe3c24b1ee
[command] Add ignoringDisable decorator ( #4305 )
2022-06-24 10:52:53 -07:00
Thad House
aa221597bc
[build] Add M1 builds, change arm name, update to 2023 deps ( #4315 )
2022-06-20 12:28:46 -06:00
Tyler Veness
579a8ee229
[ci] Use one worker for Windows release Gradle build ( #4318 )
...
It was running out of heap space.
2022-06-18 22:45:12 -07:00
Justus
5105c5eab6
[wpilibj] Change "final" to "exit" in the IterativeRobotBase JavaDoc (NFC) ( #4317 )
...
"exit" is used in every other instance.
2022-06-18 15:02:36 -07:00
PJ Reiniger
787fe6e7a5
[wpiutil] Separate third party libraries ( #4190 )
2022-06-18 08:08:31 -07:00
ohowe
6671f8d099
[wpigui] Update portable file dialogs ( #4316 )
...
All commits from March 16, 2022 to June 1, 2022
This fixes the save button in sysid on macOS.
2022-06-17 22:47:22 -07:00
Starlight220
9ac9b69aa2
[command] Reorder Scheduler operations ( #4261 )
...
Fixes several cases where calling scheduler operations from a command callback could result in NPEs or other issues.
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2022-06-15 23:32:16 -07:00
Tyler Veness
e61028cb18
[build] halsim_gui: Add wpinet dependency ( #4313 )
2022-06-15 23:14:31 -07:00
ohowe
661d23eaf5
[glass] Add precision setting for NetworkTable view ( #4311 )
2022-06-15 21:21:52 -07:00
Tyler Veness
666040e3e5
[hal] Throw exceptions for invalid sizes in I2C and SPI JNI ( #4312 )
...
GCC's static analyzer is correctly reporting that resize() requires an
unsigned integer, but the argument provided in the JNI function could be
negative since it's a signed byte. Throwing an exception if the argument
is negative fixes the warning.
2022-06-15 21:20:52 -07:00
Tyler Veness
aebc272449
[build] Upgrade to spotbugs Gradle plugin 5.0.8 ( #4310 )
...
This fixes a SecurityManager deprecation warning generated by spotbugs.
2022-06-14 20:26:53 -07:00
Starlight220
fd884581e4
[wpilib] Add BooleanEvent/Trigger factories on HID classes ( #4247 )
2022-06-13 22:48:16 -07:00
Tyler Veness
9b1bf5c7f1
[wpimath] Move Drake and Eigen to thirdparty folders ( #4307 )
2022-06-11 21:07:15 -07:00
Starlight220
c9e620a920
[wpilibc] Change EventLoop data structure to vector ( #4304 )
2022-06-10 05:38:54 -07:00
Peter Johnson
41d40dd62f
[wpinet] Fix libuv unused variable warning on Mac ( #4299 )
2022-06-09 23:30:16 -07:00
PJ Reiniger
30f5b68264
[wpinet] Fix JNI loading error ( #4295 )
2022-06-08 22:21:22 -07:00
DeltaDizzy
f7b3f4b90e
[examples] Getting Started: Change Joystick to XboxController ( #4194 )
2022-06-08 22:20:33 -07:00
Connor Worley
a99c11c14c
[wpimath] Replace UKF implementation with square root form ( #4168 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2022-06-08 22:19:01 -07:00