Commit Graph

17 Commits

Author SHA1 Message Date
ori agranat
b2e44e448c re did key names and added new values 2020-01-12 23:32:53 +02:00
Matt
eb5cb0bea0 Always send FPS to UI, remove target width/height box from UI 2020-01-07 21:58:45 -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
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
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
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
Banks Troutman
ceffd68e85 Add speed limit to UI Updates 2019-12-08 22:57:30 -05:00
Omer
0a051a88a3 fixed Stream divisor problems see issue 19 in github issues 2019-12-09 01:45: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
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
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