Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
c15e342b5d Fixed problem when rotating camera with stream divisor 2019-12-09 01:56:09 +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
b92a06895c Fixed bug when selecting the same 90 deg rotation twice causes crosshair to move 2019-12-07 01:53:42 +02:00
Omer
617e9b4b34 Removed commented lines 2019-12-07 00:40:27 +02:00
Omer
ed5c90f51b Fix lack of access problems after moving pipleline impl out of the same package 2019-12-07 00:39:14 +02:00
Omer
88befb4d90 File stucture change, moved Pipeline implementation and their settings to /impl folder, refracted imports 2019-12-07 00:20:04 +02:00
Omer
339d6dc478 Created new CaptureStaticProperties when rotating cam 2019-12-06 23:48:21 +02:00
Omer
32d9a7e3fd change compatator to sqared values to make caluclation faster (no need for sqare root function) 2019-12-05 23:05:01 +02:00
Omer
2040620270 fixed problem with clear points in single point calibration 2019-12-05 23:01:27 +02:00
Omer
7bec1bfdfe Removed java fix for crash bug 2019-12-05 22:10:58 +02:00
Omer
9300273811 disable dual point crosshair for now 2019-12-05 00:23:37 +02:00
Omer
054e6dd002 Reverted subclass "Calibration"
Fixed bug where single point calibration causes crash when no target is found
2019-12-05 00:04:17 +02:00
Omer
4c76d97d25 Added debug print commented 2019-12-05 00:03:25 +02:00
Omer
7f1e8909f3 moved calibration stuff to static class under 2d pipeline settings 2019-12-04 22:49:07 +02:00
Omer
1921ce3a40 removed unsued comment 2019-12-04 22:48:42 +02:00
Omer
a214e83e17 compilation fix 2019-12-04 17:55:08 +02:00
Omer
2ffebfbaee Added crosshair pipe 2019-12-04 16:38:50 +02:00
Banks Troutman
a7dcf08aa8 Pipeline mat copy fix 2019-12-03 13:35:59 -05:00
Banks Troutman
c2cf5a8ad1 Multi-camera fix 2019-12-01 15:40:02 -05:00
ori agranat
1858df993d bug for point data and bug fix for group contours 2019-12-01 22:06:06 +02:00
Banks Troutman
58d421166d Potential UI result fix 2019-12-01 14:45:59 -05:00
Banks Troutman
0f5119b77f Less hacky leak fix for Streamer 2019-12-01 13:38:04 -05:00
Banks Troutman
e48f96420e Modify pipes to pass around same Mat, fix Streamer leak 2019-12-01 13:29:30 -05:00
Banks Troutman
899e718a0b Add timed garbage collection to MemoryManager 2019-12-01 13:29:23 -05:00
Banks Troutman
afbd3cadc8 Fix videomode change on pipeline change, more memory leak hunting 2019-12-01 12:23:09 -05:00
Banks Troutman
a24e633ceb Attempt further memory fixes, begin unit tests, fix DriverMode rotation 2019-12-01 04:39:21 -05:00
Banks Troutman
386d195d2d Move Java backend to properly named folder 2019-12-01 01:44:19 -05:00