GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Stable v1.2.0 into Master by JIceberg · Pull Request #159 · FTCLib/FTCLib

Conversation

@JIceberg

@JIceberg JIceberg commented Dec 26, 2020

Copy link
Copy Markdown
Member

Stable v1.2.0 into Master

Please note that we accept pull requests from anyone, but that does not mean it will be merged.

What kind of change does this PR introduce?

  • Other - stable release

Did this PR introduce a breaking change?

Yes, please list breaking changes

  • ServoEx method rotate() was renamed rotateBy() and rotateAngle() was renamed rotateByAngle()
  • SimpleServo constructor was modified to fit the new AngleUnit utility methods
  • RevColorSensorV3 was removed
  • Removed P controller from CRServo

Please make sure your PR satisfies the requirements of the contributing page

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Jaiming724 and others added 30 commits October 17, 2020 18:30
@Jaiming724
removed Skystone Vision related files for UG
2f6db2f
@Jaiming724
added Ultimate Goal Detector and Sample
2221c01
@Jaiming724
renamed vision files to help distinguish between using rect to detect…
558c4a7
… vs contours
@JarnaChao09
feat-vision: setting up kotlin in build.gradle
c560a67
@JarnaChao09
feat-vision: add UGContourRingPipeline and Detector
d8d645b
@Jaiming724
set some variables private and added setThreshold method
b8e2789
@Jaiming724
added comments to vision files
8bd4128
@Jaiming724
Merge branch 'feat-vision' of https://github.com/FTCLib/FTCLib into f…
5e8d63a
…eat-vision
@Jaiming724
formatted vision files to make it nicer looking
3c3fa38
@Jaiming724
added setters for rectangle positions
3bacf42
@JIceberg
feat: unit testing for button polling and encoder tests
1492c5d
Signed-off-by: JIceberg <[email protected]>
@JIceberg
feat: PrintCommand and SelectCommand convenience commands
05d6626
Signed-off-by: JIceberg <[email protected]>
@JIceberg
feat: set default target position to current position if user has not…
b9661ca
… set a target

Signed-off-by: JIceberg <[email protected]>
@JIceberg
feat: add waitForStart() to CommandOpMode to relieve requirement from…
99c4245
… user

