Tyler Veness
7d4e515a6b
[wpimath] Simplify calculation of C for DARE precondition ( #6022 )
2023-12-08 20:25:03 -08:00
Peter Johnson
5200316c14
[ntcore] Update transmit period on topic add/remove ( #6021 )
...
- Correctly handle the first subscription being a send all
- Don't restart outgoing timer if period didn't change
2023-12-08 14:19:18 -08:00
Sam Carlberg
ddf79a25d4
[wpiunits] Overload Measure.per(Time) to return Measure<Velocity> ( #6018 )
...
As opposed to returning Measure<Per<U, Time>>
Now matches the overload on Unit
2023-12-08 13:39:28 -08:00
Tyler Veness
a71adef316
[wpiutil] Clean up circular_buffer iterator syntax ( #6020 )
2023-12-08 13:38:56 -08:00
Elliot Scher
39a0bf4b98
[examples] Call resetOdometry() when controller command is executed ( #5905 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-12-06 22:14:54 -08:00
Gold856
f5fc101fda
[build] cmake: Export jars and clean up jar installs ( #6014 )
2023-12-06 18:28:38 -08:00
Isaac Turner
38bf024c96
[build] Update to Gradle 8.5 ( #6007 )
2023-12-06 09:29:41 -08:00
Ashray._.g
9d11544c18
[wpimath] Rotate traveling salesman solution so input and solution have same initial pose ( #6015 )
2023-12-05 23:21:28 -08:00
Gold856
28deba20f5
[wpimath] Commit generated quickbuf Java files ( #5994 )
...
This removes a build dependency on the quickbuf generator being available for the build platform.
It's safe to generate Java because the quickbuf version is defined by the project.
C++ protobufs can't be committed because the protoc version must
match the library version (this is a particular issue for cmake builds).
2023-12-05 17:02:29 -08:00
Gold856
c2971c0bb3
[build] cmake: Export apriltag and wpimath ( #6012 )
2023-12-05 13:31:27 -08:00
Peter Johnson
41cfc961e4
gitattributes: Add linguist-generated locations ( #6004 )
2023-12-05 13:30:54 -08:00
Joseph Eng
14c3ade155
[wpimath] Struct cleanup ( #6011 )
2023-12-04 22:40:18 -08:00
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