Sam Carlberg
f1dde8895e
[build] Use project configured groupId in generated output artifact names ( #7095 )
...
Instead of hardcoding to use the project name after edu_wpi_first, which broke epilogue publishing
This did not affect local maven publishing, since it does not use those specially named and configured artifacts
v2025.0.0-alpha-2
2024-09-18 20:44:01 -07:00
sciencewhiz
0df82da7e6
[build] Update vendordeps frcyear to 2025 ( #7087 )
2024-09-18 19:07:02 -07:00
Jade
cea8684895
[build] Update native utils ( #7029 )
2024-09-16 18:59:00 -07:00
Ryan Blue
777f07edfd
[wpilibc] Solenoid classes: Make methods non-virtual ( #7080 )
2024-09-16 18:36:04 -07:00
Ryan Blue
b93160d7ba
[wpiutil] Fix MSVC warning in parse_integer ( #7082 )
...
```
warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
```
2024-09-14 14:49:08 -07:00
Ryan Blue
64df5e21c0
[build] cmake: Fix libssh search on windows ( #7081 )
...
This uses the package config files provided by libssh rather than the module file.
2024-09-14 14:47:12 -07:00
Peter Johnson
994af25fcf
[wpiutil] StringLogEntry::Update(): Take string_view ( #7074 )
2024-09-12 23:45:57 -07:00
Joseph Eng
1f3ef019ce
[wpiutil] Return wpi::expected from MemoryBuffer::GetFile ( #7069 )
2024-09-12 23:45:35 -07:00
Tyler Veness
d44b651558
[build] Make Protobuf optional in CMake build ( #7061 )
2024-09-12 23:44:19 -07:00
Jade
b9409a4bcf
[xrp] Add GetRotation2d to Gyro ( #7034 )
2024-09-12 22:16:00 -07:00
Gold856
3bbbf86632
[wpiutil, wpilib] Add FileLogger and log console output ( #6977 )
2024-09-12 22:13:06 -07:00
Ryan Blue
32252f7d6a
[upstream_utils] Import argparse to wpiutil ( #7071 )
2024-09-12 20:10:43 -07:00
Ryan Blue
97c6c86f3b
[upstream_utils] Import ConcurrentQueue to wpiutil ( #7066 )
2024-09-10 23:12:22 -07:00
Peter Johnson
21cbb68465
[ci] Run expected.py as part of upstream-utils ( #7068 )
2024-09-10 19:56:15 -07:00
Jade
874d8a8dd4
[wpiutil] Remove ConcurrentQueue ( #7063 )
...
Its unused and mutexed which makes it less useful to future usecases
2024-09-10 07:08:25 -07:00
Thad House
dcce108b75
[hal] Correct maximum length of DS console send ( #7057 )
2024-09-08 22:00:04 -07:00
Ryan Blue
43c2409366
[ci] Add cmake cache repo to nightly cleanup ( #7059 )
2024-09-08 21:45:45 -07:00
Ryan Blue
5d68f0c11a
[ci] Fix CMake caching to Artifactory ( #7058 )
2024-09-08 20:51:25 -07:00
Ryan Blue
34e4587121
[ci] Move nightly cleanup task to monorepo ( #7050 )
2024-09-08 17:31:55 -07:00
Peter Johnson
7c85c33666
[ntcore] Avoid duplicate addition of publishers in server ( #7052 )
...
We emitted a warning but went on to do unsafe things. This could cause a delayed crash.
2024-09-08 10:36:00 -07:00
Peter Johnson
306e190f78
[ntcore] Fix client unpublish outgoing queue ( #7051 )
...
The unpublish message must be sent on the outgoing queue before the handle
indicating which queue to use is erased.
2024-09-08 10:35:41 -07:00
Peter Johnson
7bdecab729
[ntcore] Fix unpublishing on client disconnect ( #7042 )
2024-09-08 10:35:05 -07:00
Jade
cd9922af49
[wpilib] Add getVoltage to PWMMotorController ( #6044 )
2024-09-07 22:24:51 -07:00
Wispy
6e8feb154c
[wpimath] Add more support for wpiunits in the geometry classes ( #6587 )
2024-09-07 22:23:19 -07:00
Ryan Blue
7f6f19eef4
[ci] Use artifactory for sccache backend ( #7049 )
2024-09-07 22:21:56 -07:00
Ryan Blue
161dfefb4d
[docs] Add romi and xrp to docs build ( #7045 )
2024-09-07 22:21:16 -07:00
Ryan Blue
0cab7b5204
[wpilibj] AnalogEncoder: fix documentation ( #7043 )
...
configureRolloverCounting was added and removed as part of the absolute encoder overhaul, this reference was left dangling
2024-09-07 20:43:15 -07:00
Ryan Blue
dc68576834
[docs] Exclude eigen/unsupported from docs build ( #7046 )
2024-09-07 20:42:41 -07:00
Bryce Roethel
115ffa3396
[epilogue] Add Epilogue.update() ( #7047 )
...
Currently, users can only invoke Epilogue via Epilogue.bind(TimedRobot). This PR adds a new method Epilogue.update(TimedRobot) so that Epilogue can manually called, in case a user is seeking more deterministic timing of their logs in reference to their control loops.
2024-09-07 19:59:49 -07:00
Joseph Eng
c8dab95ea7
[upstream_utils] Rename expected's detail namespace to detail_expected ( #7048 )
...
Previously, both wpi/expected and JSON's cpp_future.h would define enable_if_t and conjunction in wpi::detail, leading to conflicts if both were included in the same cpp source file. By renaming the namespace wpi/expected uses, there is no longer a conflict.
2024-09-07 19:59:20 -07:00
Sam Carlberg
a9b885070e
[wpiunits] Java units API rewrite ( #6958 )
...
Java generics are too limited to do what we need. This refactors generic code previously in Unit and Measure into unit-specific classes that can have unit-safe math operations (notably, times and divide) that can return values in known units instead of a wildcarded Measure<?>.
Unit-specific measure implementations are automatically generated by ./wpiunits/generate_units.py, which generates generic interfaces and mutable and immutable implementations of those interfaces. These make up the bulk of the diff of this PR (approximately 9300 LOC).
This also adds units for angular and linear velocities, accelerations, and momenta; moment of inertia; and torque.
2024-09-07 10:59:29 -07:00
Ryan Blue
496e7c1bba
[hal] Refactor C++ handle closing; check for invalid handle before closing ( #7016 )
...
Adds a close function pointer template parameter to hal::Handle. This allows default destructors in many places.
The status parameter has been removed from close functions; in most places it was not used. Where it was, an error is printed instead.
2024-09-07 10:58:15 -07:00
Jade
80f3813908
[xrp] Cleanup gyro docs ( #7033 )
2024-09-07 10:53:49 -07:00
Ryan Blue
2aef60d49c
[ci] Check for full repository name in actions ( #7038 )
...
This allows forks of allwpilib owned by wpilibsuite to exist without patching the workflows.
2024-09-07 10:53:23 -07:00
Ryan Blue
46e64e2dcb
[ci] Bump MACOSX_DEPLOYMENT_TARGET to 13.3 ( #7035 )
2024-09-07 10:52:41 -07:00
Brandon Shen
3ad35a5753
[epilogue] Log internal debug data to the configured logger instead of NT ( #7040 )
2024-09-07 10:52:21 -07:00
Ryan Blue
b38e06c7cb
[upstream_utils] Upgrade apriltag to latest master (take 2) ( #7018 )
2024-09-04 09:12:51 -05:00
Ryan Blue
86f1bfd710
[wpilibc] Make SPI methods non-virtual ( #7019 )
2024-09-04 09:12:06 -05:00
Thad House
0b0c7c88ee
[build] cmake: Add 4324 to ignored MSVC warnings ( #7028 )
...
4324 is issued at /W4 if alignas forces padding. Makes it impossible to use SmallVector from something compiled in /W4. Add it to the warning exclusion list.
2024-09-03 14:31:38 -05:00
Jade
495c371ce7
[glass] NetworkTables provider: Add immediate flag to listener ( #7013 )
2024-08-31 09:44:52 -07:00
Ryan Blue
9d6bee1d1e
[build] cmake: Add meta target for examples and example tests ( #7015 )
...
Also prefix example test targets with Example_ to make running tests easier
2024-08-29 14:03:41 -07:00
Ryan Blue
5f7b2aefb1
[ci] Check and free disk space on macos ( #7014 )
2024-08-29 06:30:17 -07:00
Ryan Blue
dc18f71004
[wpilibc] Refactor AnalogTrigger to use shared_ptr ( #7010 )
2024-08-28 21:34:28 -07:00
Ryan Blue
c9ad26b723
[hal] Remove incorrect parameter directions on a few functions (NFC) ( #7011 )
2024-08-28 06:30:39 -07:00
Ryan Blue
9f3da8de1b
[hal] Correct warning suppression and note in SimDataValue.h ( #7009 )
2024-08-27 17:07:46 -07:00
Ryan Blue
9aef00340a
[build] cmake: Put protobuf symbol export files in per-config directories ( #6997 )
2024-08-27 17:06:16 -07:00
Gold856
9c35aa6bbf
[build] Remove redundant _M_ prefix from artifact file name ( #6983 )
2024-08-27 17:05:29 -07:00
David Vo
0352a60f38
Override getMessage in Exceptions instead of toString ( #7002 )
...
Fixes https://errorprone.info/bugpattern/OverrideThrowableToString
2024-08-26 17:32:32 -07:00
Gold856
1daff9193c
[wpilibc] Add missing deprecated HID sim methods ( #7005 )
2024-08-26 17:32:09 -07:00
David Vo
dbeab8bdd7
Read text input streams as UTF-8 in Java ( #6999 )
...
Fixes https://errorprone.info/bugpattern/DefaultCharset for InputStreamReader instances.
2024-08-24 09:05:00 -07:00