Signed-off-by: JIceberg <[email protected]>
@JIceberg
feat: add custom CPR and RPM options to Motor objects
9d7741b
Signed-off-by: JIceberg <[email protected]>
@JIceberg
fix: javadocs link
58fba93
Signed-off-by: JIceberg <[email protected]>
@JIceberg
refactor: rebase master into dev
8dacd47
@JIceberg
fix: installation version number
ec8bd78
Signed-off-by: JIceberg <[email protected]>
@puravdatta-sudo
Add bare motor to motorex
9c77467
@JIceberg
fix: add custom cpr/rpm constructor to MotorEx
f2ed6e0
Signed-off-by: JIceberg <[email protected]>
@JIceberg
fix: change BARE rpm to 6k
7a33261
Signed-off-by: JIceberg <[email protected]>
@JarnaChao09
feat-vision: update vision to tuned algorithm and include horizon check
0be419f
@puravdatta-sudo
Merge pull request #107 from FTCLib/feat-vision
0c9fd9a
@JIceberg
fix: remove gamepads from CommandOpMode
941cf64
@JIceberg
refactor: remove instances of driverOp and toolOp
8b659d5
Signed-off-by: JIceberg <[email protected]>
@JIceberg
fix: update command-bsaed opmodes to match paradigm standards
92b7bc0
Signed-off-by: JIceberg <[email protected]>
@JIceberg @Jaiming724
@JarnaChao09 @puravdatta-sudo
Upgraded Gamepad (#109)
447fa9a
* removed Skystone Vision related files for UG

* added Ultimate Goal Detector and Sample

* renamed vision files to help distinguish between using rect to detect vs contours

* feat-vision: setting up kotlin in build.gradle

* feat-vision: add UGContourRingPipeline and Detector

* set some variables private and added setThreshold method

* added comments to vision files

* formatted vision files to make it nicer looking

* added setters for rectangle positions

* feat: unit testing for button polling and encoder tests

Signed-off-by: JIceberg <[email protected]>

* feat: PrintCommand and SelectCommand convenience commands

Signed-off-by: JIceberg <[email protected]>

* feat: set default target position to current position if user has not set a target

Signed-off-by: JIceberg <[email protected]>

* feat: add waitForStart() to CommandOpMode to relieve requirement from user

Signed-off-by: JIceberg <[email protected]>

* feat: add custom CPR and RPM options to Motor objects

Signed-off-by: JIceberg <[email protected]>

* fix: javadocs link

Signed-off-by: JIceberg <[email protected]>

* fix: installation version number

Signed-off-by: JIceberg <[email protected]>

* Add bare motor to motorex

* fix: add custom cpr/rpm constructor to MotorEx

Signed-off-by: JIceberg <[email protected]>

* fix: change BARE rpm to 6k

Signed-off-by: JIceberg <[email protected]>

* feat-vision: update vision to tuned algorithm and include horizon check

* fix: remove gamepads from CommandOpMode

* refactor: remove instances of driverOp and toolOp

Signed-off-by: JIceberg <[email protected]>

* fix: version in readme.md

Signed-off-by: JIceberg <[email protected]>

* feat: upgraded gamepads with sample and unit tests

Signed-off-by: JIceberg <[email protected]>

Co-authored-by: Jiaming Wang <[email protected]>
Co-authored-by: JarnaChao09 <[email protected]>
Co-authored-by: Purav Datta <[email protected]>
@JIceberg
fix: atSetPoint returned true unless calculate() is called first
2e64412
Signed-off-by: JIceberg <[email protected]>
@JIceberg
Merge remote-tracking branch 'origin/dev' into dev
6e4c562
@JIceberg
feat: more unit tests for the PID controller
1f94479
Signed-off-by: JIceberg <[email protected]>
puravdatta-sudo and others added 26 commits December 17, 2020 23:10
@puravdatta-sudo
Merge pull request #134 from FTCLib/timer-tests
3154d0a
Fix Pause Test For Timer
@JIceberg @puravdatta-sudo
feat: remove PController from CRServo (#136)
49f2c76
Co-authored-by: Purav Datta <[email protected]>
@puravdatta-sudo
Merge pull request #143 from FTCLib/fix-imu-efficiency
ec8f4fe
Fix IMU Efficiency
@JIceberg
Delete RevColorSensorV3.java (#150)
1798fe1
@JIceberg @JarnaChao09
Gamepad Extensions for Kotlin (#111)
20a5b9c
* gamepad-ext: add infix gamepad functions

* gamepad-ext: add infix gamepad functions

* feat: finish adding all infix trigger methods

* Add Kotlin Samples (#144)

* feat: add kotlin to example module gradle

* feat: add kotlin samples

* feat-samples: add UGContourRingPipeline Kt/Java Examples

Co-authored-by: JarnaChao09 <[email protected]>

* feat: add gamepad sample and fix simpleservo sample

* refactor: InterupLUTExtSample.kt to LUTExtSample.kt

Co-authored-by: JarnaChao09 <[email protected]>
@JIceberg
fix: issue with non-default dpp for target position
4333e05
@JIceberg
change version back to 1.2.0
7fa6f39
@puravdatta-sudo
Merge pull request #151 from FTCLib/fix-target-distance
9a61377
@JarnaChao09 @JIceberg @puravdatta-sudo
Feature detector fix (#149)
53c0c7d
* add portrait mode to detector

* fix: setting camera width and height and orientation to companion object
values

* refactor: remove all NOTE comment

* Delete RevColorSensorV3.java (#150)

* Gamepad Extensions for Kotlin (#111)

* gamepad-ext: add infix gamepad functions

* gamepad-ext: add infix gamepad functions

* feat: finish adding all infix trigger methods

* Add Kotlin Samples (#144)

* feat: add kotlin to example module gradle

* feat: add kotlin samples

* feat-samples: add UGContourRingPipeline Kt/Java Examples

Co-authored-by: JarnaChao09 <[email protected]>

* feat: add gamepad sample and fix simpleservo sample

* refactor: InterupLUTExtSample.kt to LUTExtSample.kt

Co-authored-by: JarnaChao09 <[email protected]>

* fix: issue with non-default dpp for target position

* change version back to 1.2.0

* add portrait mode to detector

* fix: setting camera width and height and orientation to companion object
values

* refactor: remove all NOTE comment

* fix: unsettable width, height, and size in rect detector

Co-authored-by: Jackson Isenberg <[email protected]>
Co-authored-by: JIceberg <[email protected]>
Co-authored-by: Purav Datta <[email protected]>
@JIceberg
Fix Sensor Styling and Invalid Logic (#158)
4dee559
* fix: styling issues and bugs with sensors

* feat: simplified code in DistanceTarget
@JIceberg
feat: cleanup code, imports, and samples (#162)
0bb119d
@JIceberg
Add Contour Detector Sample (#163)
8baf148
* refactor: move rect sample to vision package

* feat: contour detector sample

* add configuration modification to the sample
@JIceberg
remove javadoc from readme
8e13e33
@JIceberg
Merge branch 'master' into dev
8995d7f
# Conflicts:
#	core/build.gradle
#	core/src/main/java/com/arcrobotics/ftclib/command/SelectCommand.java
#	core/src/main/java/com/arcrobotics/ftclib/hardware/motors/CRServo.java
#	core/src/main/java/com/arcrobotics/ftclib/hardware/motors/Motor.java
#	core/src/main/java/com/arcrobotics/ftclib/hardware/motors/MotorEx.java
#	core/src/test/java/com/arcrobotics/ftclib/command/CommandOpModeTest.java
#	core/src/test/java/com/arcrobotics/ftclib/command/CommandSchedulerTests.java
#	core/src/test/java/com/arcrobotics/ftclib/hardware/motors/EncoderTest.java
#	core/vision/build.gradle
#	core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGContourRingDetector.kt
#	core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGContourRingPipeline.kt
#	core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGRectDetector.java
#	examples/src/main/java/com/example/ftclibexamples/CommandSample/SimpleTeleOp.java
#	readme.md
@JIceberg
refactor: fix merge conflicts
e986111
@JIceberg
Merge pull request #166 from JIceberg/dev
bcd5db8
Fix Merge Conflicts Between Dev and Master
@JIceberg
fix: missing kotlin plugin in vision gradle package
4a36e30
@JIceberg
fix: stack overflow with VelocityControl in MotorEx (#167)
42f551f
@JIceberg
Improve MotorEx Velocity and Motor Configuration Type (#169)
8d88b91
* feat: improve velocity in MotorEx and RPM fraction in Motor

* feat: change motor constructors to use this

* feat: add buffer setting and configure motor type for cpr/rpm constructor

* feat: exception thrown for improper buffer fraction
@serivesmejia @JIceberg
Remove normalization from AngleUnit in SimpleServo (#174)
bb01978
* fix: removed normalization from AngleUnit by using internal method

* refactor: using lambdas in SimpleServo internal methods

Co-authored-by: Jackson Isenberg <[email protected]>

* refactor: using ternaries** in SimpleServo internal methods

Co-authored-by: Jackson Isenberg <[email protected]>

Co-authored-by: Jackson Isenberg <[email protected]>
@hudson-dev
Added getRectWidth, getRectHeight, and getRectSize methods in UGConto…
dcf914b
…urRingPipeline.kt (#172)

* feat: Added getRectWidth, getRectHeight, and getRectSize methods in UGContourRingPipeline.kt to expose the width, height, and size of the bounding box.

* Added comments describing the purpose of the getRectWidth, getRectHeight, and getRectSize methods in UGContourRingPipeline.kt

* feat: Added rectWidth, rectHeight, and rectSize variables with getters in UGContourRingPipeline.kt

* Made the rectWidth, rectWidth, and rectSize variables into val properties. Chnaged the maxRect variable to be private as well.
@codeNinjaDev @JIceberg
Improve High Goal Pipelines (#139)
ec4d94b
* added updated vision

* draw both red and blue contours

* clear contour list for current process frame

* fix spacing

* Resolved stylistic changes, don't understand what to change to resolve functionality (such as yellow or misplaced boxes)

* reformat high goal pipelines

* Update core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGBasicHighGoalPipeline.java

* Update core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGBasicHighGoalPipeline.java

* Update core/vision/src/main/java/com/arcrobotics/ftclib/vision/UGAdvancedHighGoalPipeline.java

Co-authored-by: Jackson Isenberg <[email protected]>
@serivesmejia
Bump EOCV to Latest Version for SDK 6.1 (#179)
9e573ae
* refactor: bump EOCV to 1.4.3

* refactor: bump eocv to 1.4.4
@JIceberg
Fix Reset Encoder on Reversed Direction (#180)
af62b16
* fix: issue with resetting the encoder in reversed mode

* make stop motor stop the motor disregarding the runmode
@JIceberg
feat: add motor accel (#173)
b05fe73
@puravdatta-sudo @JIceberg
@Jaiming724 @JarnaChao09 @Lunerwalker2 @abhaybd @codeNinjaDev @litehed @serivesmejia
Migrate to maven (#181)
c55f2b6
* fix: update command-bsaed opmodes to match paradigm standards

Signed-off-by: JIceberg <[email protected]>

* fix: `atSetPoint` returned true unless `calculate()` is called first

Signed-off-by: JIceberg <[email protected]>

* Upgraded Gamepad (#109)

* removed Skystone Vision related files for UG

* added Ultimate Goal Detector and Sample

* renamed vision files to help distinguish between using rect to detect vs contours

* feat-vision: setting up kotlin in build.gradle

* feat-vision: add UGContourRingPipeline and Detector

* set some variables private and added setThreshold method

* added comments to vision files

* formatted vision files to make it nicer looking

* added setters for rectangle positions

* feat: unit testing for button polling and encoder tests

Signed-off-by: JIceberg <[email protected]>

* feat: PrintCommand and SelectCommand convenience commands

Signed-off-by: JIceberg <[email protected]>

* feat: set default target position to current position if user has not set a target

Signed-off-by: JIceberg <[email protected]>

* feat: add waitForStart() to CommandOpMode to relieve requirement from user

Signed-off-by: JIceberg <[email protected]>

* feat: add custom CPR and RPM options to Motor objects

Signed-off-by: JIceberg <[email protected]>

* fix: javadocs link

Signed-off-by: JIceberg <[email protected]>

* fix: installation version number

Signed-off-by: JIceberg <[email protected]>

* Add bare motor to motorex

* fix: add custom cpr/rpm constructor to MotorEx

Signed-off-by: JIceberg <[email protected]>

* fix: change BARE rpm to 6k

Signed-off-by: JIceberg <[email protected]>

* feat-vision: update vision to tuned algorithm and include horizon check

* fix: remove gamepads from CommandOpMode

* refactor: remove instances of driverOp and toolOp

Signed-off-by: JIceberg <[email protected]>

* fix: version in readme.md

Signed-off-by: JIceberg <[email protected]>

* feat: upgraded gamepads with sample and unit tests

Signed-off-by: JIceberg <[email protected]>

Co-authored-by: Jiaming Wang <[email protected]>
Co-authored-by: JarnaChao09 <[email protected]>
Co-authored-by: Purav Datta <[email protected]>

* feat: more unit tests for the PID controller

Signed-off-by: JIceberg <[email protected]>

* fix: tank drive right side multiplier

Signed-off-by: JIceberg <[email protected]>

* feat: change PrintCommand to LogCatCommand

* Rebase Dev to Master Following Hotfix (#115)

* removed Skystone Vision related files for UG

* added Ultimate Goal Detector and Sample

* renamed vision files to help distinguish between using rect to detect vs contours

* feat-vision: setting up kotlin in build.gradle

* feat-vision: add UGContourRingPipeline and Detector

* set some variables private and added setThreshold method

* added comments to vision files

* formatted vision files to make it nicer looking

* added setters for rectangle positions

* feat: unit testing for button polling and encoder tests

Signed-off-by: JIceberg <[email protected]>

* feat: PrintCommand and SelectCommand convenience commands

Signed-off-by: JIceberg <[email protected]>

* feat: set default target position to current position if user has not set a target

Signed-off-by: JIceberg <[email protected]>

* feat: add waitForStart() to CommandOpMode to relieve requirement from user

Signed-off-by: JIceberg <[email protected]>

* feat: add custom CPR and RPM options to Motor objects

Signed-off-by: JIceberg <[email protected]>

* fix: javadocs link

Signed-off-by: JIceberg <[email protected]>

* fix: installation version number

Signed-off-by: JIceberg <[email protected]>

* Add bare motor to motorex

* fix: add custom cpr/rpm constructor to MotorEx

Signed-off-by: JIceberg <[email protected]>

* fix: change BARE rpm to 6k

Signed-off-by: JIceberg <[email protected]>

* feat-vision: update vision to tuned algorithm and include horizon check

* fix: remove gamepads from CommandOpMode

* refactor: remove instances of driverOp and toolOp

Signed-off-by: JIceberg <[email protected]>

* fix: version in readme.md

Signed-off-by: JIceberg <[email protected]>

* fix: updated version number

* fix: use super and auto-instantiate the controllers

Signed-off-by: JIceberg <[email protected]>

* update version number

Signed-off-by: JIceberg <[email protected]>

* fix: merge error that arose post-rebase

Co-authored-by: Jiaming Wang <[email protected]>
Co-authored-by: JarnaChao09 <[email protected]>
Co-authored-by: Purav Datta <[email protected]>
Co-authored-by: Lunerwalker2 <[email protected]>

* fix: Improved performance of LUT from linear to logarithmic time

* feat: added unit test for LUT

* feat: add UGContourRingDetector

* add comment

* feat: add support for different CameraDirection

* feat: add comments explaining detector

* feat: fix typos

* Pulled from dev branch and readded changes

* fixed isFirstFrame bug and removed some extraneous whitespace

* fixed potential bugs with no target, added aspect ratio filtering, throws exception if target not visible

* Added default angle to getYaw and getPitch methods

* fix: fixed timer bugs, added javadoc, renamed ambiguous method

* feat: added timer unit test

* fix: improved javadoc, improved edge case

* fix: added comments

* fix: vector projection formula

* feat: parallelism for scheduler and default command test

* feat: add StartEndCommand and update license

* refactor: change format of license to markdown

* fix: format license

* feat: toggle-between-commands-binding

Added a method to toggle between two different commands Also can be used with runnables

* Fixed and tested according to your changes

Thanks for pointing that out I used your changes and everything works great now

* Revert "Fixed and tested according to your changes"

This reverts commit c300e7c.

* Ok I fixed it again again

* It was missing one enter

* Tests have been run successfully

pog

* fixed your whitespace

* refactor: implemented AngleUnit in servo wrapper

* refactor: ServoEx docs to complement information on the AngleUnit

* fix: samples using SimpleServo, renamed method

* fix: using consistent units in SimpleServo getAngle

* refactor: using AngleUnit normalize degrees

Co-authored-by: Jackson Isenberg <[email protected]>

* refactor: cleaning up SimpleServo with ternaries

* fix: changed method name from rotate to rotateAngle in sample

* refactor: remove whitespaces & default maxAngle to PI in SimpleServo

* refactor: changed AngleUnit to be individual for each method & removed constructors with default min&max angle

* fix: sample using SimpleServo, updated constructor with angle range

* fix: another sample using SimpleServo constructor

* turnToAngle in SimpleServo to use correct unit (again)

* refactor: rename servo wrapper rotate methods to rotateBy

* feat: upgrade AS and change vision ver

* update README to include new vision version

* fix duplicate tests

* fix: make FLOAT actually FLOAT

* feat: add estimated velocity to MotorEx

* feat: add target distance option

* fix: infinite loop in MotorEx .getVelocity()

Signed-off-by: JIceberg <[email protected]>

* feat: use real-time velocity for velocity control

* fix: use corrected velocity for MotorEx velo control

* fix: have MotorEx interface solely with setPower

* feat: use DcMotorEx velocity in Motor getVelocity

* feat: revert readvalue calue and add readButtons

* Add RunCommand (#140)

* add runcommand

* update default command test with run command

* update tests to use runcommand more idiomatically

* feat: additional default command testing

* refactor: bump all FTC SDK dependencies to 6.1.1

* fix: pause test for timer

* feat: remove PController from CRServo (#136)

Co-authored-by: Purav Datta <[email protected]>

* fix: IMU efficiency on getAngles

* Revert "fix merge conflicts"

This reverts commit afe566b.

* update readme to new maven central 🎉

Co-authored-by: Jackson Isenberg <[email protected]>
Co-authored-by: JIceberg <[email protected]>
Co-authored-by: Jiaming Wang <[email protected]>
Co-authored-by: JarnaChao09 <[email protected]>
Co-authored-by: Lunerwalker2 <[email protected]>
Co-authored-by: Abhay D <[email protected]>
Co-authored-by: Peter Chacko <[email protected]>
Co-authored-by: liteheded <[email protected]>
Co-authored-by: litehed <[email protected]>
Co-authored-by: serivesmejia <[email protected]>
@JIceberg
JIceberg marked this pull request as ready for review May 2, 2021 03:03
@JIceberg
JIceberg requested a review from puravdatta-sudo May 4, 2021 19:38
puravdatta-sudo
puravdatta-sudo approved these changes May 10, 2021
View reviewed changes

@puravdatta-sudo puravdatta-sudo left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, builds fine and doesnt seem to break anything that we know of!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JIceberg
JIceberg merged commit af7dbfa into master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@puravdatta-sudo puravdatta-sudo puravdatta-sudo approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@JIceberg @puravdatta-sudo @Jaiming724 @JarnaChao09 @codeNinjaDev @abhaybd @serivesmejia @litehed @hudson-dev
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.