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
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
David Vo
3edc8750ec
PhotonPoseEstimator: Stop manually iterating targets ( #796 )
2023-02-11 07:44:22 -05:00
David Vo
b4c93e5d34
PhotonPoseEstimator: Include what you use ( #795 )
...
There are a few references to PhotonPipelineResult in this header. I noticed this was being indirectly included when trying to remove the PhotonCamera dependency.
2023-02-11 07:23:02 -05:00
PJ Reiniger
0255798d6c
Add ability query camera results outside of PhotonPoseEstimator ( #786 )
2023-02-09 14:43:52 -05:00
Matt
6886663688
Robustify setting pipeline index ( #790 )
2023-02-08 21:07:12 -05:00
Matt
3c53dcbb7b
Call correct addCalibration in VisionModule ( #793 )
2023-02-08 21:06:53 -05:00
Matt
6491698c0b
Add merge groups to main workflow
2023-02-08 20:16:21 -05:00
Matt
bd66f90881
Bump wpilib deps ( #791 )
2023-02-06 12:55:14 -05:00
Mihir Patankar
241961ae7a
Un-finalize robotToCamera, add getters and setters ( #789 )
...
Allows teams with a mechanism that moves the camera's position (eg, a pan and tilt mechanism) to update the location of their camera for their pose calculations.
---------
Co-authored-by: Matthew Morley <matthew.morley.ca@gmail.com >
2023-02-06 09:51:35 -05:00
Matt
8ae7977477
Update SimPhotonCamera.h ( #785 )
v2023.3.0
2023-02-01 10:41:41 -05:00
Matt
deb8f97ee9
Update libphotonlibcamera to target libcamera0.0.3 ( #783 )
...
* Update libphotonlibcamera.so
* Bump Pi base image URL
2023-02-01 10:06:10 -05:00
Matt
e58c27caa2
Bump LL image to fix NetworkManager ( #780 )
v2023.2.2
2023-01-31 06:57:45 -06:00
Matt
f6e3c9b3ee
Fix desync between web UI and NT ( #778 )
...
Actually calls VisionModule::setPipeline when changing pipelines (needed to change video modes)
2023-01-29 23:30:34 -05:00
Matt
88ed2ebf51
Add PhotonVersion to sources/headers zip ( #777 )
...
* Add PhotonVersion to sources/headers zip
* Update publish.gradle
2023-01-29 23:30:22 -05:00
David Vo
5f39123bde
photon-lib: Fix C++ sources publish classifier ( #765 )
...
The canonical classifier is sources, not source.
2023-01-27 10:52:14 -05:00
Matt
37a7d378fd
Fix publish type in photoncamera ( #760 )
2023-01-22 10:56:41 -05:00
Matt
811fef1212
Bump pi image versions ( #747 )
v2023.2.1
2023-01-18 16:31:42 -05:00
Matt
d0162b0ed0
Switch network management to networkmanager on Linux ( #738 )
...
* Switch network management to networkmanager
* Run style
* Fix command formatting
* Add curst Pi 5 second sleep
* Run formatter
* Also bring up/down on other linux
* Switch to nmcli down/up
* Remove sleep in nmcli down/up
* Address review
2023-01-18 16:31:14 -05:00
Matt
9d6997180d
Add calibdb upload button ( #735 )
...
* Add calibdb upload
* Fix distortion coefficients size
2023-01-18 16:29:58 -05:00
smoser-frc
a985c6cf3a
Fix #748 - add libopencv-core4.5 for aarch64 systems. ( #749 )
...
* Add and use a function in install.sh to determine if package is installed.
Move the "is a package installed" code into a function.
* Install libopencv-core4.5 on aarch64, which is likely raspberry pi.
The libphotonvision.so on Raspberry pi depends on libopencv-core4.5.
The code here installs that package on all aarch64 systems, as
there was not an obvious way to install on only Raspberry pi systems.
Fixes #748 .
Co-authored-by: Scott Moser <smoser@brickies.net >
2023-01-18 09:25:10 -05:00
Sriman Achanta
167a4661ca
[NFC] Update RobotPoseEstimator documentation ( #740 )
...
* update documentation
* add suggested changes
* rename April Tag to AprilTag
* Update RobotPoseEstimator.java
Co-authored-by: Mohammad Durrani <46766905+mdurrani808@users.noreply.github.com >
2023-01-17 20:34:21 -05:00
Matt
a16ac4af57
Bump to wpilib 2023.2.1 ( #741 )
2023-01-15 10:12:25 -05:00
Matt
d9f99f9c9b
Add calibration decimate dropdown ( #739 )
...
* Increase resized size to 640
* Add calibration decimation dropdown
* Update Calibrate3dPipeTest.java
* Only allow decimation down to >=320x240
* Update CamerasView.vue
2023-01-14 19:23:14 -06: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
073714f0bc
[AprilTags] Reduce default iterations to 40 ( #726 )
...
Co-authored-by: Mohammad Durrani <46766905+mdurrani808@users.noreply.github.com >
2023-01-11 16:32:31 -05:00
Nick Hadley
39f6ab8805
Add method to clear sim targets ( #733 )
...
Closes #731
2023-01-11 12:33:19 -05:00
Mohammad Durrani
5c66785095
Delete EigenCore.h ( #732 )
2023-01-10 21:37:22 -08:00
Matt
53c67a07e4
[photonlib] Only link to apriltag_shared ( #730 )
2023-01-10 10:09:24 -05:00
Matt
7c985e3a84
Remove force istestmode in Main ( #723 )
2023-01-10 09:13:59 -05:00
Jack
80e16ece87
Add hostname to camerapublisher mjpeg stream ( #722 )
...
Closes #721
2023-01-09 13:11:49 -05:00
Matt
86b9d4b037
Add 2023 pics to test mode ( #720 )
2023-01-07 20:48:21 -05:00
Chris Gerth
e12f360a29
Update cv-select.vue ( #719 )
v2023.1.2
2023-01-07 10:54:54 -05:00
Declan
d0641d0cb6
Fix the reflective mode color picker ( #715 )
...
Co-authored-by: Mohammad Durrani <46766905+mdurrani808@users.noreply.github.com >
2023-01-07 09:51:01 -05:00
Declan
871aa8b44b
Clean up AprilTag tab visuals and code a little ( #717 )
...
Co-authored-by: Mohammad Durrani <46766905+mdurrani808@users.noreply.github.com >
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2023-01-07 09:50:51 -05:00
Declan
beaee9f6c0
Don't give ArUco as an option in the UI, for now ( #713 )
...
Seems to be broken on things going through the libcamera path. Odd.
Hopefully we can re-enable this later on.
2023-01-07 08:17:58 -06:00
Declan
11f5069148
Hide or disable unsuitable items in output tab in tag mode ( #714 )
2023-01-07 08:17:31 -06:00
Declan
6716d41a62
Filter out rotation modes that are broken in libcamera driver ( #716 )
2023-01-07 08:16:01 -06:00
amquake
63b3cfe7e1
Remove distortion logs ( #712 )
...
* remove distortion logs
* spotless
* Run spotless
💀
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-01-06 23:09:58 -05:00
Matt
967be84b4b
Expose detected tag corners ( #702 )
...
Removes GetCorners, replaces with getMinAreaRectCorners and getDetectedCorners
2023-01-06 22:20:27 -05:00
Mohammad Durrani
16ca2671f0
Update to osxuniversal ( #711 )
...
Probably closes #710
2023-01-06 21:10:48 -05:00
Matt
5e977445ee
Improve websocket reconnect robustness ( #706 )
...
Replace with stripped down NT4 client
Co-authored-by: Mohammad Durrani <46766905+mdurrani808@users.noreply.github.com >
2023-01-06 17:25:11 -08:00
Matt
8117b5814b
Bump to wpilib 2023.1.1 ( #694 )
2023-01-06 17:53:39 -05:00
Matt
087429dab9
[Workaround] Publish rawBytes as periodic ( #707 )
...
Closes #704 -- addressed by upstream PR https://github.com/wpilibsuite/allwpilib/pull/4903 (not released yet)
2023-01-06 17:53:19 -05:00
Nick Hadley
dbe7464ea9
Change pose estimator to take robotToCamera ( #698 )
...
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-01-06 17:41:47 -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
Nick Hadley
0f427bb52b
Update PhotonCamera error messages to be more specific ( #697 )
...
Closes #692
2023-01-05 19:28:32 -05:00
Mohammad Durrani
05198ef294
Aruco Support for AprilTag Detection (Experimental) ( #636 )
...
Uses OpenCV's aruco module for AprilTag detection.
2023-01-05 13:25:44 -05:00