Peter Johnson
7a87fe4b60
[ntcore] ProtobufSubscriber: Make mutex and msg mutable ( #5927 )
2023-11-14 21:07:38 -08:00
DeltaDizzy
09f3ed6a5f
[commands] Add static Trigger factories for robot mode changes ( #5902 )
2023-11-14 15:54:43 -08:00
Joseph Eng
79dd795bc0
[wpimath] Clean up VecBuilder and MatBuilder ( #5906 )
2023-11-14 12:23:50 -08:00
Peter Johnson
e117274a67
[wpilib] Change default Rio log dir from /home/lvuser to /home/lvuser/logs ( #5899 )
2023-11-14 12:20:51 -08:00
Tyler Veness
a8b80ca256
[upstream_utils] Update to libuv 1.47.0 ( #5889 )
2023-11-14 12:12:56 -08:00
Tyler Veness
b3a9c3e96b
[build] Bump macOS deployment target to 12 ( #5890 )
2023-11-14 08:26:21 -08:00
Peter Johnson
0f8129677b
[build] Distribute wpimath protobuf headers ( #5925 )
2023-11-13 19:50:42 -08:00
Peter Johnson
d105f9e3e9
[wpiutil] ProtobufBuffer: Fix buffer reallocation ( #5924 )
2023-11-13 15:49:41 -08:00
sciencewhiz
c5f2f6a0fb
[fieldImages] Fix typo in field images artifact name ( #5922 )
...
Nothing appears to be using the existing name
2023-11-12 23:16:52 -08:00
Tyler Veness
c1a57e422a
[commands] Clean up make_vector.h ( #5917 )
2023-11-12 20:23:34 -08:00
DeltaDizzy
78ebc6e9ec
[wpimath] change G to gearing in LinearSystemId factories ( #5834 )
2023-11-12 20:22:39 -08:00
Isaac Turner
9ada181866
[hal] DriverStation.h: Add stddef.h include ( #5897 )
2023-11-11 21:30:23 -08:00
Peter Johnson
95fa5ec72f
[wpilibc,ntcoreffi] DataLogManager: join on Stop() call ( #5910 )
...
This ensures the thread has finished prior to returning from Stop().
2023-11-10 21:03:30 -08:00
Ryan Blue
b6f2d3cc14
[build] Remove usage of Version.parse ( #5911 )
2023-11-10 21:02:08 -08:00
Elliot Scher
cc2cbeb04c
[examples] Replace gyro rotation with poseEstimator rotation ( #5900 )
2023-11-10 15:12:54 -08:00
Tyler Veness
fa6b171e1c
[wpiutil] Suppress protobuf warning false positives on GCC 13 ( #5907 )
2023-11-10 15:12:18 -08:00
Gold856
d504639bbe
[apriltag] Improve AprilTag docs ( #5895 )
2023-11-08 12:48:52 -08:00
Tyler Veness
3a1194be40
Replace static_cast<void>() with [[maybe_unused]] attribute ( #5892 )
...
This clarifies intent. Not done for thirdparty libraries or
structured binding variables.
2023-11-08 12:47:23 -08:00
swirl
70392cbbcb
[build] cmake: Add protobuf dependency to wpiutil-config ( #5886 )
...
Signed-off-by: swirl <swurl@swurl.xyz >
2023-11-06 12:47:35 -08:00
Peter Johnson
17c1bd5a83
[ntcore] Use json_fwd ( #5881 )
...
Also fix ProtobufEntry construction.
2023-11-05 09:55:40 -08:00
Peter Johnson
e69a9efeba
[wpilibcExamples] Match array parameter bounds ( #5880 )
...
Required by newer versions of clang.
2023-11-04 23:55:13 -07:00
Peter Johnson
14dcd0d26f
Use char instead of uint8_t for json::parse ( #5877 )
...
The uint8_t usage causes warnings on newer clang versions.
Add GetCharBuffer() to MemoryBuffer classes to make this easy.
2023-11-04 22:18:42 -07:00
Thad House
ec1d261984
[hal] Fix garbage data for match info before DS connection ( #5879 )
...
NetComm writes garbage data before the DS connects. Make sure this doesn't make it up to the user.
2023-11-04 22:15:24 -07:00
Peter Johnson
63dbf5c614
[wpiutil] MemoryBuffer: Fix normal read and file type check ( #5875 )
2023-11-04 18:41:39 -07:00
Peter Johnson
b2e7be9250
[ntcore] Only datalog meta-topics if specifically requested ( #5873 )
2023-11-04 18:40:52 -07:00
Tyler Veness
201a42a3cd
[wpimath] Reorder TrapezoidProfile.calculate() arguments ( #5874 )
...
ProfiledPIDController and ExponentialProfile use current, then goal.
This isn't a breaking change because this overload of calculate() is
new for 2024.
2023-11-04 16:28:55 -07:00
Drew Williams
04a781b4d7
[apriltag] Add GetTags to C++ version of AprilTagFieldLayout ( #5872 )
2023-11-04 10:26:07 -07:00
Ryan Blue
87a8a1ced4
[docs] Exclude eigen and protobuf from doxygen ( #5871 )
...
They take up a significant portion of the generated output (protobuf ~55MB, eigen ~119MB).
2023-11-04 07:54:48 -07:00
Peter Johnson
f1a82828fe
[wpiutil] Add DataLog and DataLogManager Stop() ( #5860 )
...
Restarting a stopped log results in creating a new log file with fresh copies of the same start records and schema data records.
Also check to see if the file has been deleted or if the log file exceeds 1.8 GB, and start a new one.
v2024.1.1-beta-3
2023-11-03 20:34:43 -07:00
Ryan Blue
2a04e12c6f
[apriltag] AprilTagFieldLayout: Add accessors for origin and field dimensions ( #5869 )
2023-11-03 20:24:23 -07:00
Ryan Blue
33e0089afb
Cleanup usages of std::function<void(void)> ( #5864 )
2023-11-03 18:22:47 -07:00
Ryan Blue
d06fa633d5
[build] Fix protobuf generation when building with make ( #5867 )
2023-11-03 18:22:34 -07:00
Ryan Blue
049732afb8
[cscore] Make camera connection logging clearer ( #5866 )
2023-11-03 16:03:23 -07:00
Bryce Roethel
87f7c19f90
[wpimath] Make InterpolatingDoubleTreeMap constructor public ( #5865 )
2023-11-03 15:34:14 -07:00
Tyler Veness
6b53ef47cf
[wpimath] Don't recreate TrapezoidProfile in ProfiledPIDController calculate() ( #5863 )
2023-11-03 15:21:58 -07:00
shueja-personal
8a3a268ae6
[commands] Add finallyDo with zero-arg lambda ( #5862 )
2023-11-03 15:21:21 -07:00
Tyler Veness
1c35d42cd0
[wpilib] Pop diagnostic for deprecated function use ( #5859 )
2023-11-03 08:34:08 -07:00
narmstro2020
ddc8db6c26
[wpimath] Add feedforward constant constructor to ElevatorSim ( #5823 )
...
Adds a subclass of ElevatorSim that uses kG, kV, and kA from sysId to simulate an Elevator.
2023-11-02 09:10:57 -07:00
Tyler Veness
c6aff2c431
[upstream_utils] Update to LLVM 17.0.4 ( #5855 )
2023-11-01 16:45:32 -07:00
Peter Johnson
a9c5b18a39
[build] Update OpenCV to 2024-4.8.0-2 ( #5854 )
...
This fixes rpath on cross-build targets to properly include $ORIGIN.
2023-11-01 09:45:40 -07:00
Kevin-OConnor
9540b6922d
[hal] Add CAN IDs for AndyMark and Vivid Hosting ( #5852 )
2023-10-31 15:59:42 -07:00
Peter Johnson
83a7d33c47
[glass] Improve display of protobuf/struct type strings ( #5850 )
2023-10-30 20:29:29 -07:00
Ryan Blue
a4a8ad9c75
[commands] Make Java SelectCommand generic ( #5849 )
...
This allows users to use any type of map and selector without needing to explicitly match
Map<Object, Command>
2023-10-30 11:09:14 -07:00
Gold856
9eecf2a456
[build] Add CMake option to build Java sources jars ( #5768 )
2023-10-30 09:57:28 -07:00
David Baucum
9536a311cb
[wpilib] Add support for the PS5 DualSense controller ( #5257 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-10-30 08:25:16 -07:00
Dustin Spicuzza
8d5e6737fc
[wpilibc] SolenoidSim: Add virtual destructor ( #5848 )
2023-10-30 08:24:11 -07:00
Peter Johnson
07e13d60a2
[ntcore] Fix write_impl ( #5847 )
...
The previous fix didn't handle all cases correctly. Instead, add a new
function to raw_ostream (SetNumBytesInBuffer) to allow always using the
full buffer size, and revamp write_impl to more cleanly handle all
cases.
2023-10-30 08:23:33 -07:00
Peter Johnson
1713386869
[wpiutil] ProtobufMessageDatabase: Fix out-of-order Add() rebuild ( #5845 )
2023-10-29 16:50:01 -07:00
Peter Johnson
35472f5fc9
[ntcore] Fix a use-after-free in client close ( #5844 )
2023-10-29 16:49:45 -07:00
Peter Johnson
ed168b522c
[ntcore] Disable buf pool when asan is enabled ( #5843 )
...
This helps asan catch more errors.
2023-10-29 16:49:31 -07:00