Commit Graph

967 Commits

Author SHA1 Message Date
Prateek Machiraju
a3ee9d8977 Add link to latest development release (#26) 2020-07-11 13:43:30 -07:00
Banks T
a8d4b88097 Attempt stale CI fix (#25)
* Attempt stale CI fix

* Update main.yml

* Update main.yml

* Revert to actions/checkout@v1

* Skip linkcheck

* Fix CI build

Co-authored-by: Vatan Aksoy Tezer <13888103+vatanaksoytezer@users.noreply.github.com>
2020-07-11 22:25:32 +03:00
Prateek Machiraju
0a18d86fe6 Automatically push latest commit to Dev tag (#23) 2020-07-10 15:26:45 -04:00
Matt
1538c5576d Update README.md 2020-07-10 08:16:45 -07:00
Vatan Aksoy Tezer
0a2dc8ecb9 Add placeholder docs (#21)
* Add placeholder docs

* Update index.html

Co-authored-by: Banks T <btrout.dhrs@gmail.com>
2020-07-07 17:58:00 -04:00
Banks T
93a7c96131 Update CSCore to fix linux cam dupes/BCM devices (#20) 2020-07-07 17:42:46 -04:00
Vatan Aksoy Tezer
1bbeed7d3d Add offline docs and respective CI tasks (#19)
* Add gradle javadocs task

* Add task for copying resources

* Add docs tab

* Add online docs

* Add offline docs

* Change gitignore

* Remove web resources

* Fix .gitignore

* Fix lint error

* Fix lint error

* Add CI tasks for offline docs

* Hoepfully fix CI

* Hoepfully fix CI

* Fix lint checker

* Checking on CI

* Fix CI fetch

* Fix EOF and CI repo

Co-authored-by: Vatan <vatan.tezer@polonom.com>
2020-07-07 15:10:28 -04:00
Matt
4cd2262acc Bootup sprint (#18)
* Did some stuff

* Fix gradle, start implementing mjpeg frame consumer

* Did some stuff

* bade changes

* rename camera config to USBCameraConfiguration, add name

* unrename cameraconfiguration

* Add pub/sub framework

* Add setResolution to mjpeg frame consumer

* add NTDataConsumer

* Add some totally broken hsv hacks

* Start refactoring UI data

* Update index.js

* Commit and push, he says

* Fix up some errors

* Fix input tab

* Fix fps

* Update index.js

* Add pipeline field setting, update PipelineManager, fix nullpointers and USBCameraSettables

* Change v-model to point to data()

* update hsv to use mutations

* Work on saving, fix hsv

* Rename shouldErode/shouldDilate to erode and dilate

* Hook all the tabs up to the Store

* Change handleData to handlePipelineData

* camera quirk redo, add ICCSub to SocketHandler

* Fix some property names

* Fixed tons of naming in UI, fix backend for multi-val PSCs, fix PSC enums

* change pipeline type to an int in store

* Fix mutation naming

* Attempt threshold fix

* Update SocketHandler.java

* Add truthy data sending

* Start adding logging support

* [UI] Add delay to slider input boxes (#1)

* [UI] [Backend] potentially fix camera settings, various logging tweaks

* Don't release raw input mat

* add setVideoModeIndex to vision settables

* Implement pipeline index in socket handler, add framework for renaming/changing pipes

* (ish) get pipeline change working

* Create index.html

* Cleanups, fix pipeline index bug, fix stream res for MJPG, add dashboard stream (unused)

* Refactor UI to use mutatePipeline, send pipeline results

* Update NetworkConfig.java

* Change double to number

* Run spotless

* Fix reversal of large/small comparators

* Fix left/right

* Fix pitch/yaw calculation bug, fix area bug

* Use Vue.set instead of assignment

This fixes {{ }}

* Update App.vue

* run spotless

* Actually add pipelines and reassign indecies

* Delete old pipeline configs

Fixes duplication on renaming pipeline

* Start working on deleting pipes

* Fix camera nickname change

* run spotless

* Fix some test stuff

* Update VisionModuleManagerTest.java

* vision source manager test is still broken

* Fix VisionSourceManager test

* Apply spotless 2 electric boogaloo

Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
Co-authored-by: Declan Freeman-Gleason <declanfreemangleason@gmail.com>
Co-authored-by: Aaryan Agrawal <54345060+13Ducks@users.noreply.github.com>
2020-07-07 04:01:58 -04:00
Prateek Machiraju
01712a7396 Fix buildAndCopyUI task on Linux/macOS (#17)
* Fix buildAndCopyUI task on Linux/macOS

* Remove web assets

* Remove index.html

Co-authored-by: Banks T <btrout.dhrs@gmail.com>
2020-07-03 11:49:08 -04:00
Claudius Tewari
e0c1ff8f46 Removing wpilib stuff from coverage. (#16) 2020-07-03 11:45:02 -04:00
Claudius Tewari
09eea8bb53 Adding codecov support. (#13)
* Adding code codecov support.

* Adding status badges for codecov and CI.

* Fixes to codecov in CI.

* Checking build directory.

* Syntax error.

* Fixing xml path.

* Removing token.
2020-07-03 00:45:42 -04:00
Prateek Machiraju
2e7cdf008b Add copyright header to sources (#14)
* Add License to top of each file

* Remove test folder

* Do not apply PhotonVision license to wpilib
2020-07-02 22:02:21 -04:00
Situs84
c7bb24eb74 [UI] Fonts and the Save Button (#9)
Modified the default font and re-styled the save button
2020-06-28 14:58:26 -07:00
Prateek Machiraju
61ff05c7bb [Build] Add buildAndCopyUI Gradle task (#8) 2020-06-28 14:57:23 -07:00
Trevor Nelson
fb03d02456 [UI] Made pipeline menu button color match other icons (#7) 2020-06-28 13:01:17 -07:00
Prateek Machiraju
b92ad59468 [CI] Setup CI with GitHub Actions (#5)
* Setup CI with GitHub Actions

* Add check-lint job

* Remove actions-ci branch trigger
2020-06-28 11:34:12 -07:00
Matt
c3987fbd31 [Gradle] Fix shadowJar classpath and manifest 2020-06-28 10:39:14 -07:00
Banks T
8fe5fa4cc2 Fix old naming in strings (#2) 2020-06-28 06:11:24 -04:00
Declan Freeman-Gleason
895edb988a UI Rebrand (#1)
* Rebrand UI and increase responsiveness

* Fix typo in PipelineViews and SettingsViews directory name

* Inset FPS indicator in stream preview

* Rebrand favicon
2020-06-28 06:11:09 -04:00
Banks T
3e8f3736af Merge pull request #3 from PhotonVision/client-ci
Add client CI Action
2020-06-28 05:05:48 -04:00
Banks T
cc0e55d372 Add client CI Action 2020-06-28 04:54:53 -04:00
Banks Troutman
f2fbe9dd6e Fix .gitignore, move vision package out of common 2020-06-28 04:40:43 -04:00
Matt
bdbd6b9d18 Rename to PhotonVision 2020-06-27 19:11:56 -07:00
Ori agranat
b28d0e046e Advanced ui (#105)
* added keyboard event and logger package

* added logger

* finalized logger

* added object diff filter and undoRedo mixin

* connected undo redo system and cleanup

* updated vuetify version

* [WIP] undo redo integration

* working rollback system

* finished rollback sub components

* finished rollback integration

* lint fix to all client
2020-06-26 14:39:14 +03:00
Ori agranat
f92bf670de Source manager (#99)
* Add some config stuff, run format

* Create JacksonUtils.java

* Fix deserialization, run wpiformat

* initial work on source manager

* work on USB camera class

* wip USB Camera

* rename root folder

* added USB Camera Source

* Fix some errors, run spotless

* finished VIsion source manager

* bugfix unversioned git files and added default cam config constructor

* Apply spotless, add simpler CameraConfiguration ctor

* [WIP] unit tests

* Fixed camera mocking

* added equal test for class

* finalized test

* added another cam to test & rebase

* test bugfix

* Better handle nonexistant files

* removed camera validation and mockito

* Update WPI maven repo to dev, change to version with VideoCapture fix

* added Quirky camera class

* remove name check for cam quirk , apply spotless

* added quirk test

Co-authored-by: Matt <matthew.morley.ca@gmail.com>
Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
2020-06-17 14:12:19 -04:00
mdurrani808
694b5da3fb Updated README.md (#104)
* Updated README.md

Changed to JDK 11 and various installation instructions.

* Updated license and acknowledgements, along with adding a note.
2020-06-17 13:15:13 -04:00
Xzibit
388228b9e8 [WIP] Polygon and Circle Detection (#100)
* Created FindPolygonPipe and DetectPolygonPipeline

* Return CVShape based off approxDP

* Added fromSides method to ContourShape

* Use enums

* Use harris detector

* Switch back to approxpolydp

* Added colourshape pipeline

* Added pipeline test

* Finsihed triangle/quad/custom polygon detection

* Circle detection

* Revert "Circle detection"

This reverts commit f6b2fe785d69b16ca1466a13073dce72a0d54570.

* Added shape drawings to draw2dcontourspipe

* Added circledetection pipe params

* apply spotless

* Added colourtoscalar outside of loop

* Added powercell testing images from ML library

* Powercell tracking works

* Added gradle to gitnore

* Added solvepnp to circles

* Reordered pipes and pipe params

* Fixed tests

* Apply spotless

* chmod gradlew

* gradle wrapper

* Removed commits from gradle

* Fix typo in ColoredShapePipeline

* Apply Spotless

Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
2020-06-15 23:35:10 -04:00
Banks Troutman
9d10c610ec Fix 480p benchmark, add 720p benchmark, fix FPS printout 2020-06-12 21:09:47 -04:00
Banks Troutman
c683bebf76 Tests now print when run, added BenchmarkTests, CVMat togglable output 2020-06-12 19:58:58 -04:00
Banks Troutman
58229b9fe5 Fixed testHeadless bug 2020-06-12 04:36:19 -04:00
Banks Troutman
04c30bcbfd Add testHeadless gradle task to skip showing test images 2020-06-12 04:22:44 -04:00
Matt
0b09e72771 Config (#101)
* Add some config stuff, run format

* Create JacksonUtils.java

* Fix deserialization, run wpiformat

* Update ConfigTest.java

* Change config root folder, auto-sort pipelines when added to CameraConfiguration

* Split ConfigTest tests in to multiple tests

* Fix unsatisfied link error in config test

* Add equals and hashCode to all PipelineSettings classes

* Fix NPE in config test

* run spotless

* Address changes

Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
Co-authored-by: ori agranat <oriagranat9@gmail.com>
2020-06-07 22:25:18 +03:00
Banks Troutman
0664c02890 Add 720p image for 2020 high goal 2020-06-03 00:52:31 -04:00
Unknown
f9fa292260 added target offset test 2020-05-27 21:36:36 +03:00
Banks Troutman
9756420ce3 Update TODOs, minor cleanups, add ledMode to pipelinesettings 2020-05-25 20:29:18 -04:00
Banks T
e652b42912 Pipe unit tests (#97)
* Merge to fix git history

commit df76353dd5d4c9db7d4843c63bae2dcaf4a9b478
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sun Apr 12 12:21:31 2020 -0700

    Add skeleton Manager and Server

    Skeleton VisionModule/VisionModuleManager/Visionprocess

    Add blank temp data class, flesh out VisionModule more

    added server and socket handler template

    Create Logger class

    Run spotless

    Add async to Logger

    Revert "Add async to Logger"

    This reverts commit 130df7b895dc73db6e4c0b7b101d383a2952b49e.

    Add asyncronous file appending

commit 621e3a829ddace486680a9198538cfad278076da
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sun Apr 12 09:04:52 2020 -0700

    Add offset method to get2020Target

commit 75e104770f36084a19fbf98e2470b937203e8dc0
Merge: 292071a 525cf52
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:33:12 2020 -0700

    Merge branch 'logging' into pipeline-bringup

commit 292071adefd90c85355859a5407e9ab786aa2436
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:32:25 2020 -0700

    Update .gitignore

commit a31f64fb65d42a81d1ecf0b4a8ebf03869c4ba03
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:31:17 2020 -0700

    Refactor calibration into `common.calibration`

commit eb91324a263025afdd7fd59a5001c9e95f3d3e6c
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 16:48:52 2020 -0700

    run spotless

commit a6e3f0dda55964c8fb1819ad9386bb21de58cdf9
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 16:48:28 2020 -0700

    Fix JSON mat bug and lifecam default calibration for tests, fix 3d drawing

commit f2d5caea43747c80c9d7417b4ffda32dad95cd71
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:47:12 2020 -0700

    Implement solvePNP, bounding box top and bottom

commit bbf1ea445d72876d5e3c53ae3f41be68adf401ca
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:46:32 2020 -0700

    Add lifecam calibration data

commit 82684920224e5f5ba2924106cbe09beb3d30d42e
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:46:20 2020 -0700

    Update geometry classes

commit cab6a68184b74055ae088d59660ecd7ddff58400
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 12:23:04 2020 -0700

    Clean up draw 3d, fix convex hull bug in corner detection

commit bb3c247e398b72e93c77ece8c97929982edded3e
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:44:57 2020 -0700

    Update Contour.java

commit 94c9b1dd342b17ceed5dca1020f1253cd6f59f62
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:41:05 2020 -0700

    Make Draw2dContours pipe respect showMultiple

commit 0f231888accb19d4018ee2a2c1ccee5e28b48f69
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:40:38 2020 -0700

    Add point detection, fix convex hull calculation in Contour

commit ef360ba7f814fad74b2f07025c08634f09eacf97
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Fri Apr 10 04:51:50 2020 -0400

    Add ContourShape class for approxPolyDp Start on ColoredShape tracking

commit a4e9dd3d4221085e76425e99496bc7d03536a689
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Thu Apr 9 20:53:14 2020 -0700

    Create CornerDetectionPipe based on old solvePNPPipe

commit 88cae18d63f8045a77e5c394af6b3f4d2fab98db
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 20:19:57 2020 -0400

    Add perimeter, MatOfPoint2f getters to Contour

commit 525cf52ec4ac204f7996310fa3d12ad127362bf7
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Tue Mar 31 10:56:57 2020 -0700

    Add slv4j logger to replace the current debugLogger

    I'm waiting on stuff to be less skeletoned to add more

commit 50e70b907317e630ee66fb12b31d0b216e331156
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Tue Mar 31 10:40:42 2020 -0700

    Add logback

commit b739ba287829c07a13079434751214e4ad4e769f
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 00:51:22 2020 -0400

    various cleanups, add DummyFrameConsumer

commit 91c36cb60ee4d40ac3715e3c7f4249e172b15e2b
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 00:48:42 2020 -0400

    Add CVMat, ReflectionUtils to help track rogue Mats

commit 7999c9ee935052436d44ff51d64d60a266aad1fd
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:48:02 2020 -0700

    Apply spotless

commit c39d9dc6fd13aedd2f684d8b2654f8a277ccf587
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:45:19 2020 -0700

    Resolve memory leaks due to unnecessary instantiation of Points

commit 7b507da3c860c2a68d70d968224648819695c489
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:29:53 2020 -0700

    Fix ConcurrentModificationException bug in group contours pipe with potential targets

commit d5c7b26f73f9c74bb2b29723f9987c3f66f8c288
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:49:10 2020 -0400

    Refactor CVPipeline, add ReflectivePipelineTest

commit 2e6a64862cc9c27faf30545cbf89053a4e9a9ed7
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:48:50 2020 -0400

    add TestUtils class, move testimages

commit 6653eb981224f4851cb2ad1219c6ebe08ca70b8f
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:45:11 2020 -0400

    add Releasable interface, implement in classes

commit ef1e3024a1ef8fdfee58d4a8ef00b8aa96146721
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 19:53:41 2020 -0400

    Move test images

commit e25e736741d7432fca42a32f707099e62a1e5a14
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 18:42:43 2020 -0400

    Apply Spotless

commit ff5cee953f80b59b938df5c1a6e1bef4e9fb6573
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 01:52:06 2020 -0400

    Finish ReflectivePipeline, various tweaks

commit 7e6e65127a54ec784d048914fb49ca23b6ee4d29
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 01:49:14 2020 -0400

    Add FrameStaticProperties as member in Frame

    Add FrameStaticProperties as member in Frame

commit 09bf8cb500d89b8f3e11afe5e4d2c56d42ce18f9
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Mon Apr 6 17:45:25 2020 -0400

    Add crosshair to DriverMode, cleanups

commit 570531afb28e422f1e866454cfb8f5b745979ec9
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Mon Apr 6 14:10:39 2020 -0400

    Add DriverPipeline classes, apply spotless

commit 0376bdbdcb6bb9e468d353fff24d4c2ac1a0684a
Author: ori agranat <oriagranat9@gmail.com>
Date:   Mon Apr 6 11:48:36 2020 +0300

    updated Largest ContourSortMode and added centermost

commit 378ba923c06b9a68f4db4972ef5f2b643d8051fd
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Sun Apr 5 23:29:51 2020 -0400

    Add pipeline classes, settings, separate enums

commit 3b41afe125d8cf34e71bcd9c30d85f4f7dac30a8
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Sun Apr 5 23:29:32 2020 -0400

    Refactor package structure, various cleanups

* Apply spotless, attempt fix for SolvePNPTest

* Fix SolvePNP Draw, fix 2019 PNP

* ModuleManager bringup, spotless applied

* Pipeline Test fixes and cleanups

* Fix build.gradle test config, add FileFrameProvider test

* further FileFrameProvider test work

* added unit test before building jar

* Update FileFrameProviderTest

* Run tests as separate CircleCI task

* Fix path for CircleCI test result and caching

* More CircleCI futzery

* Fix file paths and HeadlessException when testing on Linux

* Fix reflective unit test

* initial contour test and tracked target

* Fix settings access in pipeline tests, apply spotless

* Fix TrackedTarget calculations, moved to TargetCalculations and added tests

* Rebased on 3.0

commit 47c2f8cab0
Author: Banks T <btrout.dhrs@gmail.com>
Date:   Mon May 25 14:55:03 2020 -0400

    Module bringup (#95)

    * Merge to fix git history

    commit df76353dd5d4c9db7d4843c63bae2dcaf4a9b478
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sun Apr 12 12:21:31 2020 -0700

        Add skeleton Manager and Server

        Skeleton VisionModule/VisionModuleManager/Visionprocess

        Add blank temp data class, flesh out VisionModule more

        added server and socket handler template

        Create Logger class

        Run spotless

        Add async to Logger

        Revert "Add async to Logger"

        This reverts commit 130df7b895dc73db6e4c0b7b101d383a2952b49e.

        Add asyncronous file appending

    commit 621e3a829ddace486680a9198538cfad278076da
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sun Apr 12 09:04:52 2020 -0700

        Add offset method to get2020Target

    commit 75e104770f36084a19fbf98e2470b937203e8dc0
    Merge: 292071a 525cf52
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 21:33:12 2020 -0700

        Merge branch 'logging' into pipeline-bringup

    commit 292071adefd90c85355859a5407e9ab786aa2436
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 21:32:25 2020 -0700

        Update .gitignore

    commit a31f64fb65d42a81d1ecf0b4a8ebf03869c4ba03
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 21:31:17 2020 -0700

        Refactor calibration into `common.calibration`

    commit eb91324a263025afdd7fd59a5001c9e95f3d3e6c
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 16:48:52 2020 -0700

        run spotless

    commit a6e3f0dda55964c8fb1819ad9386bb21de58cdf9
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 16:48:28 2020 -0700

        Fix JSON mat bug and lifecam default calibration for tests, fix 3d drawing

    commit f2d5caea43747c80c9d7417b4ffda32dad95cd71
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 15:47:12 2020 -0700

        Implement solvePNP, bounding box top and bottom

    commit bbf1ea445d72876d5e3c53ae3f41be68adf401ca
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 15:46:32 2020 -0700

        Add lifecam calibration data

    commit 82684920224e5f5ba2924106cbe09beb3d30d42e
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 15:46:20 2020 -0700

        Update geometry classes

    commit cab6a68184b74055ae088d59660ecd7ddff58400
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 12:23:04 2020 -0700

        Clean up draw 3d, fix convex hull bug in corner detection

    commit bb3c247e398b72e93c77ece8c97929982edded3e
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 11:44:57 2020 -0700

        Update Contour.java

    commit 94c9b1dd342b17ceed5dca1020f1253cd6f59f62
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 11:41:05 2020 -0700

        Make Draw2dContours pipe respect showMultiple

    commit 0f231888accb19d4018ee2a2c1ccee5e28b48f69
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Sat Apr 11 11:40:38 2020 -0700

        Add point detection, fix convex hull calculation in Contour

    commit ef360ba7f814fad74b2f07025c08634f09eacf97
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Fri Apr 10 04:51:50 2020 -0400

        Add ContourShape class for approxPolyDp Start on ColoredShape tracking

    commit a4e9dd3d4221085e76425e99496bc7d03536a689
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Thu Apr 9 20:53:14 2020 -0700

        Create CornerDetectionPipe based on old solvePNPPipe

    commit 88cae18d63f8045a77e5c394af6b3f4d2fab98db
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Thu Apr 9 20:19:57 2020 -0400

        Add perimeter, MatOfPoint2f getters to Contour

    commit 525cf52ec4ac204f7996310fa3d12ad127362bf7
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Tue Mar 31 10:56:57 2020 -0700

        Add slv4j logger to replace the current debugLogger

        I'm waiting on stuff to be less skeletoned to add more

    commit 50e70b907317e630ee66fb12b31d0b216e331156
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Tue Mar 31 10:40:42 2020 -0700

        Add logback

    commit b739ba287829c07a13079434751214e4ad4e769f
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Thu Apr 9 00:51:22 2020 -0400

        various cleanups, add DummyFrameConsumer

    commit 91c36cb60ee4d40ac3715e3c7f4249e172b15e2b
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Thu Apr 9 00:48:42 2020 -0400

        Add CVMat, ReflectionUtils to help track rogue Mats

    commit 7999c9ee935052436d44ff51d64d60a266aad1fd
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Wed Apr 8 21:48:02 2020 -0700

        Apply spotless

    commit c39d9dc6fd13aedd2f684d8b2654f8a277ccf587
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Wed Apr 8 21:45:19 2020 -0700

        Resolve memory leaks due to unnecessary instantiation of Points

    commit 7b507da3c860c2a68d70d968224648819695c489
    Author: Matt <matthew.morley.ca@gmail.com>
    Date:   Wed Apr 8 21:29:53 2020 -0700

        Fix ConcurrentModificationException bug in group contours pipe with potential targets

    commit d5c7b26f73f9c74bb2b29723f9987c3f66f8c288
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Wed Apr 8 03:49:10 2020 -0400

        Refactor CVPipeline, add ReflectivePipelineTest

    commit 2e6a64862cc9c27faf30545cbf89053a4e9a9ed7
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Wed Apr 8 03:48:50 2020 -0400

        add TestUtils class, move testimages

    commit 6653eb981224f4851cb2ad1219c6ebe08ca70b8f
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Wed Apr 8 03:45:11 2020 -0400

        add Releasable interface, implement in classes

    commit ef1e3024a1ef8fdfee58d4a8ef00b8aa96146721
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Tue Apr 7 19:53:41 2020 -0400

        Move test images

    commit e25e736741d7432fca42a32f707099e62a1e5a14
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Tue Apr 7 18:42:43 2020 -0400

        Apply Spotless

    commit ff5cee953f80b59b938df5c1a6e1bef4e9fb6573
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Tue Apr 7 01:52:06 2020 -0400

        Finish ReflectivePipeline, various tweaks

    commit 7e6e65127a54ec784d048914fb49ca23b6ee4d29
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Tue Apr 7 01:49:14 2020 -0400

        Add FrameStaticProperties as member in Frame

        Add FrameStaticProperties as member in Frame

    commit 09bf8cb500d89b8f3e11afe5e4d2c56d42ce18f9
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Mon Apr 6 17:45:25 2020 -0400

        Add crosshair to DriverMode, cleanups

    commit 570531afb28e422f1e866454cfb8f5b745979ec9
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Mon Apr 6 14:10:39 2020 -0400

        Add DriverPipeline classes, apply spotless

    commit 0376bdbdcb6bb9e468d353fff24d4c2ac1a0684a
    Author: ori agranat <oriagranat9@gmail.com>
    Date:   Mon Apr 6 11:48:36 2020 +0300

        updated Largest ContourSortMode and added centermost

    commit 378ba923c06b9a68f4db4972ef5f2b643d8051fd
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Sun Apr 5 23:29:51 2020 -0400

        Add pipeline classes, settings, separate enums

    commit 3b41afe125d8cf34e71bcd9c30d85f4f7dac30a8
    Author: Banks Troutman <btrout.dhrs@gmail.com>
    Date:   Sun Apr 5 23:29:32 2020 -0400

        Refactor package structure, various cleanups

    * Apply spotless, attempt fix for SolvePNPTest

    * Fix SolvePNP Draw, fix 2019 PNP

    * Add active mat count to CVMat prints, fix NPE in contour release

    * Change providers/consumers to extend Provider/Supplier classes

    * ModuleManager bringup, spotless applied

    * Pipeline Test fixes and cleanups

    * Add getName to FrameProvider, set thread name in VisionRunner

    * VisionModuleManager test

    * God

    * Apply Spotless

* Fix SolvePNPTest merge issue

Co-authored-by: ori agranat <oriagranat9@gmail.com>
Co-authored-by: Matt <matthew.morley.ca@gmail.com>
2020-05-25 22:50:34 +03:00
Ori agranat
9141efa2ed Ui rework (#96)
* updated libs, folder rework

* started store modules added data handle mixin

* more store rework

* name refractor and component split

* bug fixes and code cleanup
2020-05-25 22:46:44 +03:00
Banks T
47c2f8cab0 Module bringup (#95)
* Merge to fix git history

commit df76353dd5d4c9db7d4843c63bae2dcaf4a9b478
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sun Apr 12 12:21:31 2020 -0700

    Add skeleton Manager and Server

    Skeleton VisionModule/VisionModuleManager/Visionprocess

    Add blank temp data class, flesh out VisionModule more

    added server and socket handler template

    Create Logger class

    Run spotless

    Add async to Logger

    Revert "Add async to Logger"

    This reverts commit 130df7b895dc73db6e4c0b7b101d383a2952b49e.

    Add asyncronous file appending

commit 621e3a829ddace486680a9198538cfad278076da
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sun Apr 12 09:04:52 2020 -0700

    Add offset method to get2020Target

commit 75e104770f36084a19fbf98e2470b937203e8dc0
Merge: 292071a 525cf52
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:33:12 2020 -0700

    Merge branch 'logging' into pipeline-bringup

commit 292071adefd90c85355859a5407e9ab786aa2436
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:32:25 2020 -0700

    Update .gitignore

commit a31f64fb65d42a81d1ecf0b4a8ebf03869c4ba03
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 21:31:17 2020 -0700

    Refactor calibration into `common.calibration`

commit eb91324a263025afdd7fd59a5001c9e95f3d3e6c
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 16:48:52 2020 -0700

    run spotless

commit a6e3f0dda55964c8fb1819ad9386bb21de58cdf9
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 16:48:28 2020 -0700

    Fix JSON mat bug and lifecam default calibration for tests, fix 3d drawing

commit f2d5caea43747c80c9d7417b4ffda32dad95cd71
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:47:12 2020 -0700

    Implement solvePNP, bounding box top and bottom

commit bbf1ea445d72876d5e3c53ae3f41be68adf401ca
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:46:32 2020 -0700

    Add lifecam calibration data

commit 82684920224e5f5ba2924106cbe09beb3d30d42e
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 15:46:20 2020 -0700

    Update geometry classes

commit cab6a68184b74055ae088d59660ecd7ddff58400
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 12:23:04 2020 -0700

    Clean up draw 3d, fix convex hull bug in corner detection

commit bb3c247e398b72e93c77ece8c97929982edded3e
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:44:57 2020 -0700

    Update Contour.java

commit 94c9b1dd342b17ceed5dca1020f1253cd6f59f62
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:41:05 2020 -0700

    Make Draw2dContours pipe respect showMultiple

commit 0f231888accb19d4018ee2a2c1ccee5e28b48f69
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Sat Apr 11 11:40:38 2020 -0700

    Add point detection, fix convex hull calculation in Contour

commit ef360ba7f814fad74b2f07025c08634f09eacf97
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Fri Apr 10 04:51:50 2020 -0400

    Add ContourShape class for approxPolyDp Start on ColoredShape tracking

commit a4e9dd3d4221085e76425e99496bc7d03536a689
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Thu Apr 9 20:53:14 2020 -0700

    Create CornerDetectionPipe based on old solvePNPPipe

commit 88cae18d63f8045a77e5c394af6b3f4d2fab98db
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 20:19:57 2020 -0400

    Add perimeter, MatOfPoint2f getters to Contour

commit 525cf52ec4ac204f7996310fa3d12ad127362bf7
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Tue Mar 31 10:56:57 2020 -0700

    Add slv4j logger to replace the current debugLogger

    I'm waiting on stuff to be less skeletoned to add more

commit 50e70b907317e630ee66fb12b31d0b216e331156
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Tue Mar 31 10:40:42 2020 -0700

    Add logback

commit b739ba287829c07a13079434751214e4ad4e769f
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 00:51:22 2020 -0400

    various cleanups, add DummyFrameConsumer

commit 91c36cb60ee4d40ac3715e3c7f4249e172b15e2b
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Thu Apr 9 00:48:42 2020 -0400

    Add CVMat, ReflectionUtils to help track rogue Mats

commit 7999c9ee935052436d44ff51d64d60a266aad1fd
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:48:02 2020 -0700

    Apply spotless

commit c39d9dc6fd13aedd2f684d8b2654f8a277ccf587
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:45:19 2020 -0700

    Resolve memory leaks due to unnecessary instantiation of Points

commit 7b507da3c860c2a68d70d968224648819695c489
Author: Matt <matthew.morley.ca@gmail.com>
Date:   Wed Apr 8 21:29:53 2020 -0700

    Fix ConcurrentModificationException bug in group contours pipe with potential targets

commit d5c7b26f73f9c74bb2b29723f9987c3f66f8c288
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:49:10 2020 -0400

    Refactor CVPipeline, add ReflectivePipelineTest

commit 2e6a64862cc9c27faf30545cbf89053a4e9a9ed7
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:48:50 2020 -0400

    add TestUtils class, move testimages

commit 6653eb981224f4851cb2ad1219c6ebe08ca70b8f
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Wed Apr 8 03:45:11 2020 -0400

    add Releasable interface, implement in classes

commit ef1e3024a1ef8fdfee58d4a8ef00b8aa96146721
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 19:53:41 2020 -0400

    Move test images

commit e25e736741d7432fca42a32f707099e62a1e5a14
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 18:42:43 2020 -0400

    Apply Spotless

commit ff5cee953f80b59b938df5c1a6e1bef4e9fb6573
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 01:52:06 2020 -0400

    Finish ReflectivePipeline, various tweaks

commit 7e6e65127a54ec784d048914fb49ca23b6ee4d29
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Tue Apr 7 01:49:14 2020 -0400

    Add FrameStaticProperties as member in Frame

    Add FrameStaticProperties as member in Frame

commit 09bf8cb500d89b8f3e11afe5e4d2c56d42ce18f9
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Mon Apr 6 17:45:25 2020 -0400

    Add crosshair to DriverMode, cleanups

commit 570531afb28e422f1e866454cfb8f5b745979ec9
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Mon Apr 6 14:10:39 2020 -0400

    Add DriverPipeline classes, apply spotless

commit 0376bdbdcb6bb9e468d353fff24d4c2ac1a0684a
Author: ori agranat <oriagranat9@gmail.com>
Date:   Mon Apr 6 11:48:36 2020 +0300

    updated Largest ContourSortMode and added centermost

commit 378ba923c06b9a68f4db4972ef5f2b643d8051fd
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Sun Apr 5 23:29:51 2020 -0400

    Add pipeline classes, settings, separate enums

commit 3b41afe125d8cf34e71bcd9c30d85f4f7dac30a8
Author: Banks Troutman <btrout.dhrs@gmail.com>
Date:   Sun Apr 5 23:29:32 2020 -0400

    Refactor package structure, various cleanups

* Apply spotless, attempt fix for SolvePNPTest

* Fix SolvePNP Draw, fix 2019 PNP

* Add active mat count to CVMat prints, fix NPE in contour release

* Change providers/consumers to extend Provider/Supplier classes

* ModuleManager bringup, spotless applied

* Pipeline Test fixes and cleanups

* Add getName to FrameProvider, set thread name in VisionRunner

* VisionModuleManager test

* God

* Apply Spotless
2020-05-25 21:55:03 +03:00
Banks T
1149bf9c55 Pipeline Bringup (#94)
* Refactor package structure, various cleanups

* Add pipeline classes, settings, separate enums

* updated Largest ContourSortMode and added centermost

* Add DriverPipeline classes, apply spotless

* Add crosshair to DriverMode, cleanups

* Add FrameStaticProperties as member in Frame

Add FrameStaticProperties as member in Frame

* Finish ReflectivePipeline, various tweaks

* Apply Spotless

* Move test images

* add Releasable interface, implement in classes

* add TestUtils class, move testimages

* Refactor CVPipeline, add ReflectivePipelineTest

* Fix ConcurrentModificationException bug in group contours pipe with potential targets

* Resolve memory leaks due to unnecessary instantiation of Points

* Apply spotless

* Add CVMat, ReflectionUtils to help track rogue Mats

* various cleanups, add DummyFrameConsumer

* Add logback

* Add slv4j logger to replace the current debugLogger

I'm waiting on stuff to be less skeletoned to add more

* Add perimeter, MatOfPoint2f getters to Contour

* Create CornerDetectionPipe based on old solvePNPPipe

* Add ContourShape class for approxPolyDp Start on ColoredShape tracking

* Add point detection, fix convex hull calculation in Contour

* Make Draw2dContours pipe respect showMultiple

* Update Contour.java

* Clean up draw 3d, fix convex hull bug in corner detection

* Update geometry classes

* Add lifecam calibration data

* Implement solvePNP, bounding box top and bottom

* Fix JSON mat bug and lifecam default calibration for tests, fix 3d drawing

* run spotless

* Refactor calibration into `common.calibration`

* Update .gitignore

* Add offset method to get2020Target

* Various cleanups, add PipelineType enum

* Apply spotless

Co-authored-by: ori agranat <oriagranat9@gmail.com>
Co-authored-by: Matt <matthew.morley.ca@gmail.com>
2020-04-12 18:37:14 -04:00
Claudius Tewari
64d7cda98c File Frame Provider (#91)
* Add FileFrameProvider.

* Adding camera properties to the frame providers.

* Fix updating properties.

* Remove updating fov.

* Fix formatting error.
2020-03-31 17:28:36 -04:00
Matt
d527f44d50 Merge pull request #89 from Chameleon-Vision/codeowners
Add CODEOWNERS file
2020-03-30 11:17:26 -07:00
Banks Troutman
176af57e37 add CODEOWNERS file 2020-03-30 14:13:42 -04:00
Modelmat
600a75dfa9 Add git-diff check to ensure spotless was run (#87) 2020-03-30 14:01:51 -04:00
Prateek Machiraju
2eff679f17 Port CV Pipes to 3.0 (#86)
* Initial port of pipes to 3.0

* Add PotentialTarget, change TrackedTarget creation

* Fix Group2dContoursPipe, convert pipes to use Contour, Apply spotless

* Fix Draw2dCrosshairPipe

* Apply Spotless

* Some cleanup

* more fixes

Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
2020-03-30 13:57:32 -04:00
Matt
92ac6e0f77 make gradlew executable 2020-03-29 21:57:04 -07:00
Matt
11c6ce44fe add gradlew wrapper jar 2020-03-29 21:52:12 -07:00
Matt
897943e022 javadoc some of solvePNPpipe 2020-03-29 15:08:45 -07:00
Banks Troutman
8a4f55ca73 Add PotentialTarget, change TrackedTarget creation 2020-03-29 16:00:36 -04:00
Banks Troutman
7f389c5c9e Target grouping now in TrackedTarget 2020-03-29 03:19:10 -04:00
cttdev
90d463a530 Making 2 tabs into 4 spaces. 2020-03-28 21:52:36 -07:00