Starlight220
79f565191e
[examples] DigitalCommunication, I2CCommunication: Add tests ( #4865 )
2023-01-08 16:33:53 -08:00
Starlight220
2cd9be413f
[wpilib, examples] Cleanup PotentiometerPID, Ultrasonic, UltrasonicPID examples ( #4893 )
...
Fix C++ Ultrasonic to return correct units.
2023-01-08 16:33:07 -08:00
Matt
babb0c1fcf
[apriltag] Add 2023 field layout JSON ( #4912 )
2023-01-08 16:30:45 -08:00
ohowe
330ba45f9c
[wpimath] Fix swerve kinematics util classes equals function ( #4907 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-01-08 16:29:35 -08:00
sciencewhiz
51272ef6b3
[fieldImages] Add 2023 field ( #4915 )
2023-01-08 16:28:25 -08:00
Starlight220
0d105ab771
[commands] Deduplicate command test utils ( #4897 )
2023-01-08 07:44:53 -08:00
Tyler Veness
cf4235ea36
[wpiutil] Guard MSVC pragma in SymbolExports.h ( #4911 )
...
MinGW gives an unknown pragma warning on Windows.
2023-01-07 16:41:40 -08:00
Ryan Blue
2d4b7b9147
[build] Update opencv version in opencv.gradle ( #4909 )
2023-01-06 18:09:58 -08:00
Peter Johnson
aec6f3d506
[ntcore] Fix client flush behavior ( #4903 )
...
We need to ignore per-publisher send periods when flushing.
Also fix NT4 client to use flush async's (same as NT3 client).
2023-01-04 23:36:26 -08:00
Peter Johnson
bfe346c76a
[build] Fix cmake java resources ( #4898 )
...
These need to be relative paths, but GLOB generates absolute paths by
default.
2023-01-04 08:16:47 -08:00
Ryan Blue
83f1860047
[wpilib] Add/update documentation to PneumaticBase and subclasses (NFC) ( #4881 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
v2023.1.1
2023-01-02 10:23:59 -08:00
Dustin Spicuzza
9872e676d8
[commands] Make Subsystem destructor virtual ( #4892 )
...
C++ best practice if there are other functions that are virtual.
2023-01-02 07:59:12 -08:00
Dustin Spicuzza
25db20e49d
[hal] Fix segfault in various HAL functions ( #4891 )
2023-01-01 23:19:04 -08:00
ohowe
b0c6724eed
[glass] Add hamburger menu icon to titlebars ( #4874 )
...
This does the same thing as right clicking, but provides a visual indicator.
The icon disappears if the window is too small or docked (right click keeps working).
2023-01-01 20:05:09 -08:00
Tyler Veness
f0fa8205ac
Add missing compiler flags and fix warnings ( #4889 )
...
This makes the build fail on warnings. It caught two out-of-bounds reads
and a deprecation warning.
2023-01-01 08:14:19 -08:00
Dustin Spicuzza
42fc4cb6bc
[wpiutil] SafeThread: Provide start/stop hooks ( #4880 )
...
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2022-12-31 15:40:45 -08:00
Sriman Achanta
cc166c98d2
[templates] Add Command-based skeleton template ( #4861 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2022-12-31 13:18:43 -08:00
Thad House
3f51f10ad3
[build] Update to 2023v3 image ( #4886 )
2022-12-31 13:16:41 -08:00
Peter Johnson
1562eae74a
[ntcore] Refactor meta-topic decoding from glass ( #4809 )
2022-12-31 12:01:51 -08:00
Thad House
b632b288a3
Fix usages of std::min and std::max to be windows safe ( #4887 )
2022-12-31 12:00:45 -08:00
Dustin Spicuzza
c11bd2720f
[wpilibc] Add internal function to reset Shuffleboard instance ( #4884 )
...
Needed for RobotPy test framework.
2022-12-31 10:43:48 -08:00
Peter Johnson
f1151d375f
[ntcore] Add method to get server time offset ( #4847 )
...
Also exposes this as an event signaled when the offset is updated due to
a ping response from the server.
2022-12-30 20:15:57 -08:00
Ryan Blue
fe1b62647f
[hal,wpilib] Update documentation for getComments (NFC) ( #4879 )
2022-12-30 04:15:37 -08:00
Thad House
c49a45abbd
[build] Fix examples linking in incorrect jni library ( #4873 )
2022-12-29 08:07:59 -06:00
Griffin Della Grotte
bc3d01a721
[build] Add platform check to doxygen plugin ( #4862 )
...
This allows the build to work on aarch64 and other platforms without downloadable doxygen binaries.
2022-12-27 22:43:21 -06:00
Ryan Blue
bc473240ae
Add Jetbrains Fleet folder to .gitignore ( #4872 )
2022-12-27 22:41:13 -06:00
Tyler Veness
2121bd5fb8
[wpimath] Remove RKF45 ( #4870 )
...
RKDP is strictly better in terms of accuracy per unit of work. We used
RKF45 for sim physics in the 2021 season, but we transitioned to RKDP
before the 2022 season.
2022-12-27 19:29:59 -06:00
Griffin Della Grotte
835f8470d6
[build] Fix roborio cross-compiler on arm hosts ( #4864 )
2022-12-27 10:26:53 -08:00
Peter Johnson
6cfe5de00d
[ntcore] Don't deadlock server on early destroy ( #4863 )
...
It was possible to deadlock on instance destroy if the server had started
but had not yet fully initialized its handles.
2022-12-27 10:25:48 -08:00
Ryan Blue
2ac41f3edc
[hal, wpilib] Add RobotController.getComments() ( #4463 )
2022-12-26 11:39:51 -08:00
Sriman Achanta
26bdbf3d41
Java optimization and formatting fixes ( #4857 )
2022-12-26 11:37:53 -08:00
Sriman Achanta
92149efa11
Spelling and grammar cleanups ( #4849 )
2022-12-26 11:32:13 -08:00
Ryan Blue
176fddeb4c
[commands] Add functions to HID classes to allow use of axes as BooleanEvents/Triggers ( #4762 )
2022-12-26 11:29:14 -08:00
Starlight220
87a34af367
[templates] Add bindings to command-based template ( #4838 )
2022-12-26 11:28:06 -08:00
Starlight220
4534e75787
[examples] Remove redundant MotorControl example ( #4837 )
...
The MotorControlEncoder had the exact same content, with the addition of an encoder. No point in having both examples.
2022-12-26 11:27:20 -08:00
Griffin Della Grotte
1cbebaa2f7
[commands] Remove final semicolon from test macro definition ( #4859 )
2022-12-26 00:14:59 -06:00
Ryan Blue
6efb9ee405
[commands] Add constructor for SwerveControllerCommand that takes a HolonomicDriveController ( #4785 )
...
Also adds copy and move constructors to HolonomicDriveController.
2022-12-25 18:48:27 -08:00
Thad House
1e7fcd5637
[cscore] Change run loop functions to not be mac specific ( #4854 )
2022-12-25 13:37:59 -06:00
Peter Johnson
1f940e2b60
[apriltag] Add C++ wrappers, rewrite Java/JNI to match ( #4842 )
...
This provides a consistent class-based interface to the underlying C
library from both C++ and Java.
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2022-12-25 08:15:43 -08:00
Starlight220
a6d127aedf
[build] Add missing task dependency in wpilibjExamples ( #4852 )
2022-12-25 07:37:10 -08:00
Thad House
b893b3d6d3
[cscore] Add support for USB cameras on macOS ( #4846 )
...
The main restriction is there must be an event loop running on the main thread.
No special action is required for GUI applications, but for non-GUI applications, a
RunOsxRunLoop() function is provided that needs to be called from the main thread.
2022-12-25 07:36:00 -08:00
Peter Johnson
1696a490fa
[glass] Add support for alternate NT ports ( #4848 )
2022-12-24 20:18:07 -06:00
Peter Johnson
40a22d69bc
[glass] Add support for alternate NT ports ( #4848 )
2022-12-24 20:17:45 -06:00
Sriman Achanta
e84dbfede0
[wpilib] GenericHID: Add rumble both option ( #4843 )
2022-12-24 11:28:52 -08:00
CarloWoolsey
8aa9dbfa90
[examples] Link apriltag package in examples build.gradle ( #4845 )
2022-12-23 20:04:59 -06:00
Ryan Blue
eda2fa8a17
[build] Update Spotless ( #4840 )
...
Removes JVM args workaround needed for old version of spotless to run on JDK 17.
2 files had formatting updates.
2022-12-21 08:54:41 -06:00
sciencewhiz
d20594db0d
Fix typos ( #4839 )
2022-12-21 08:53:00 -06:00
Ryan Blue
dd8ecfdd54
[commands] Fix typo in waitUntil docs (NFC) ( #4841 )
2022-12-21 08:24:25 -06:00
Thad House
17ceebfff4
[apriltag] Clean up apriltag JNI ( #4823 )
2022-12-19 21:06:36 -08:00
Ryan Blue
8b74ab389d
[examples] RapidReactCommandBot: Fix array indices ( #4833 )
2022-12-18 16:54:37 -06:00