Matt
0af5a62d5e
Use mrcal for camera-calibration ( #1036 )
...
Uses jars built from https://github.com/photonvision/mrcal-java/
See: https://mrcal.secretsauce.net/ and https://docs.photonvision.org/en/latest/docs/calibration/calibration.html#investigating-calibration-data-with-mrcal
---------
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2024-01-05 14:26:17 -05:00
Programmers3539
4d9f2284da
CSI Camera Timeout & Auto-Recreate ( #1102 )
...
Adds logic that will reset the CSI camera in the case that it doesn't receive any new frames from the camera in 3 seconds. This is very helpful for cases where the camera cable was bumped enough to cause a temporary disconnect. Most of the time (if not all the time) the camera needs to be recreated for it to start sending frames again.
Goes with PhotonVision/photon-libcamera-gl-driver#13
2024-01-05 09:27:12 -05:00
Programmers3539
e685334baa
Fix grayscale passthrough ( #1083 )
...
Fix grayscale passthrough with libcamera. Additionally fixes issue #1091 .
Must go with PhotonVision/photon-libcamera-gl-driver#11 .
When grayscale passthrough is used currently the frames that are returned do not have the type grayscale so calculations that need grayscale to not run. With these changes pipelines that need grayscale will now run and properly display fps.
2024-01-02 23:35:24 -05:00
Programmers3539
341954c1eb
Libcamera JNI Maven Support ( #1105 )
...
Download our libcamera JNI from Maven <3
2024-01-02 11:04:58 -07:00
Drew Williams
96de176ba2
Changes sim to use 36h11 tags ( #1056 )
...
Fixes #1041
---------
Co-authored-by: Drew Williams <DrewW@iARx.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2024-01-02 08:09:32 -07:00
Sriman Achanta
2ecd988628
Add protobuf publish setting slider ( #1075 )
...
Allows logging software and live data view to see results. Also removes the requirement for AScope to keep up with the packet serde schema and instead just use the Protobuf descriptor.
2023-12-31 00:14:21 -05:00
Sriman Achanta
2e39549771
Bump wpilib to 2024-beta-4 and report resource photon usage ids from 2024v2 image ( #1042 )
2023-12-16 13:14:52 -05:00
Sriman Achanta
773c6352d0
[build] Gradle Cleanup ( #1021 )
...
Cleanup project-wide gradle configuration.
removes native dependencies from java only projects
increases readability
Pass generated headers in setup instead of modifying model
2023-11-22 20:08:23 -05:00
Sriman Achanta
586adebb61
bump version ( #1014 )
2023-11-20 09:11:57 -05:00
Matt
7eb4645ee2
Bump wpilib to beta-3 ( #998 )
2023-11-04 09:42:30 -04:00
Matt
12774591a4
Bump opencv to fix cross-compile rpath ( #992 )
2023-11-01 16:16:41 -07:00
Sriman Achanta
63147786b9
Fix MacOS OpenCV library loading and use wpi buildTools versions ( #978 )
...
* Bump to beta 2
* Reduce copy paste spam going forwards
* Bump gradle
* oops
* fix gradlew
* update gradle wrapper props
* remove unused imports
* Update node task
* Fix shadowjar
* fix more deps
* ?
* core works
* revert changes to index
* Formatting fixes
* Update config.gradle
* Fix PhotonLib gradle
* fix tests and sim loading native libraries
* re-enable macos build
* fix?
* Update build.gradle
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-10-25 20:27:56 -04:00
Sriman Achanta
adc30336d2
Bump spotless version and update config for groovyGradle stuff ( #979 )
2023-10-24 23:02:59 -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
Matt
9991f8670c
Bump wpilib versions to 2024 beta 1 ( #947 )
2023-10-15 12:17:40 -04:00
Sriman Achanta
0e06737272
move javalinVersion to a global version ( #942 )
2023-10-10 05:06:59 -04:00
person4268
6d2eae7f20
Add ignored cameras regex to command-line arguemnts ( #849 )
...
This adds a regex that ignores cameras if they match it, for if you have another piece of software running that needs a second camera, or if you have a webcam in your laptop that cscore hates.
2023-06-03 21:04:04 -04:00
Matt
cdf045d887
Bump wpilib to 2023.4.2 ( #815 )
2023-02-27 08:30:06 -06:00
Matt
cf68f2a450
Bump wpilib to 2023.4.1 ( #811 )
2023-02-19 12:46:12 -05:00
Matt
bd66f90881
Bump wpilib deps ( #791 )
2023-02-06 12:55:14 -05:00
Matt
a16ac4af57
Bump to wpilib 2023.2.1 ( #741 )
2023-01-15 10:12:25 -05:00
Matt
8117b5814b
Bump to wpilib 2023.1.1 ( #694 )
2023-01-06 17:53:39 -05:00
Chris Gerth
aaa886bd73
Java-side bugfixes for RobotPoseEstimator and PhotonCamera ( #685 )
...
Closes #684
Closes #683
Closes #681
Closes #680
Closes #678
2023-01-01 22:40:48 -05:00
Matt
ea293f57d2
Only include OpenCV for current platform ( #675 )
...
Shrinks JAR by ~15MB
2022-12-31 22:56:16 -05:00
Matt
7ff630dc44
Replace MMAL driver with Libcamera ( #491 )
...
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2022-12-28 14:21:41 -05:00
Matt
2ebc27aa3b
Use refactored Apriltag API in WPILib ( #644 )
...
Bumps to a wpilib dev version, until they cut a new release. Should help address the random NPEs from the old JNI.
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2022-12-27 13:47:20 -05:00
shueja-personal
bb63af601d
Update to wpilib 2023 beta 7 ( #607 )
...
We now need platform specific jars -- reworks actions to support that. Currently only generates 32 bit pi images.
2022-12-16 20:05:23 -05:00
sarah-e-c
1412155c50
Replace jcenter with MavenCentral ( #554 )
2022-10-31 08:32:49 -04:00
shueja-personal
a764ace7f2
Initial AprilTag support ( #458 )
...
(Very) beta AprilTag support in PhotonVision. Disables Picam GPU acceleration until we can debug auto exposure in the MMAL driver.
Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
Co-authored-by: Chris <chrisgerth010592@gmail.com >
Co-authored-by: mdurrani808 <mdurrani808@gmail.com >
2022-09-28 21:21:41 -04:00
Tyler Veness
9893cf1f7e
Update photonlib and photonlib example license headers to MIT ( #395 )
2022-01-20 22:35:28 -05:00
Tyler Veness
46fa17dfd8
Upgrade spotless and shadow ( #385 )
...
Fixes Log4J vulnerability
2022-01-10 11:56:45 -08:00
Tyler Veness
a161bd5be9
Upgrade all maven dependencies for 2022 ( #377 )
...
This also fixes compilation with JDK 17.
2022-01-08 10:17:28 -08:00
Matt
0f730fc28d
Update WPILib to 2022.1.1 rc 1 ( #376 )
2022-01-06 20:14:51 -08:00
Matt
8b079d9b20
Add pi-only JAR createion ( #362 )
2021-12-18 12:53:08 -05:00
Matt
be5f0880c8
Update WPILib to 2022.1.1-beta-3-1-g4ba80a3 ( #337 )
...
This fixes raspberry pi crashes
2021-11-28 07:34:13 -06:00
Tyler Veness
5ca39e7f84
Upgrade to Gradle 7.2 and WPILib 2022 ( #316 )
2021-11-21 20:22:56 -05:00
Matt
7e74da5cff
Make photonlib complain if versions don't match ( #302 )
...
Adds messages if Photon isn't detected or major versions don't match
2021-10-18 22:31:18 -04:00
Tyler Veness
affb27038b
Fix uninitialized variables in PhotonPipelineResult ( #282 )
...
If the default constructor is used, some member variables weren't properly initialized.
2021-09-02 20:48:05 -07:00
Matt
f3d3a59ca0
Use snapshot repo for dev releases ( #241 )
2021-02-23 15:07:43 -05:00
Prateek Machiraju
951c038f19
Clean up buildscripts ( #238 )
...
Cleans up gradle buildscripts.
2021-01-18 19:12:57 -08:00
Matt
d3c23345da
Use wpi::Now for image capture timestamp ( #232 )
...
This uses the same time source as CSCore does for image captures, and will make latency measurements more accurate.
Co-authored-by: Banks T <btrout.dhrs@gmail.com >
2021-01-17 14:57:21 -08:00
Banks T
58b39f47aa
Split photon-server and photon-core ( #211 )
...
Uses multiple Gradle projects to support the split.
2021-01-14 18:45:26 -08:00