Matt Morley
533f8c97fd
Add constrained solvePNP strategy ( #1682 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Jade Turner <spacey-sooty@proton.me >
2025-02-19 14:15:27 +08:00
Matt Morley
83c124f7fc
Ingest wpilib!7609 and add turbo button ( #1662 )
...
Now that https://github.com/wpilibsuite/allwpilib/pull/7572 and
https://github.com/wpilibsuite/allwpilib/pull/7609 have been merged:
- Adds a magic hidden button to enable the new frame grabber behavior by
adding a boolean topic at `/photonvision/use_new_cscore_frametime`.
Toggle this to true to maybe increase FPS at the cost of latency
variability
- Bumps WPILib to ingest
https://github.com/wpilibsuite/allwpilib/pull/7609 , but doesn't
currently provide any user feedback about the time source. I don't think
that reporting this super matters?
---------
Co-authored-by: Jade <spacey-sooty@proton.me >
2025-01-11 07:37:09 -07:00
Matt
c04e13ef93
Fix roborio duplicate .so's on deploy ( #1571 )
2024-11-14 01:52:23 -05:00
Jade
5f3dc152c3
[photon-targeting] Remove dependency on wpilibc ( #1544 )
...
Closes https://github.com/PhotonVision/photonvision/pull/1543/files
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-11-14 00:25:32 -05:00
Gold856
c7ed37789e
[photon-targeting] Fix JNI loading ( #1563 )
2024-11-13 10:37:51 -05:00
Gold856
04ec99f17a
Add license to jars ( #1530 )
...
Fixes GPL violation, the license has been missing since 2024.
This also puts licenses in as many JARs and native library archives as possible (for good measure.)
2024-11-08 09:10:14 +08:00
Matt
8dcf0b31a2
Create FileLogger JNI ( #1517 )
2024-11-06 20:16:36 -05:00
Jade
5e1a93950e
Fix photon-targetting being a seperate project ( #1504 )
2024-10-31 22:23:52 -07:00
Matt
37aaa49b32
Create timesync JNI for testing client ( #1433 )
2024-10-31 08:27:19 -07:00
Matt
a0c85fc95f
Create photon-targeting-JNI framework ( #1428 )
...
Initial framework for adding JNI libraries. Auto generated JNI headers and sticks native libraries into the JAR (and adds to class path for testing)
2024-09-23 22:44:09 -04:00
Matt
169595e56e
Auto-generate packet dataclasses with Jinja ( #1374 )
2024-08-31 13:44:19 -04:00
Thad House
6917ec8401
Fix vendordep including all wpilib libraries ( #1155 )
...
* Fix vendordep including all wpilib libraries. Without this fix, users were consuming a massively oversized .jar
2024-01-13 18:57:56 -06: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
994ea1e76b
[photon-targeting] Move C++ targeting classes to photon-targetting ( #1009 )
...
* add classes to targeting and update gradle
* rename me
* Finish cleanup
* Formatting fixes
* just use common.gradle
* Update build.gradle
* Update config.gradle
* remove typo
* simplify
* Add Packet Headers
* move simulation classes into simulation folder
* draw in dependency
* fix
* Everything working minus tests cause im lazy
* formatting fixes
REMEMBER TO REMOVE UNUSED IMPORTS, IM JUST TOO LAZY TO CHECK RN
* move packet test to targeting
* Formatting fixes
* remove TargetCorner from c++
im not 100% sure but just doing std::pair<double, double> is sufficient and shouldnt conflict with protobuf
* think i added packet
* fix namespace issue
* organize imports in photon-targeting
* Formatting fixes
* remove ctors
* fix typo
* Add PNP and Multitag packet tests
* revert TargetCorner class
* Add Test placeholders
* remove annoying print
* Reorganize build and publish process
channeling inner Thad
* add targeting as flag
* Update config.gradle
* fix issue with platform binaries not building
* Update photonlib.json.in
casing still needs to be checked
* add minimum level back
* add back UTF-8 encoding of javadoc
* simplify publish model for photon-lib
* fix windows symbol generation
* formatting fixes
* move task from main gradle to config
* Update config.gradle
2023-11-19 15:16:22 -05:00
Matt
524b135142
Fix OpenCV load in simuated robot projects ( #1001 )
2023-11-05 15:13:00 -08: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
Matt
47bd077bbb
Run multitag on coprocessor ( #816 )
2023-10-17 10:20:00 -04:00
Matt
9991f8670c
Bump wpilib versions to 2024 beta 1 ( #947 )
2023-10-15 12:17:40 -04:00
Matt
5b86360b9b
Multi-tag pnp in robot code ( #787 )
...
---------
Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com >
Co-authored-by: Joseph Farkas <16584585+MrRedness@users.noreply.github.com >
2023-02-13 17:57:01 -05:00
Mohammad Durrani
78ab5e7c1d
Upgrade to jdk 17 ( #653 )
...
Still targets Java 11 language support
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2022-12-27 15:56:21 -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
shueja-personal
916431b4ff
JSONify the bundled 3D geometry ( #578 )
...
Co-authored-by: Matt M <matthew.morley.ca@gmail.com >
2022-11-09 14:00:46 -05: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
Banks T
a02cd4a50e
Explicitly specify JDK11 for photon-targeting ( #334 )
2021-11-27 00:22:51 -05:00
Matt
d59f8d1227
Cleanup photonlib deps ( #243 )
...
Removes unnecessary photonlib dependencies and removes commons-math.
2021-01-22 22:05:39 -08:00
Prateek Machiraju
951c038f19
Clean up buildscripts ( #238 )
...
Cleans up gradle buildscripts.
2021-01-18 19:12:57 -08:00
Matt
2e1b3d0f83
Add Photonlib ( #231 )
...
Merges Photonlib into Photonvision, along with the Photonlib code examples. Also creates a new PhotonTargeting library teams can depend on.
2021-01-16 20:41:47 -08:00