Andrew Gasser
9ac1050264
Handle IOException in Apriltag example ( #807 )
...
* Deal with IOException
* Fix import
2023-02-14 14:30:30 -05:00
Matt
abe32a1aae
Fix calibration NT table in PhotonCamera ( #805 )
...
* Fix wrong table in calibration subscriber
* Update example to load 2023 layout
* Update PhotonCamera.java
2023-02-14 13:49:28 -05:00
Andrew Gasser
bf4a4db874
Docs corrections related to PhotonPoseEstimator ( #804 )
2023-02-14 13:49:08 -05:00
Matt
a2dfe48679
Create C++ Apriltag example ( #794 )
...
* Create C++ Apriltag example
* Delete libphotonlibcamera.so
* Update PhotonCameraWrapper.h
* Delete extra files
Update .gitignore
2023-02-11 23:07:07 -06:00
Matt
a16ac4af57
Bump to wpilib 2023.2.1 ( #741 )
2023-01-15 10:12:25 -05:00
Andrew Gasser
357d8a518a
Return named type from PhotonPoseEstimator ( #734 )
...
Adds PhotonPoseEstimator class, and deprecates RobotPoseEstimator
2023-01-14 10:06:15 -05:00
Matt
8117b5814b
Bump to wpilib 2023.1.1 ( #694 )
2023-01-06 17:53:39 -05:00
Mohammad Durrani
ebef19af3d
Add aprilTagExample to Java example list ( #709 )
...
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-01-06 11:33:47 -05:00
Mohammad Durrani
bde023c025
Apriltag example from gerth2 ( #701 )
...
* apriltag example
* vendor dep update
* Run formatters
* Update Drivetrain.java
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-01-05 20:48:06 -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
Noah
7dd1719fbd
Expose NT entry change time in PhotonLib ( #562 )
...
Adds target change timestamp to PhotonPipelineResult
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2022-11-07 13:09:55 -05:00
Chris Gerth
b408a58e9e
Sim Updates for 2023 ( #512 )
...
* WIP updating sim stuff for 2023 and pose3d's
* vision system build fixups, but test not yet passing.
* WIP Sim fixups and working on testcases
* Still doesn't work, but closer
* tests pass
* removed C++ sim support
* formatting update
* adjusted target height above ground per review
* Turns out its unused
* missed example removal
2022-11-03 15:05:37 -05:00
Andrew Gasser
04bde1b230
Update sim pose estimator example to use 3d ( #524 )
2022-10-25 21:11:41 -04:00
Matt
2d7a88e231
Expose both pose solutions ( #521 )
...
* Half-add second pose
* add c++
* run wpiformat
* Fix c++
2022-10-22 06:42:45 -05:00
Andrew Gasser
d1bfb86ab4
Correct image capture time ( #501 )
...
* Correct image capture time
`Timer.getFPGATimesptamp()` returns the current time in _seconds_, but `res.getLatencyMillis()` is in _miliseconds_.
* Correct image capture time (correctly)
* Change double literal to not use suffix
Co-authored-by: shueja-personal <32416547+shueja-personal@users.noreply.github.com >
2022-10-16 20:51:48 -07: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
Chris Gerth
c944967476
Offline Update (.jar replace) ( #340 )
...
Allows users to upload a new JAR to a Pi. Also bumps the pi image to increase the heap size.
2021-12-03 23:08:51 -05:00
Tyler Veness
5ca39e7f84
Upgrade to Gradle 7.2 and WPILib 2022 ( #316 )
2021-11-21 20:22:56 -05:00
Chris Gerth
49fcdb64ed
Update Sim Example Unit Conversions ( #265 )
...
Updated Java examples to fix radians/degrees mismatch.
Inspected c++ examples - they create a units::degree_t from the NT value, which should be handled properly inside the PhotonUtils methods.
2021-03-23 10:57:32 -07:00
Chris Gerth
0330467874
Add Basic Sim Example ( #237 )
...
* WIP adding sim pose example
* WIP making examples buildable like WPI. Not quite there yet....
* Make examples runnable
* remove lock
* add lock
* WIP Adding a simpler example for simulation
* Spotless Apply
* Added simulation-supporting aim and range example
* Spotless, revised hand usage to be consistent across examples, and propagated required -1.0's to non-sim examples.
Co-authored-by: Prateek Machiraju <prateek.machiraju@gmail.com >
2021-01-26 23:26:15 -05:00
Prateek Machiraju
951c038f19
Clean up buildscripts ( #238 )
...
Cleans up gradle buildscripts.
2021-01-18 19:12:57 -08:00
Prateek Machiraju
1b0c5af86e
Make examples runnable, start work on examples ( #235 )
...
Co-authored-by: Chris <chrisgerth010592@gmail.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2021-01-18 10:56:04 -05: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