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
Matt
b263fe19cc
Undistort corners in umich pose estimation ( #699 )
...
* Undistort corners in umich pose estimation
Add tag corner unit test
Delete hellooo.jpg
Update Draw3dTargetsPipe.java
Update FileFrameProvider.java
* Update AprilTagTest.java
2023-01-05 12:08:25 -06:00
Matt
e68e6f3181
Update SimPhotonCamera.java ( #703 )
2023-01-05 06:43:23 -06:00
Chris Gerth
326701b74f
Bug Fix Grab Bag ( #688 )
...
* Reordered ov video modes to be lowest-to-highest res
* Save off sensor model on init. Guard against low, crashy exposures.
* Pulled in matt's fixups from https://github.com/PhotonVision/photon-libcamera-gl-driver/suites/10144555465/artifacts/495489276
* Further autoexposure tweaks for picam v1
* Allow undercores in camera rename
* Additional guarding against output images being empty
* lock out auto-exposure on ov9281's
* Guarding stream pipelines against empty frames from cameras. Rearranged driver stream to resize first, then draw crosshairs (matchces with other pipelines now).
* NT Priority fixup - if client is sending commands on NT, its nt value should win over anything done from the UI
* Synchronous pipline adjustmet fix, method cleanup
* lint
* circle pipe and data publish bugfixes
* lint
* Pulled in matt's latest .so and re-enabled auto exposure on 9281's
v2023.1.1-beta-8
2023-01-03 21:53:04 -06:00
Matt
af6f5eb0c4
Add journalctl export button ( #693 )
...
* Add journalctl export button
* Run spotless
* Split into 2 tabs
2023-01-03 21:42:19 -06:00
Nick Hadley
0b5256df12
RobotPoseEstimator Enhancements ( #677 )
...
* Use List for RobotPoseEstimator constructor
* Update `RobotPoseEstimator` constructor to accept wpilib `AprilTagFieldLayout` java
* Initial cpp changes
* Java return optional from update
* Fix java test
* Clean up strategy switch
* small lint
* Actually link to vision_shared
* Fix auto optimized imports
* format
* report error
* small method changes
* format and clean up
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-01-02 18:22:39 -06:00
Matt
971b471f92
Make install script auto-detect arch ( #679 )
...
* Make install script auto-detect arch #679
Tested on linux x64 and aarch64
* Fix arm32 uname string
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2023-01-02 09:12:10 -06: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
Mohammad Durrani
7c49cfe625
Change generated Pi image suffix to RaspberryPi ( #686 )
2023-01-01 15:24:45 -05:00
Matt
ea293f57d2
Only include OpenCV for current platform ( #675 )
...
Shrinks JAR by ~15MB
2022-12-31 22:56:16 -05:00
Matt
dc663657ff
[libphotonlibcamera] Fix smurf mode in greyscale shader ( #674 )
...
Matt uses Suprise Gargamel! It was super effective!
2022-12-31 20:43:26 -05:00
Mohammad Durrani
eedbfe3d49
Generate limelight + Photon images ( #669 )
...
* change to 64 bit image generation
* Generate LL and Pi images in workflow
* Update main.yml
* Update main.yml
* Update main.yml
* REVERTME yeet publish
* Update main.yml
* Add archive suffix to generator
* Bump base images to beta 3
* Add more error prints to image gen
* Fix image base URL
* Bump pi/LL base images
* Update main.yml
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2022-12-31 19:24:37 -05:00
Mohammad Durrani
1ab5b66829
Clean up front end, remove decision margin and error bits, remove target family selector ( #652 )
...
* clean up front end ui
* address changes
* Further tweaks to camera default gains to help make sure users get a good first impression
* even more saner defaults
* Even even more camera sane defaults
* lint
* lint pt 2
* unit test fixup
Co-authored-by: Chris <chrisgerth010592@gmail.com >
2022-12-31 18:29:36 -05:00
Chris Gerth
d0bf64af6c
Convert input/output image save to integers ( #664 )
...
Changes image saving technique to use integers, not booleans
2022-12-30 22:48:28 -05:00
Sriman Achanta
8028d1887c
Update thinclient.html ( #668 )
...
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2022-12-30 17:59:00 -05:00
Sean Walberg
74b807343e
Change visibility of Pose strategy in RobotPoseEstimator ( #670 )
...
This was meant to be consumed from the outside.
2022-12-30 17:19:15 -05:00
Sriman Achanta
15fbe29d34
Remove redundant if check in OutputStreamPipeline ( #660 )
...
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
v2023.1.1-beta-7
2022-12-30 02:00:14 -05:00
Jack
550194152a
Add RobotPoseEstimator ( #571 )
...
RobotPoseEstimator can pick the most likely pose for the robot given a number of possible poses, using a number of different strategies. Examples are still WIP.
2022-12-30 01:40:13 -05:00
Matt
3a10f49b54
Only run Apriltag pose estimation when enabled ( #657 )
...
Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com >
2022-12-28 13:32:38 -08: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
4088a394f3
Fix typo in main.yml ( #659 )
2022-12-28 13:41:29 -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
Matt
14d263a567
Fix dev release artifact path ( #654 )
2022-12-27 15:55:59 -05:00
Chris Gerth
cf1a45d35b
Set a compression level to better optimize the latency of the stream by reducing the bytes sent ( #656 )
2022-12-27 15:55:43 -05:00