Matt
d92f17b014
[apriltag] Fix AprilTagDetector cols/stride mixup ( #7415 )
2024-11-20 17:00:08 -08:00
Peter Johnson
f620141e0d
[wpiutil] Replace LLVM StringMap impl with std::map
...
As string_view operations on std::map<std::string> won't be integrated
until C++26, placeholder implementations are used which are less efficient
in a couple of situations (e.g. insert with hint).
2024-10-31 22:04:13 -07:00
Tyler Veness
554024767e
Fix errors from new cpplint.py ( #7105 )
2024-09-20 17:43:39 -07:00
Joseph Eng
1f3ef019ce
[wpiutil] Return wpi::expected from MemoryBuffer::GetFile ( #7069 )
2024-09-12 23:45:35 -07:00
Ryan Blue
b38e06c7cb
[upstream_utils] Upgrade apriltag to latest master (take 2) ( #7018 )
2024-09-04 09:12:51 -05: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
Ryan Blue
9eb8400f6c
[upstream_utils] Revert “Upgrade apriltag to latest master ( #6995 )" ( #7000 )
...
This reverts commit ba200df8be .
2024-08-24 06:50:32 -07:00
Ryan Blue
ba200df8be
[upstream_utils] Upgrade apriltag to latest master ( #6995 )
2024-08-23 07:04:29 -07:00
Gold856
2892733e33
[apriltag] Try loading debug OpenCV if release version fails ( #6949 )
2024-08-11 13:19:31 -07:00
Jade
eda63dc162
[upstream_utils] Add AprilTag library ( #6816 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-20 22:12:49 -07:00
Tyler Veness
e9efb05cd3
[wpilibj] Fix this-escape warnings from JDK 21 ( #6856 )
2024-07-18 22:43:55 -07:00
Gold856
8d857cdb78
[apriltag] Improve AprilTagDetector default config ( #6847 )
2024-07-18 21:06:37 -07:00
Gold856
b0cc84a9c7
[build] Upgrade to PMD 7.2.0 ( #6718 )
2024-06-08 22:08:23 -07:00
Gold856
b99d9c1710
Use Java 17 features ( #6691 )
...
Uses enhanced instanceof (and simplify equals methods)
Uses switch expressions and arrow labels
Seal and finalize some Shuffleboard classes
Co-authored-by: Sam Carlberg <sam@slfc.dev >
2024-06-04 21:09:10 -07:00
Jade
6220c6be4d
[wpiutil] Remove RuntimeDetector and simplify RuntimeLoader ( #6600 )
2024-05-24 10:48:59 -07:00
Tyler Veness
e172aa66f7
[wpimath] Java: add static instantiations of common rotations ( #6563 )
...
C++ doesn't need this because it supports value types, which are much
cheaper to construct. constexpr is also available to make construction
zero-cost.
2024-05-03 12:39:35 -07:00
Joseph Eng
d4e6a068ac
[apriltag] Deprecate loadAprilTagLayoutField() ( #6550 )
2024-04-27 21:04:30 -07:00
Ryan Blue
b620b6a4dd
[apriltag] Cache layout loaded from AprilTagFields resource json ( #6385 )
2024-04-21 22:36:22 -07:00
Joseph Eng
0ad6b3acb3
[apriltag] Add AprilTagFieldLayout.loadField() ( #6377 )
2024-02-17 21:12:59 -08:00
Tyler Veness
d4d0545dc1
[apriltag] Fix field length in 2024 JSON ( #6373 )
...
Fixes #6371
2024-02-15 10:42:03 -08:00
Tyler Veness
4809f3d0fc
[apriltag] Add 2024 AprilTag locations ( #6168 )
2024-01-06 12:50:27 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00
m10653
01fb98baaa
[docs] Add Missing JNI docs from C++ (NFC) ( #6139 )
2024-01-02 20:13:46 -08:00
Tyler Veness
ad0859a8c9
[docs] Add missing JavaDocs ( #6125 )
2024-01-01 22:56:23 -08:00
Peter Johnson
5659038443
[wpiutil,cscore,apriltag] Fix RawFrame ( #6098 )
2023-12-26 22:05:02 -06:00
Drew Williams
bcef6c5398
[apriltag] Fix Java generation functions ( #6063 )
2023-12-22 11:03:02 -08:00
Tyler Veness
192a28af47
Fix JDK 21 warnings ( #6028 )
2023-12-09 21:45:02 -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
Drew Williams
ca81ced409
[wpiutil] Move RawFrame to wpiutil; add generation of RawFrame for AprilTags ( #5923 )
2023-11-23 10:55:10 -08:00
Joseph Eng
79dd795bc0
[wpimath] Clean up VecBuilder and MatBuilder ( #5906 )
2023-11-14 12:23:50 -08:00
Gold856
d504639bbe
[apriltag] Improve AprilTag docs ( #5895 )
2023-11-08 12:48:52 -08: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
Drew Williams
04a781b4d7
[apriltag] Add GetTags to C++ version of AprilTagFieldLayout ( #5872 )
2023-11-04 10:26:07 -07:00
Ryan Blue
2a04e12c6f
[apriltag] AprilTagFieldLayout: Add accessors for origin and field dimensions ( #5869 )
2023-11-03 20:24:23 -07:00
PJ Reiniger
210255bfff
[wpiutil] Update json to 3.11.2 ( #5680 )
2023-10-14 21:53:56 -07:00
PJ Reiniger
dd5612fbee
[json] Add forward definition header ( #5676 )
2023-09-22 13:01:27 -07:00
Tyler Veness
5ab54ff760
Replace wpi::raw_istream with wpi::MemoryBuffer ( #5675 )
...
Instances of wpi::raw_istream were left that are reading incrementally
from file descriptors like USB devices.
2023-09-21 23:20:09 -07:00
Ryan Blue
43a727e868
[apriltag] Make loadAprilTagFieldLayout throw an unchecked exception instead ( #5629 )
...
This eliminates the need for users to wrap initialization of the fields in a try/catch.
2023-09-15 14:25:21 -07:00
Tyler Veness
99f66b1e24
[wpimath] Replace frc/EigenCore.h typedefs with Eigen's where possible ( #5597 )
2023-08-31 11:03:37 -07:00
Tyler Veness
8e2a7fd306
Include thirdparty libraries with angle brackets ( #5578 )
2023-08-28 15:13:34 -07:00
Joseph Eng
2e4ad35e36
[wpiutil] jni_util: Add JSpan and CriticalJSpan ( #5554 )
...
These replace JArrayRef et al and support statically sized arrays similar to std::span.
2023-08-24 00:02:56 -07:00
Thad House
b8cdf97621
[build] Prepare for Windows arm64 builds ( #5390 )
...
Builds aren't actually enabled yet due to a bug in Gradle.
2023-07-24 22:46:25 -07:00
sciencewhiz
4af84a1c12
Fix Typos (NFC) ( #5137 )
2023-02-26 15:06:37 -08:00
Brennen Puth
3b084ecbe0
[apriltag] AprilTagFieldLayout: Improve API shape for loading builtin JSONs ( #4949 )
2023-01-18 20:42:39 -08:00
Starlight220
bd6479dc29
[build] Add Spotless for JSON ( #4956 )
2023-01-16 08:26:46 -08:00
bovlb
530ae40614
[apriltag] Explain what April tag poses represent (NFC) ( #4930 )
2023-01-11 11:42:30 -08:00
Matt
babb0c1fcf
[apriltag] Add 2023 field layout JSON ( #4912 )
2023-01-08 16:30:45 -08:00
Sriman Achanta
92149efa11
Spelling and grammar cleanups ( #4849 )
2022-12-26 11:32:13 -08: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
Thad House
17ceebfff4
[apriltag] Clean up apriltag JNI ( #4823 )
2022-12-19 21:06:36 -08:00