Commit Graph

1035 Commits

Author SHA1 Message Date
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
ori agranat
b10c9a3a1d minor bugfixes to the ui 2020-01-03 19:44:31 +02: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
5928338574 updated pom 2020-01-03 01:31:05 +02: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
Matt
ea4712b033 add good features to track point finder 2020-01-01 23:28:38 -08:00
ori agranat
27a338e1d1 bug fix in index parsing 2020-01-01 12:18:35 -08:00
ori agranat
207249ca19 WIP: 3D res filter 2020-01-01 22:06:09 +02:00
Unknown
5f8f7ca555 updated pom for release, 3d calibration change, cosmetic changes 2020-01-01 15:46:05 +02:00
Matt
9559bb360e standardize on calibration in inches and add square size as a divisor
This should do the same thing as calibrating in the correct units but it doesnt like meeeeee
2019-12-31 16:38:52 -08:00
Matt
347b3274d7 disable pose print 2019-12-31 16:02:20 -08:00
Matt
1decd2c3d7 Add solvePNP, 3d tab on the UI, and some other misc bug fixes (#35)
* Rebase solvePNP on master

* added 3D tab minimap and csv reader

* More solvePNP

* Create draw pipe for pnp data

* SolvePNP piping work

* Move sorting into solvepnppipe

* Create calibration pipeline

* Update CalibrateSolvePNPPipeline.java

* add camera tilt angle

* Add calibration slider and snapshot button to 3D view

* Mirror updates in the socket handler

* add 3d calibration mode to the pipeline manager

* created calibration functions in ui and backend

* Start plumbing calibration

* Add snapshot and other handling to the RequestHandler

* added select resolution before starting calibration

* Rename solvePNPPipe to bounding box solve pnp pipe

* Update BoundingBoxSolvePNPPipe.java

* Add Mat serializer and CameraCalibrationConfig

* Begun calibration saving, fixed UI/Backend snapshot count mismatch

* Add (unplumbed) option to set checkerboard size

This will allow users to change the units their calibration is in

* Create chessboard.png

* Fix calibration NPE

* changed string serialization to a json send

* bug fixed cancellation button

* Fix spelling of snapshot in 3d.vue

* Plumb resolution change

* Set resolution during config, start on config serialization

* Update .gitignore

* Config fixes

* Start transition away from cvpipeline3d

* fix NPE on uncalibrated cameras

* clear list on fail

* Fix video mode index error

* ignore getters in camera calibration config

* Create json constructor for jsonmat

* get solvePNP mostly returning sane values

* Fix solvePNP bug and add unit test

* FIx calibration mat truncation

* added capture amount model upload and minimap data

* Standardize on meters in calibration and bounding box

* fix json out of bounds and handle null calibration more gracefully

* don't put text on calibrate image, go back to inches

* convert distance to meters

this means calibration will need to be in inches

* Actually save raw contor

* Update GroupContoursPipe.java

* Add all calibration return to camera capture

* hard code 2019 target

* bugfixed draw2d added fail calib popup, merge end and cancel

added the res index to the calib start

* Clarify error message and draw more fancy rectangles

* Cleanup memory in solvepnp

* re did minimap component

* fix npe if left/right is null

* remove references to 2d

* try-catch running the current pipeline

* Add method to find corners using the harris corner detector

* Possibly fix left/right missmatch

* Fix 3D Tab error

* FIx file permissions, mat serializer adjustments

* fixed mini map for field coordinates

* mini map changes fov

* Update SolvePNPPipe.java

* get rid of target corners

* some memory leak fixes

* fixed mini map location

* added position under minimap

* changed player fov look

* put all targets in the web send

* re did target send to ui added target tables, bugfix calibration

* fixed y position

* Add tilt angle to capture properties

* maybe fix y axis in minimap

* Add square size to onCalibrationEnding

* Possibly add square size to UI

* fix NPE with pitch

* Fix bug with sending multiple targets

* Only instantiate 3d stuff if we are in 3d mode

* Fix array list exceptions

* Fix bug in sort contors

list was truncated too early

* added download chess, tilt setting and ordinal tilt,

* added square size connection

* removed unused code

* Update pom version to 2.1-RELEASE

* Send camera calibrations to UI

* Stream pose list to a LIst

* Only stream necessary parts of the aux list entry

* Make broadcastMessage synchronized to prevent ConcurrentModificationExceptions

* added fps counter changed squaresize steps bug fixes in tables

* bugfix camera settings cam wont change

Authored-by: oriagranat9 <oriagranat9@gmail.com>
2019-12-31 14:53:20 +02:00
Unknown
d8c027dae7 added back NT flush 2019-12-22 10:27:50 +02:00
Banks Troutman
0446d3e546 Replace NT timestamp with latency 2019-12-15 00:42:49 -05:00
ori agranat
0fe8b6cb2b adde ( ) - and . to regex 2019-12-10 19:35:48 +02:00
Omer
93df910a2f Version change 2019-12-10 16:23:18 +02:00
OmerZ7
92ccd5aed1 Merge pull request #30 from Chameleon-Vision/pipeline-popup
Pipeline popup for renaming and creating
2019-12-10 15:33:31 +02:00
Omer
4cd172bf47 Fix for Renaming pipeline leaves old config file #14 2019-12-10 00:02:24 +02:00
ori agranat
7233fff173 added regex test for camera name and pipe name 2019-12-09 22:55:29 +02:00
Omer
04ca26a364 Merge branch 'dev' of https://github.com/Chameleon-Vision/chameleon-vision into dev 2019-12-09 22:37:46 +02:00
Omer
9755c4193a Round steam divisor resolution 2019-12-09 22:37:11 +02:00
ori agranat
d5d6171547 added pipeline popup 2019-12-09 22:34:35 +02:00
ori agranat
e1586a3dac bugfix in platform check 2019-12-09 22:10:10 +02:00
Omer
4838b2fdd9 Merge branch 'dev' of https://github.com/Chameleon-Vision/chameleon-vision into dev 2019-12-09 21:38:37 +02:00
Omer
72fb7b2339 NT can set pipeline to out on bound indexes 2019-12-09 21:38:18 +02:00
Banks Troutman
d22dd4b6f6 Removed unnecessary argument 2019-12-09 03:33:09 -05:00
Banks Troutman
2ff56759ea Added FileHelper class to manage setting permissions for all files. 2019-12-09 03:32:22 -05:00
Banks Troutman
09e91cf7e5 Added runtime arg to fix settings permissions, and on-first-init 2019-12-09 03:10:43 -05:00
Banks Troutman
ceffd68e85 Add speed limit to UI Updates 2019-12-08 22:57:30 -05:00
Omer
192e8834f0 Spelling + button style change 2019-12-09 02:09:43 +02:00
Omer
c15e342b5d Fixed problem when rotating camera with stream divisor 2019-12-09 01:56:09 +02:00
Omer
b69806b799 fixed compilation error for test class 2019-12-09 01:45:46 +02:00
Omer
0a051a88a3 fixed Stream divisor problems see issue 19 in github issues 2019-12-09 01:45:14 +02:00
Omer
857172efc9 typo 2019-12-09 01:17:27 +02:00
Omer
37fa1383a3 Merge branch 'dev' of https://github.com/Chameleon-Vision/chameleon-vision into dev 2019-12-08 22:10:22 +02:00
Omer
1f2eac5911 Enum fix for the UI 2019-12-08 22:09:17 +02:00
ori agranat
7d9e88f419 Merge remote-tracking branch 'origin/dev' into dev 2019-12-07 17:12:19 +02:00
ori agranat
4213e28da4 cleaned up single point calibration and bug fixed isBinary in driverMode 2019-12-07 17:11:22 +02:00
Omer
b92a06895c Fixed bug when selecting the same 90 deg rotation twice causes crosshair to move 2019-12-07 01:53:42 +02:00