GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Stable v1.2.0 into Master by JIceberg · Pull Request #159 · FTCLib/FTCLib Conversation
Member
Stable v1.2.0 into MasterPlease 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?
Did this PR introduce a breaking change?Yes, please list breaking changes
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 reactionsSigned-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> … set a target Signed-off-by: JIceberg <[email protected]> … user Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> * 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]> Signed-off-by: JIceberg <[email protected]> Signed-off-by: JIceberg <[email protected]> Fix Pause Test For Timer Co-authored-by: Purav Datta <[email protected]> Fix IMU Efficiency * 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]> * 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]> * fix: styling issues and bugs with sensors * feat: simplified code in DistanceTarget * refactor: move rect sample to vision package * feat: contour detector sample * add configuration modification to the sample # 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 Fix Merge Conflicts Between Dev and Master * 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 * 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]> …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. * 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]> * refactor: bump EOCV to 1.4.3 * refactor: bump eocv to 1.4.4 * fix: issue with resetting the encoder in reversed mode * make stop motor stop the motor disregarding the runmode * 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
marked this pull request as ready for review
puravdatta-sudo
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |