Banks T
a02cd4a50e
Explicitly specify JDK11 for photon-targeting ( #334 )
2021-11-27 00:22:51 -05:00
Tyler Veness
efd31543f6
Upgrade athena Docker container from 2021 to 2022 ( #332 )
...
The proper compiler wasn't available for 2022 native-utils, so
linuxathena artifact builds were silently skipped.
v2022.1.1-beta-1
2021-11-26 09:44:05 -05:00
Matt
a151f23319
Add team number dialog, NT connected chip ( #313 )
...
Makes NT connection status visible from the UI
2021-11-25 15:43:29 -05:00
Matt
822811c853
Upload a new image on releases ( #329 )
...
Uploads a new Pi image (without any hardware configs) on releases and pushes to dev
2021-11-25 15:42:58 -05:00
Matt
23834c87f4
Only let in tags starting with "v" ( #328 )
2021-11-23 20:22:54 -05:00
Tyler Veness
f103a6b712
Run wpiformat ( #327 )
2021-11-23 19:09:51 -05:00
Chris Gerth
3257736ffa
Add .pdf taraget generation ( #307 )
...
* Added rectangle target generation
* added dot grid support
* dot grid functional. Added branding and ruler
* comments, rebuild, testing
* proper branding rework
* undo index.html commit
2021-11-21 20:34:06 -05:00
Tyler Veness
9df25eda88
Add clangd files to .gitignore ( #318 )
2021-11-21 20:30:10 -05:00
Tyler Veness
5a13739818
Remove unused private variable ( #317 )
2021-11-21 20:30:03 -05:00
Tyler Veness
5ca39e7f84
Upgrade to Gradle 7.2 and WPILib 2022 ( #316 )
2021-11-21 20:22:56 -05:00
Matt
ffe34f00fe
Ensure skew is always in [-90, 90] ( #319 )
2021-11-21 18:50:15 -06:00
Matt
a5cc0808c4
Make photon targeting respect snapshot repo ( #309 )
v2021.1.8
2021-11-06 20:12:50 -04:00
Banks T
08fafe2607
Fix file delete, possible null on perms set ( #303 )
2021-11-06 19:58:07 -04:00
Matt
a2af7d9273
Add red warning text with server mode, team number not set ( #308 )
2021-11-03 09:12:29 -04:00
Matt
a731c7a8db
Revert part of #288 ( #306 )
...
Fixes picam streaming/hangs
v2021.1.7
2021-10-30 12:27:41 -04:00
Matt
7e74da5cff
Make photonlib complain if versions don't match ( #302 )
...
Adds messages if Photon isn't detected or major versions don't match
2021-10-18 22:31:18 -04:00
Matt
0977fd0dff
Update PacketTest.java ( #301 )
...
Adds unit test to make sure the packet structure doesn't change
2021-10-16 09:42:21 -04:00
Matt
3241ef7b1b
Update dev tag matcher ( #300 )
2021-10-07 11:13:11 -04:00
Matt
f922466d41
Fix contour grouping ( #298 )
...
Fixes bug where n+1 contours were needed to match a target of size n
2021-10-05 12:16:50 -04:00
Matt
243f06da2d
Fix vision module stream index logic ( #295 )
...
Previous logic could cause stream index with multiple cameras to run away
2021-10-03 22:43:39 -04:00
Matt
44e91a184d
Publish photon-targeting ( #292 )
...
Pushes photon-targeting to Maven
2021-10-03 10:58:35 -04:00
Matt
e6b0f398b6
Fix versioning picked up in CI ( #291 )
...
Fixes ignore blob in versioningHelper
v2021.1.6
2021-09-24 18:51:40 -04:00
Chris Gerth
5a475e1071
Fix crash in logging when log files are not writable ( #286 )
...
* Addresses null pointer crash in logging when log files are not writable
* One of these days, I'll be able to type code without spotless complaining.
But today is not that day.
2021-09-23 22:38:50 -04:00
Tyler Veness
f8def88e4d
Rename tests to appease wpiformat ( #290 )
2021-09-23 21:13:04 -04:00
Chris Gerth
db09e5209f
Colored shape fix ( #288 )
...
* Move test images out of resources folder
* Limit workers in CI
* Fix image area filtering bug in colored shape
* Add missing picam settings
* Swap to make blank/empty Mat when a picam doesn't supply a color image.
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2021-09-23 18:48:18 -04:00
Matt
9fdd945a52
Fix compilation with gradlew build ( #284 )
...
* Fix everything but test mode
* Update TestUtils.java
* Jank testutils fix
* Limit workers in CI
2021-09-07 06:49:07 -07:00
Matt
00b8e7d1c5
Add colored shape to the UI ( #258 )
...
* Fixup colored shape backend code
* More colored shape stuff
* Start adding shape change to drawing
* Mostly works!
* Add powercell image for shape test mode
* Make super-duper-sure to release stuff
Fixes colored shape leak
* Move approx poly dp into Contour
* Adjust epsilon threshold
* Add dialog to change pipeline type
* Run spotless
* Make yes red :>
* Move "no" button
* Fix duplication/deletion name logic and switching
* Fix compilation errors from rebase
* Update VisionSourceManager.java
* Update type dialog, remove duplicate popup
The dropdown still switches even if the user says "no" tho
Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com >
2021-09-03 22:20:55 -04:00
Tyler Veness
798b8e398a
Remove hasTargets member variable and fix docs warnings ( #283 )
...
hasTargets is redundant because the same information can be obtained by
checking the size of the targets array.
2021-09-03 22:19:38 -04:00
Tyler Veness
affb27038b
Fix uninitialized variables in PhotonPipelineResult ( #282 )
...
If the default constructor is used, some member variables weren't properly initialized.
2021-09-02 20:48:05 -07:00
Tyler Veness
6767781a41
Update photonlib vendordep JSON URL ( #281 )
2021-09-01 05:11:03 -07:00
Matt
6007cc752d
Add libpicam with gain slider bugfix ( #278 )
...
* Add libpicam with gain slider bugfix
* Patches to get zero-copy working with Pi3.
-- Success/Failure mistmatch assumptions - lots of functions in the JNI return true on failure (not true on success)
-- isVSCMSupported() is currently implemented to be "isVSCMNotSupported()"
Likely, we'll want at least some .so changes
Co-authored-by: Chris Gerth <chrisgerth010592@gmail.com >
v2021.1.5
2021-08-31 23:48:11 -04:00
Banks T
9cf5c77d69
CI test fix ( #280 )
...
Addresses OOM in CI
2021-08-31 20:27:51 -07:00
Matt
9dc5481d1c
Push dev tag last
2021-04-02 17:04:22 -04:00
Matt
3948650e6c
[photonlib] Fix C++ compilation errors ( #266 )
...
Properly builds linux athena artifacts and fixes vendor JSON bug
2021-03-28 14:36:03 -07: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
Banks T
1e715ce4bb
Sim target sorting and "easy" NT entries ( #262 )
...
* Typo fixes, add target sorting
* Add easy NT entries
* spotttttttttttttttttlessssssssssssss
* Run wpiformat
* Fix return on no targets
* formatting hell 2 electric boogaloo
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2021-03-23 12:47:26 -04:00
Vasista Vovveti
f9fd7a0b45
Handle GetLatestResult segfault ( #259 )
...
* Handle GetLatestResult segfault
* Update PhotonCamera.cpp
* Update PhotonCamera.cpp
2021-03-21 16:29:29 -04:00
Matt
e9a3c2d1b8
Pull tags in photon CI ( #263 )
2021-03-15 16:13:45 -07:00
Banks T
129575dd23
Fix Test Mode ( #246 )
...
* Fix test mode path and args
* spoooootless
* Fix unit test resources
2021-03-07 21:39:02 -05:00
Declan Freeman-Gleason
ba8d2691fc
Add more GPU accel support detection and more libpicam error checks ( #257 )
v2021.1.4
2021-03-02 17:49:29 -05:00
Matt
f3d3a59ca0
Use snapshot repo for dev releases ( #241 )
2021-02-23 15:07:43 -05:00
Matt
b653fc7db1
deprecate hasTargets ( #252 )
...
hasTargets has the potential to allow users to inadvertantly create NPEs.
2021-02-23 15:07:31 -05:00
MarkGhebrial
71ee03a531
Draw 2D contours on top ( #254 )
...
Closes #102
2021-02-23 15:07:03 -05:00
Banks T
4a2493ff2e
Remove spamy CSCore prints in unit tests ( #255 )
2021-02-23 11:37:01 -08:00
Banks T
0b20111824
Add update script ( #248 )
2021-02-01 11:00:29 -08:00
Banks T
449977e63b
Update NetworkTablesManager.java ( #250 )
...
Allows NT connection on Romi
2021-01-29 12:20:16 -08:00
Banks T
b0504cbef5
Add VisionModule order determinism ( #245 )
...
This makes sure that VisionModules always appear in the same order.
2021-01-29 10:57:18 -08:00
Matt
fccb395564
Fix CVMat weirdness in calibration unit test ( #240 )
...
* Remove failing assertion
Cannot reproduce locally.
* comment out other test
* Update Calibrate3dPipeTest.java
2021-01-29 07:08:09 -05:00
Chris Gerth
b510417541
Fixup support for log messages in the client web interface ( #247 )
2021-01-26 23:48:14 -05: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