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
Julius
01a3d31734
Add 6328's implementation of PNP distance for Trig Solving to PhotonPoseEstimator ( #1767 )
...
https://discord.com/channels/725836368059826228/725846784131203222/1334309604946874460
https://www.chiefdelphi.com/t/frc-6328-mechanical-advantage-2025-build-thread/477314/85
Helps with ambiguous single tag estimates and produces more stability.
2025-02-13 11:45:18 -08:00
Joseph Eng
99427d888a
Fix fallback for the multitag on rio pose strategy ( #1755 )
2025-02-01 14:09:43 -08:00
Matt
37aaa49b32
Create timesync JNI for testing client ( #1433 )
2024-10-31 08:27:19 -07:00
Matt
169595e56e
Auto-generate packet dataclasses with Jinja ( #1374 )
2024-08-31 13:44:19 -04:00
Matt
67463a020a
Use ReadQueue for PhotonCamera timestamps ( #1316 )
...
This removes the extra GetLastChange call to keep everything properly
atomic.
Closes #1303
2024-08-04 14:23:46 -04:00
Matt
1708376df8
Expose object detection class id/conf in photonlib ( #1266 )
...
* Implement class id/conf in photonlib
* Maybe fix things
* run lint
* Update Packet.java comments
* Update Packet.java comments again
* Update comments
* oops
* Update packet.py
---------
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2024-05-10 14:52:16 -04:00
Matt
113951100e
Add sequence ID, capture, publish and recieve timestamp to PhotonPipelineResult ( #1305 )
...
Closes #1304
2024-05-10 14:04:34 -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
308fd801d4
[photon-targeting][photon-lib] Add tests to the targeting classes and cleanup photon-lib & photon-targeting ( #1007 )
...
* Make MultiTagPNPResult and PNPResult singular
* add java tests
* Formatting fixes
* bring in the rest of the little stuff
* final things
* Formatting fixes
* add multisubscriber back
* Formatting fixes
* make comments better about x and y relationship
2023-11-15 18:28:26 -05:00
Sriman Achanta
c148331b69
Bump License year to 2023 ( #841 )
...
* Bump version
* remove year entirely
2023-04-18 18:49:40 -04:00
Joseph Eng
545e016d04
Cache pose calculations in PhotonPoseEstimator ( #788 )
...
* Add pose caching to Java
* Refactor strategy fallthrough
* Hopefully add pose caching to C++
* Make Java switch same order as enum and C++ switch
* C++ absolute value in timestamp check
* Fix Java NPE
* Use `units::second_t` in timestamp
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
* Expand Java unit test
* Copy comments into C++
* Add tests to C++
* Run format
* Update PhotonCamera.cpp
* Probably fix bad access exception
* a
* init timestamp
* Remove prints
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
Co-authored-by: Joseph Eng <joseng2358@gmail.com >
2023-02-13 21:22:22 -05: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
Andrew Gasser
357d8a518a
Return named type from PhotonPoseEstimator ( #734 )
...
Adds PhotonPoseEstimator class, and deprecates RobotPoseEstimator
2023-01-14 10:06:15 -05:00