Commit Graph

94 Commits

Author SHA1 Message Date
Banks Troutman
5d40aa1c3d Gain fix for non-PS3Eye cameras 2020-01-16 22:04:02 -05:00
Matt
8f10f33cf7 disable memory manager for now
Mem usage looks fine without it
2020-01-16 11:21:56 -08:00
Matt
d28cf8ef63 Merge branch 'dev' of https://github.com/chameleon-vision/Chameleon-Vision into dev 2020-01-15 21:45:45 -08:00
Matt
82a779743e Remove unused stream queue in vision process 2020-01-15 21:45:16 -08:00
Banks T
c5a1694012 Add NetworkTablesManager (#48)
* Add NetworkTablesManager, various cleanups

* Add auto-restart when team number changes.
2020-01-16 00:21:00 -05:00
ori agranat
b935113eb1 cleaned up matt's code 2020-01-15 22:32:25 +02:00
Matt
ddda8b17c3 Add backend code for sending points 2020-01-15 12:04:14 -08:00
Matt
ec93c0225c Start on adding point settings to request handler 2020-01-14 08:21:50 -08:00
ori agranat
c46d4e04b0 added custom cvs upload and premade targets 2020-01-13 21:48:24 +02:00
Matt
709752249d Update corner points to match limelight 2020-01-13 08:39:37 -08:00
Matt
a6654fa24b Add new corner detection algorithm for solvePNP 2020-01-12 23:26:35 -08:00
ori agranat
b2e44e448c re did key names and added new values 2020-01-12 23:32:53 +02:00
Unknown
72c4a3ccb9 dropped min fps for some Chinese cameras 2020-01-11 19:35:30 +02:00
ori agranat
96e358e036 added back ui port changing 2020-01-11 12:39:25 +02:00
Matt
28f4fbeddd More descriptive exceptions 2020-01-09 14:48:32 -08:00
Matt
832e0d9d8f Add bgr to allowed video modes 2020-01-09 14:44:53 -08:00
Matt
c12b181aba Add more descriptive exception to USBCameraCapture 2020-01-09 14:40:38 -08:00
Matt
eb5cb0bea0 Always send FPS to UI, remove target width/height box from UI 2020-01-07 21:58:45 -08:00
Matt
d2874f1c73 Fix chmod windows bug 2020-01-07 21:45:34 -08:00
Redrield
3218b6ae36 Normalize Unicode out of folder name (#39) 2020-01-07 19:49:31 -05:00
oriagranat9
b3b64d6d89 Target region (#38)
* WIP: target region

* working math

* working directions

* removed if statements

* working portrait and landscape

* Revert "working portrait and landscape "

This reverts commit 8ce2ead1b41d372f72128b7fceeaab09e0834eaa.

* finalized targeting region
2020-01-07 13:07:52 -08:00
Matt
37a1c60595 Merge branch 'dev' of https://github.com/chameleon-vision/Chameleon-Vision into dev 2020-01-06 19:32:48 -08:00
Matt
169f589897 Fix bug in calibrate 3d pipeline 2020-01-06 18:55:28 -08:00
Unknown
da5b1919f0 changed nt pose and minor bug fixes
- cast error when switching to driver mode
- pipeline entry not changing back if no pipe exists
2020-01-06 14:43:56 +02:00
Matt
1aac80c63a Update box for 2020 2020-01-05 22:29:41 -08:00
Matt
46e66b9a3b Use approx poly for 2020 solvePNP 2020-01-05 21:56:14 -08:00
Matt
155ad6f70a hard code 2020 corner finder 2020-01-04 23:45:14 -08:00
Matt
6b7aaa2326 Fix gitignore, compilation errors 2020-01-04 23:25:13 -08:00
Matt
6bccd1a94f Hard code high goal solvePNP 2020-01-04 23:04:06 -08:00
Matt
5c4acc411d Add 2020 vision code 2020-01-04 22:50:13 -08:00
Matt
7806afc628 Fix compilation error after merge 2020-01-04 22:11:35 -08:00
Matt
42399017e5 Memory optomizations in group contors pipe 2020-01-04 22:05:05 -08:00
oriagranat9
159dea1e25 Event scripts (#36)
* Begin scripting work

* More scripting work

* Finalize scripting system

* Begin implementing script events

* Finalize script system

Co-authored-by: Banks T <btrout.dhrs@gmail.com>
2020-01-04 06:20:28 -08:00
Matt
2ce8a8dad9 Avoid allocating a new mat in solvePNP, perf. increases in group contors pipe 2020-01-03 16:00:18 -08:00
Matt
a700001244 Fix target grouping bug 2020-01-03 15:49:59 -08:00
Matt
d3b0ddd3fc Fix sort left/right bug 2020-01-03 15:48:59 -08:00
Matt
f9aca69980 Start moving stream into vision process
Should probs move into a pipe to be idimatic
2020-01-03 09:54:05 -08:00
Matt
423cf2daf9 Help more with memory usage in speckle reject and draw pipes 2020-01-03 09:28:41 -08:00
Matt
6920f2e1a4 Fix memory leak in sort contors pipe 2020-01-02 20:21:35 -08:00
Matt
0c1e31bcf3 Fix memory leak in sort contros pipe 2020-01-02 18:47:27 -08:00
Matt
b9a0ca2f44 Actually cache the last target
We were trying to but i never hooked this part up
2020-01-02 16:35:03 -08:00
ori agranat
3219637451 removed mat release 2020-01-03 01:30:25 +02:00
Matt
113ec3c217 avoid creating new mats in group contors pipe 2020-01-02 12:28:51 -08:00
Matt
23796184e0 Explicitly release all the intermediate results 2020-01-02 11:43:04 -08:00
Matt
14e3babd2a remove contor from tracked target 2020-01-02 11:27:34 -08:00
Matt
a1c54db1be Merge branch 'dev' of https://github.com/chameleon-vision/Chameleon-Vision into dev 2020-01-02 11:11:39 -08:00
Matt
6366ca6296 Add release method to standard cv pipeline 2020-01-02 11:11:36 -08:00
ori agranat
7aa17e83b7 re did pipeline duplication 2020-01-02 20:45:54 +02:00
Matt
844d10335c Add method to find most extreme per-quadrant points for solvePNP 2020-01-02 09:53:44 -08:00
Matt
bf54a2d53f offset found corners by old tl position 2020-01-01 23:32:25 -08:00