amquake
df45bc2d73
Re-enable OpenCV ArUco detector for AprilTags ( #916 )
...
- Fixes ArUco on picam
- Adds `ArucoPoseEstimatorPipe` for single-tag pose estimation
- Previously, `Aruco.estimatePoseSingleMarkers()` was used for tag pose estimation. This uses the default `SOLVEPNP_ITERATIVE` solver and I believe the method is removed in opencv 4.8. The `SOLVEPNP_IPPE_SQUARE` solver implemented is more appropriate for markers.
- Pipeline architecture cleanup
- Re-enables ArUco pipeline in UI
- Multi-tag support
ArUco detector support is still considered experimental at this time. This should enable a baseline of support for initial testing, but expect some quirks to remain across platforms.
2023-10-24 22:39:38 -04:00
Matt
c5b42a1191
Bump WPILib to beta 2 ( #972 )
...
---------
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-10-23 23:28:37 -04:00
Sriman Achanta
959c162fc2
[photon-client] Styling fixes ( #968 )
2023-10-21 11:09:55 -04:00
Sriman Achanta
8446c94508
[photon-client] Fix camera and pipeline name editing ( #969 )
...
closes #965
Had to disable the eslint rule that was causing the bug.
Disallows disabling driver mode when there are no other pipelines to swap to
Also adds icons for saving and canceling name edits
Adds the option to create a new pipeline in driver mode if there are no other pipelines
Adds disable prop to the driver mode switch on the camera settings page
2023-10-21 10:46:53 -04:00
Sriman Achanta
89908fc181
[photon-server] Fix journal-ctl export bug ( #970 )
...
* Update Server.java
* And this
2023-10-20 07:04:19 -05:00
Sriman Achanta
25a4f24b06
[photon-client] ATFL Settings card unit and styling fixes ( #967 )
...
* Fix ATFL settings card
* Update ApriltagControlCard.vue
2023-10-19 00:30:04 -04:00
Sriman Achanta
7f98941b23
[photon-client] Change UI naming schema from CV to PV ( #955 )
2023-10-17 16:32:59 -04:00
Matt
441caf03c0
More carefully check file creation status ( #958 )
2023-10-17 16:23:05 -04:00
Matt
47bd077bbb
Run multitag on coprocessor ( #816 )
2023-10-17 10:20:00 -04:00
Sriman Achanta
ededc4f130
Take Snapshots from PhotonClient ( #940 )
2023-10-17 09:08:25 -04:00
Sriman Achanta
1aa6bc80c9
File upload robustness ( #956 )
...
Fixes issues uploading multiple files manually
2023-10-17 09:02:13 -04:00
Sriman Achanta
cd83e220d7
[NFC] Reorgranize CI tasks into their own files ( #953 )
...
Closes #950
2023-10-16 07:58:48 -04:00
Matt
67d8680a32
Remove empty tab groups in UI ( #948 )
...
* Remove empty tab groups
* Chain list comprehension
* Further condense
* add comment
---------
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-10-15 15:11:23 -04:00
amquake
ad4f462fd6
[photon-core] [2024] Cleanup and document coordinate system conversion ( #894 )
...
* cleanup and document coordinate conversion
* spotless
* bump wpilib version
* coordinate conversion tests
* fix/document SolvePNPPipe models and corners
* format
* run lint
---------
Co-authored-by: Matthew Morley <matthew.morley.ca@gmail.com >
2023-10-15 13:46:55 -04:00
Matt
7f94962791
Build photonlib json first ( #952 )
2023-10-15 13:45:30 -04:00
amquake
c8c9e779ab
[photon-core] 2D Detection data accuracy ( #896 )
...
Use calibration data for 2d target info when available (principal point, FOV)
Correct perspective distortion in 2d yaw/pitch info
2023-10-15 13:44:47 -04:00
Sriman Achanta
760de0ff86
[photon-core] [NFC] Code Cleanup, spelling, and grammar ( #945 )
2023-10-15 12:31:23 -04:00
Matt
9991f8670c
Bump wpilib versions to 2024 beta 1 ( #947 )
2023-10-15 12:17:40 -04:00
amquake
82e3da622f
[examples] Re-organize simaimandrange ( #937 )
2023-10-14 20:56:23 -07:00
Sriman Achanta
8b9a198d0b
[photon-client] Fix imports and simplify process of updated pipeline settings in store ( #946 )
...
* Update CameraSettingsStore.ts
* Fix imports
2023-10-11 15:31:50 -07:00
Matt
b37948cf5e
Fix function argument types for file upload ( #939 )
2023-10-10 23:55:48 -04:00
amquake
5f3b5d2f19
Remove unused MathUtils.orthogonalizeRotationMatrix() ( #944 )
2023-10-10 07:12:03 -04:00
Sriman Achanta
0e06737272
move javalinVersion to a global version ( #942 )
2023-10-10 05:06:59 -04:00
Matt
43b78fae35
Remove un-needed NM-dbus dep ( #919 )
2023-10-10 04:36:02 -04:00
Matt
6e8e3a0cba
[OpenCVHelp] Use correct Rotation3d constructor ( #934 )
...
This fixes a occasional division by zero
2023-10-09 09:44:45 -04:00
amquake
2881741226
Fix false-positive vision estimation edgecase ( #932 )
...
> there is a problem if the found tags are a valid one plus an invalid tag, so eg it sees a tag but finds noise on the wall, and so lists tags 2 and 15. Lines 90-99 will ignore tag 15, and put 4 corners into the list. It will get past the test on line 100 (there are 4 corners). BUT then at line 106, there are 2 entries in visTags, so it will go to the "else" and try to use solvePNP_SQPNP().
2023-10-07 20:59:19 -04:00
amquake
74f1779961
Fix example readme backlinks ( #931 )
2023-10-06 08:54:47 -04:00
Sriman Achanta
b3a3ab71bd
Javalin v5 bump ( #930 )
2023-10-05 18:22:56 -04:00
amquake
ce0d28da93
Update Java Simulation Examples ( #913 )
...
Removes apriltagExample and simposeest, replacing them with swervedriveposeestsim
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-10-05 08:57:38 -04:00
Sriman Achanta
65d5494ab3
update ui ci names and levels ( #929 )
2023-10-01 21:28:07 -04:00
Sriman Achanta
5267b2c70d
Temp fix to revert to hash URLs ( #927 )
2023-09-27 22:52:19 -04:00
amquake
3c85291610
Pi startup fix ( #923 )
2023-09-27 21:37:27 -04:00
Sriman Achanta
43eefcf1c5
Correctly stringify numbers in textboxes ( #921 )
...
* fix an issue where the fov isnt reset on error
* Fix issue with incorrectly reading fov on update
* Properly handle NPE in case of error
* Fix issue with vuetify comps not converting strings to numbers
* Formatting fixes
2023-09-26 08:02:18 -04:00
amquake
2cb87c5a88
Add Github Action check to make sure template UI is unchanged ( #918 )
2023-09-24 18:04:17 -04:00
Ryan Blue
9d0f1a34a8
Use MemAvailable rather than MemFree ( #914 )
...
Fixes linux metrics reporting to report mem free before swap starts, instead of physical unused ram
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
2023-09-23 10:36:38 -04:00
amquake
7f283640c4
[photonlib] Simulation Visualization Update ( #895 )
2023-09-19 19:10:04 -04:00
Mohammad Durrani
9e371de1cb
Remove casts to double in SetLEDMode and set pipeline ( #906 )
...
* Remove casts to double
* Run wpiformat
2023-09-16 10:17:28 -04:00
Ryan Blue
9f3a735c59
Fix spotless divergence for FilterContoursPipe ( #908 )
...
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-09-12 06:57:01 -04:00
Matt
6e8e379b71
[photon-lib] Fix camera/distortion matrix mixup in C++ ( #909 )
2023-09-12 06:56:38 -04:00
Ryan Blue
f601275fb2
Only print publish URL for publish tasks ( #907 )
...
& fix spelling mistake
2023-09-07 20:35:26 -04:00
Matt
306677e56f
Advanced networking settings ( #899 )
...
Exposes NetworkManager interface name and more robustly handles device/interface names internally.
---------
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-09-01 15:58:35 -04:00
Sriman Achanta
08892b9e68
UI patches ( #905 )
...
- Show 0 clients when NT server props are undefined
- Add Prettier
---------
Co-authored-by: Matthew Morley <matthew.morley.ca@gmail.com >
2023-08-31 16:56:58 -04:00
Ryan Blue
de394418f6
Improve docs for PhotonPoseEstimator ( #901 )
...
In particular, document that update() ensures that new data is only used once.
2023-08-30 18:49:26 -04:00
Sriman Achanta
8751764721
Update GeneralSettingsStore.ts ( #900 )
2023-08-22 15:34:45 -07:00
Matt
2f2396fe57
Fix frontend spelling of shouldManage ( #898 )
2023-08-21 16:47:28 -04:00
Sriman Achanta
fd8f16b615
Update index.html ( #897 )
2023-08-21 08:13:45 -07:00
Sriman Achanta
f623e4a1cc
[PhotonClient] Vite and Typescript complete refactor ( #884 )
2023-08-20 22:51:35 -07:00
Sriman Achanta
8397b43bef
Add photon-sever/lib to .gitignore ( #890 )
...
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-07-29 17:31:50 -04:00
Craig Schardt
24a0c9c270
Use correct package name ( #891 )
2023-07-27 07:24:12 -07:00
Matt
652a653c9a
DIsable Mac photonlib builds ( #889 )
2023-07-25 08:41:52 -07:00