Devon Doyle
e40c8fbca0
Calibration card and PV input styling ( #1695 )
...
Images are before and after comparison.
Does the following:
- Fixes several styling issues with pv-* input elements, including top
padding, vertical alignment, and allocated input width


- Conforms the calibration details modal to overall styling and spacing
standards


(left the blank table there on empty calibrations to give the user a
sense of what they might see if they don't have any)
2025-01-08 16:46:31 -05:00
Sam Freund
27684eef60
Add custom models ( #1687 )
2025-01-08 11:44:06 -07:00
Jochem
cc740c92c9
Added constructor overload to PhotonCameraSim for AprilTagFieldLayout ( #1692 )
2025-01-08 11:43:46 -07:00
Jade
e673304221
Use pragma once ( #1693 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-01-09 00:49:53 +08:00
Matt Morley
974fcec21e
Cancel previous GH commit jobs ( #1690 )
2025-01-08 09:24:49 -07:00
Sam Freund
36e3a1f72e
Update references in docs to 2025 ( #1685 )
...
Fixes #1651
2025-01-07 15:38:20 -07:00
Craig Schardt
5993e79e00
Update images to v2025.0.0 ( #1680 )
...
Use the shiny new images for 2025.
2025-01-07 13:00:52 -05:00
Devon Doyle
484e8d4298
General UI Refinements ( #1678 )
...
Does the following:
- Adjusts the shade of red buttons and banners to increase readability
and reduce eye strain


- Cleans up factory reset and camera deletion modals


- Removes matchCamerasOnlyByPath as it is no longer used and throws
errors in the console

- Limits the criteria to flag a camera mismatch in Camera Matching to
only what is necessary based on camera type and highlights differences
in table properties (testing on this is appreciated)

- Only displays both saved vs. current info in camera matching if there
is a difference between the two

- Some general code cleanup (reduced unnecessary padding/margin/row-col
statements, style="display:flex;" -> class="d-flex", etc.
- Moves Compact Mode button to the bottom away from all the menu items
(cleaner imo, open to thoughts)
- Establishes a general spacing format for cards and pages and applies
this to existing cards and pages to create a consistent look and feel to
the UI (e.g. keeping things in line and less erratic spacing/placement
of UI elements)




- Delete protection for camera matching modules
- Anti-backend-spam for activate/deactivate/delete modules to hopefully
prevent any odd behavior from button spamming
- Enforces a common camera stream size on camera matching view (NEEDS
MORE TESTING)

https://private-user-images.githubusercontent.com/29715865/400783758-dc99c151-b8a7-4367-a173-74c2fc5b2666.mp4?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYyNTc3NzEsIm5iZiI6MTczNjI1NzQ3MSwicGF0aCI6Ii8yOTcxNTg2NS80MDA3ODM3NTgtZGM5OWMxNTEtYjhhNy00MzY3LWExNzMtNzRjMmZjNWIyNjY2Lm1wND9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTA3VDEzNDQzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwOWM1MDc2ZTVlOWZhM2MxYjAwZjAyZTc2MTYyZTk1ZTVmOGFhZmVkMzlmODRlZTk1ODVlOTk2ZGQzZmM0Y2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ovtRnObwbkEfljr9d5fqaory0nH91LWJSSkmrUUe_4Y
2025-01-07 08:45:39 -05:00
Cameron (3539)
fa2034d30b
Unique path is not constant ( #1681 )
2025-01-06 00:00:55 -05:00
Craig Schardt
a84d681782
Fix exception thrown when isUp() is called on an unavailable network interface ( #1679 )
2025-01-04 00:45:57 -05:00
Cameron (3539)
ab844a77b8
Remove camera index in ui ( #1677 )
...
With the new camera matching, this is SUPER BAD! Convert to using camera
uuid.
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2025-01-03 15:50:25 -08:00
Chris Gerth
6c7a174424
Adding timeSyncServer for Python ( #1675 )
2025-01-03 12:23:27 -06:00
Craig Schardt
474e4f07f8
Refined network management ( #1672 )
...
This PR implements several refinements to the way that NetworkManager
controls the network interface.
- The monitor detects and logs changes to the network address
- The monitor detects and logs changes to the connection and will
reinitialize the connection if needed
- Remove NetworkInterface.java class, which wasn't used anywhere
- Use java.net.NetworkInterface to get IP addresses for any interface
(device)
- Adds a metric for the current IP address (address on the currently
selected interface)
2025-01-03 08:29:18 -06:00
Jade
7c254ec5dc
Change from k2024Crescendo to kDefaultField for AprilTagFieldLayout ( #1667 )
...
This reduces the things we need to update each year
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2025-01-03 22:03:00 +08:00
Chris Gerth
09a741f540
2025 Doc Cleanup ( #1650 )
2025-01-02 22:44:50 -05:00
Jade
a540d2dd3f
[build] Update to stable WPILib ( #1674 )
2025-01-02 12:13:38 -05:00
Jade
3f8c406898
[github] Request review from docs team for docs PRs ( #1668 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-01-02 03:47:40 +08:00
Cameron (3539)
6065a3d70c
Fix CSI camera exposure setting ( #1665 )
...
Adjusts the exposure setting of csi cameras to match that of USB
cameras. If you set a manual exposure it will drop out of auto exposure.
2025-01-01 14:21:54 -05:00
Cameron (3539)
34e9d5084c
Add arducam model warning ( #1669 )
...

2025-01-01 14:18:44 -05:00
Cameron (3539)
a56101197a
Add tooltip to calibration data table ( #1670 )
...
Help make it clearer for people to click on the table.

2025-01-01 14:18:25 -05:00
Jade
2a82393c8e
Fix googletest dependency ( #1666 )
...
This was rendered useless when googletest was added to the allwpilib
monorepo https://github.com/wpilibsuite/allwpilib/pull/6820
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-01-02 02:01:01 +08:00
oh-yes-0-fps
418eada0b5
Convert to user selected camera matching ( #1556 )
2025-01-01 03:04:20 -05:00
Jade
b2e70a7257
Remove photonvision docs repo ( #1649 )
2024-12-29 17:44:16 -05:00
Nolan Brown
b7a2636e97
[photon-lib] Fix sim tag ambiguity ( #1653 )
2024-12-29 17:43:55 -05:00
Matt
d0e5e169cc
Fix Aruco leak + remove old tag families ( #1661 )
...
- Remove 16h5
- Fix leak in ArucoPoseEstimatorPipe
2024-12-27 20:14:30 -05:00
Matt
7e18424d11
Fix NPE changing camera quirks then calibrating ( #1660 )
...
Closes https://github.com/PhotonVision/photonvision/issues/1659
2024-12-27 19:44:40 -05:00
Jade
00d307439c
Remove duplicated dependencies blocks ( #1648 )
2024-12-25 12:25:12 -05:00
Craig Schardt
5df189d306
Improve slider text input fields ( #1654 )
...
This PR changes the text input fields to allow a user to type in a value and press enter (or click away) before the UI registers the updated value. It makes text input behave in a more expected manner. The spin buttons are no longer shown for the text box. Instead, there are up and down buttons on either side of the slider.
The only thing that I can't figure out is a way to make the up and down buttons continuously increment (decrement) the value if you click and hold. I'm not sure that this is required, but if someone wants to propose a solution, please add it to this PR.
2024-12-22 23:25:29 -06:00
Chris Gerth
bd1c5c0330
Fix bloaty gif ( #1647 )
...
change to mp4
2024-12-20 23:56:13 -06:00
Nolan Brown
77e75b9975
Cpp-examples gradle settings organization ( #1646 )
...
Not familiar with gradle but it keeps yelling at me for this
2024-12-20 23:55:02 -05:00
Craig Schardt
e506ac6b28
Fix release action glob exclusion ( #1644 )
...
In softprops/action-gh-release, when using an glob pattern to exclude files, all of the files to exclude must be specified on one line. Splitting them to multiple lines causes all files to match one of the two lines.
To combine on one line, use `|` between the patterns.
v2025.0.0-beta-8
2024-12-20 17:11:13 -06:00
Matt
88bc63cf82
Bump Athena image to 2025 ( #1643 )
2024-12-20 13:12:01 -08:00
Nolan Brown
a05542c06c
[docs] Document VSCode tests and gradle tasks ( #1641 )
2024-12-20 09:27:29 -08:00
Jade
ffc4e06ac6
Move to main over master ( #1642 )
...
Resolves https://github.com/PhotonVision/photonvision/issues/251
---------
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-20 09:24:52 -08:00
Jade
81076375b8
Bump to WPILib beta 3 and OpenCV 4.10 ( #1638 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
v2025.0.0-beta-7
2024-12-19 20:54:48 -05:00
Matt
66f369f3a9
Remove selective builds ( #1639 )
...
Selective builds breaks my ability to require that checks pass before
merging. It's not worth the bite for very few docs-only PRs, given
github limitations on needing to skip INDIVIDUAL JOB STEPS on required
CI jobs.
Maybe we should move to gitlab 💀
2024-12-19 05:32:22 +00:00
Matt
7cba7b432d
Add camera sim smoketest ( #1637 )
...
Paranoia test inspired by
https://github.com/PhotonVision/photonvision/issues/1635 .
2024-12-19 04:51:02 +00:00
Jade
dd98d96d7e
Actually remove all RuntimeDetector usage ( #1636 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-19 04:47:29 +00:00
Jade
8ede892c14
Remove usage of RuntimeDetector ( #1536 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-17 17:11:05 +00:00
Christopher Mahoney
08c62ab8cd
Java 17 ( #1440 )
...

JDK 11 References
https://github.com/search?q=org%3APhotonVision+jdk-11&type=code
JDK 17 References
https://github.com/search?q=org%3APhotonVision+jdk-17&type=code
TODO List (things we might need to update in other repos):
- []
ab5fa98d72/photonvision/src/modules/photonvision/start_chroot_script (L29)
- []
7f8d225445/stage2/01-sys-tweaks/00-packages (L34)
- []
ab5fa98d72/photonvision/src/modules/photonvision/install.sh (L11)
- []
a4e7ecb6e3/Makefile (L14)
Closes https://github.com/PhotonVision/photonvision/pull/1069
---------
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Jade <spacey-sooty@proton.me >
2024-12-17 17:01:19 +00:00
Matt
e8efef476b
We have followers around the whole globe ( #1622 )
...
Co-authored-by: Vasista Vovveti <vasistavovveti@gmail.com >
2024-12-11 23:47:18 -05:00
Griffin Della Grotte
c6403a65d2
Add Rock 5C Release ( #1617 )
2024-12-11 06:47:16 +00:00
Craig Schardt
6a8d638853
Fix typehint problem with ndarrays ( #1631 )
...
mypy was inferring the wrong type for ndarrays in photonCameraSim.py.
This fixes the problem by adding typehints using numpy.typing.NDArray.
v2025.0.0-beta-6
2024-12-09 05:21:37 +00:00
Craig Schardt
782929b006
Fix "Manage Device Networking" toggle being disabled incorrectly ( #1620 )
...
This fixes a bug introduced in #1592 that caused the Manage Device
Networking toggle to be disabled for systems where PhotonVision is
managing the network.
There is still a problem with the toggle defaulting to "off" and not
staying in the "on" position after settings are saved. I need help from
someone who understands the frontend to figure out why it keeps getting
set back to "off".
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
Co-authored-by: Cameron (3539) <theforgelover@gmail.com >
2024-12-07 04:30:41 +00:00
Craig Schardt
4997ad9115
Fix formating errors that are in master ( #1627 )
...
A few files with format mistakes were merged into master and they cause
spotless and wpiformat to fail. This PR fixes those files.
2024-12-06 22:21:05 +00:00
Matt
857a30d980
Pull image version from metadata file ( #1599 )
...
Closes #1554

2024-12-05 02:01:48 +00:00
Julius
a40e69cca0
Update docs to suggest JDK 17 ( #1611 )
...
#1609
#1604
2024-12-04 03:27:10 +00:00
William Toth
e069a79a32
Check for exposure setting validity before accessing. ( #1618 )
...
If the exposure property for the generic USB camera settable was not
valid for one camera in the list, then the thread would crash/hang and
no cameras would show up in the list
2024-12-01 23:59:00 +00:00
Joseph Farkas
d9dfe15bfe
Set loaded to false when JNI loading fails ( #1614 )
...
#1613
2024-12-01 16:19:31 +00:00
James Ward
1dbd2e5990
[python] Correct time units ( #1605 )
2024-11-28 16:12:52 +00:00