Tyler Veness
90757b9e90
[wpilib] Make Color::HexString() constexpr ( #5985 )
...
Related improvements to wpi::ct_string:
* Implicitly convert to std::string
* Add operator== for std::string, std::string_view, and const Char*
2023-12-04 21:20:49 -08:00
PJ Reiniger
2676b77873
Fix compilation issues that occur when building with bazel ( #6008 )
2023-12-04 21:18:26 -08:00
ncorrea210
d32c10487c
[examples] Update C++ examples to use CommandPtr ( #5988 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-12-03 21:39:29 -08:00
Peter Johnson
9bc5fcf886
[build] cmake: Default WITH_JAVA_SOURCE to WITH_JAVA ( #6005 )
2023-12-03 20:14:34 -08:00
Tyler Veness
d431abba3b
[upstream_utils] Fix GCEM namespace usage and add hypot(x, y, z) ( #6002 )
2023-12-03 16:40:08 -08:00
Tyler Veness
2bb1409b82
Clean up Java style ( #5990 )
...
Also make equivalent changes in C++ where applicable.
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-12-03 16:21:32 -08:00
Gold856
66172ab288
Remove submodule ( #6003 )
2023-12-03 16:18:45 -08:00
Tyler Veness
e8f8c0ceb0
[upstream_utils] Update to latest Eigen HEAD ( #5996 )
...
There hasn't been a release in 2.5 years.
There's performance improvements for some NEON instructions, UB fixes, a lot of internal cleanup with the jump from C++11 to C++14, and more constexpr.
2023-12-03 16:18:19 -08:00
Gold856
890992a849
[hal] Commit generated usage reporting files ( #5993 )
2023-12-03 15:53:24 -08:00
Peter Johnson
a583ca01e1
[wpiutil] Change Struct to allow non-constexpr implementation ( #5992 )
...
This required changing the constant values (e.g. kSize) into functions
(e.g. GetSize()).
Fixed implementations of ForEachNested to be inline (as these are actually
templates).
Also added a ntcore Struct test.
2023-12-02 23:36:44 -08:00
Tyler Veness
ca272de400
[build] Fix Gradle compile_commands.json and clang-tidy warnings ( #5977 )
2023-12-02 21:20:43 -08:00
Peter Johnson
76ae090570
[wpiutil] type_traits: Add is_constexpr() ( #5997 )
2023-12-02 20:54:22 -08:00
Starlight220
5172ab8fd0
[commands] C++ CommandPtr: Prevent null initialization ( #5991 )
2023-12-02 16:45:04 -08:00
Tyler Veness
96914143ba
[build] Bump native-utils to fix compile_commands.json ( #5989 )
2023-12-01 23:08:47 -08:00
Austin Shalit
464e6121ef
[ci] Report failed status to Azure on failed tests ( #2654 )
2023-12-01 20:53:57 -08:00
PJ Reiniger
5dad46cd45
[wpimath] Commit generated files ( #5986 )
2023-12-01 20:52:38 -08:00
PJ Reiniger
54ab65a63a
[ntcore] Commit generated files ( #5962 )
2023-12-01 15:31:06 -08:00
Sriman Achanta
7ed900ae3a
[wpilib] Add hex string constructor to Color and Color8Bit ( #5063 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-12-01 10:26:58 -08:00
Tyler Veness
74b85b76a9
[wpimath] Make gcem call std functions if not constant-evaluated ( #5983 )
...
The one exception is macOS, which doesn't support std::beta().
2023-12-01 09:08:04 -08:00
Tyler Veness
30816111db
[wpimath] Fix TimeInterpolatableBuffer crash ( #5972 )
...
Don't decrement buffer iterator if it's at the beginning of the
container.
2023-11-30 23:18:38 -08:00
Peter Johnson
5cc923de33
[wpilib] DataLogManager: Use logs subdirectory on USB drives ( #5975 )
2023-11-30 23:13:51 -08:00
Ryan Blue
1144115da0
[commands] Add GetName to Subsystem, use in Scheduler tracer epochs ( #5836 )
2023-11-30 23:10:53 -08:00
Tyler Veness
ac7d726ac3
[wpimath] Add simulated annealing ( #5961 )
...
Co-authored-by: Ashray._.g <ashray.gupta@gmail.com >
2023-11-30 22:57:50 -08:00
Tyler Veness
e09be72ee0
[wpimath] Remove unused SimpleMatrixUtils class ( #5979 )
...
It looks like it was gradually replaced by JNI wrappers around Eigen.
2023-11-30 21:12:43 -08:00
Tyler Veness
0f9ebe92d9
[wpimath] Add generic circular buffer class to Java ( #5969 )
...
The original is now called DoubleCircularBuffer.
2023-11-30 21:12:23 -08:00
David Vo
9fa28eb07a
[ci] Bump actions/checkout to v4 ( #5736 )
...
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2023-11-30 21:09:56 -08:00
Thad House
ca684ac207
[hal] Add capability to read power distribution data as a stream ( #4983 )
2023-11-30 21:09:14 -08:00
Prateek Machiraju
51eecef2bd
[wpimath] Optimize 2nd derivative of quintic splines ( #3292 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-11-30 21:07:52 -08:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Tyler Veness
9b8011aa67
[build] Pin wpiformat version ( #5982 )
2023-11-30 13:37:07 -08:00
swirl
e00a0e84c1
[build] cmake: fix protobuf dependency finding for certain distributions ( #5981 )
2023-11-30 13:36:41 -08:00
Tyler Veness
23dd591394
[upstream_utils] Remove libuv patch that adjusts whitespace ( #5976 )
2023-11-29 12:22:28 -08:00
Peter Johnson
b0719942f0
[wpiutil] Timestamp: Report errors on Rio HMB init failure ( #5974 )
2023-11-29 10:10:07 -08:00
Tyler Veness
7bc89c4322
[wpilib] Update getAlliance() docs (NFC) ( #5971 )
...
kInvalid was replaced with an optional.
2023-11-28 10:03:12 -08:00
Tyler Veness
841ea682d1
[upstream_utils] Upgrade to LLVM 17.0.5 ( #5970 )
2023-11-28 10:01:48 -08:00
Joseph Farkas
a74db52dae
[cameraserver] Add getVideo() pixelFormat overload ( #5966 )
2023-11-27 09:51:42 -08:00
Thad House
a7eb422662
[build] Update native utils for new compile commands files ( #5968 )
2023-11-27 09:47:49 -08:00
Tyler Veness
544b231d4d
[sysid] Add missing cassert include ( #5967 )
2023-11-26 21:01:40 -08:00
Tyler Veness
31cd015970
[wpimath] Add SysId doc links to LinearSystemId in C++ (NFC) ( #5960 )
...
They already exist in Java.
2023-11-24 23:46:09 -08:00
Thad House
9280054eab
Revert "[build] Export wpimath protobuf symbols ( #5952 )"
...
This reverts commit c80b2d2017 .
2023-11-23 22:40:47 -08:00
Thad House
2aba97c610
Export pb files from wpimath
2023-11-23 22:40:47 -08:00
Peter Johnson
c80b2d2017
[build] Export wpimath protobuf symbols ( #5952 )
2023-11-23 11:27:54 -08:00
Tyler Veness
3c0652c18a
[cscore] Replace CS_PixelFormat with WPI_PixelFormat ( #5954 )
...
This fixes a compilation error introduced by #5923 .
2023-11-23 11:27:30 -08:00
Andrew Gasser
95716eb0cb
[wpiunits] Documentation improvements ( #5932 )
2023-11-23 10:57:58 -08:00
Starlight220
423fd75fa8
[wpilib] Default LiveWindowEnabledInTest to false ( #5950 )
2023-11-23 10:56:47 -08:00
Tyler Veness
dfdea9c992
[wpimath] Make KalmanFilter variant for asymmetric updates ( #5951 )
2023-11-23 10:56:15 -08:00
Drew Williams
ca81ced409
[wpiutil] Move RawFrame to wpiutil; add generation of RawFrame for AprilTags ( #5923 )
2023-11-23 10:55:10 -08:00
Joseph Farkas
437cc91af5
[cscore] CvSink: Allow specifying output PixelFormat ( #5943 )
2023-11-22 11:35:42 -08:00
Gold856
25b7dca46b
[build] Remove CMake flat install option ( #5944 )
2023-11-21 11:48:32 -08:00
PJ Reiniger
bb05e20247
[wpimath] Add protobuf/struct for trivial types ( #5935 )
...
This implements de/serialization for the types that aren't templated (SwerveDriveKinematics) in C++ or where there is no trivial way to go round-trip (Splines) for the messages.
2023-11-21 10:14:06 -08:00