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 — fix: set last state before current state by Dolphin2Point1 · Pull Request #204 · FTCLib/FTCLib

Conversation

@Dolphin2Point1

@Dolphin2Point1 Dolphin2Point1 commented Jan 10, 2022

Copy link
Copy Markdown
Contributor

Pull Requests

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?

This PR is a line moving fix.

Did this PR introduce a breaking change?

No.

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
@Dolphin2Point1
fix: set last state before current state
335f16b
@JIceberg

JIceberg commented Jan 10, 2022

Copy link
Copy Markdown
Member

Can you explain the direct impact of this more thoroughly, i.e. what the reason for this change was?

All reactions

Sorry, something went wrong.

Uh oh!

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

@ethsanders

ethsanders commented Jan 23, 2022

Copy link
Copy Markdown

Right now since the last state is saved after the current state is updated the last state will always equal the current state. This bug breaks the wasJustReleased method.

All reactions

Sorry, something went wrong.

Uh oh!

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

JIceberg
JIceberg approved these changes Jan 28, 2022
View reviewed changes
@JIceberg
JIceberg changed the base branch from master to dev January 28, 2022 23:04
@JIceberg JIceberg added the bug Something isn't working label Jan 28, 2022
Lunerwalker2
Lunerwalker2 approved these changes Jan 31, 2022
View reviewed changes

@Lunerwalker2 Lunerwalker2 left a comment

Copy link
Copy Markdown
Contributor

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 to me.

Sorry, something went wrong.

Uh oh!

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

All reactions
@JIceberg
JIceberg merged commit a1b58f3 into FTCLib:dev Feb 7, 2022
JIceberg added a commit that referenced this pull request Feb 21, 2022
@JIceberg @puravdatta-sudo
@abidingabi @Lunerwalker2 @KevinSheck @Dolphin2Point1 @litehed
FTCLib 2.0.0 Release (#207)
2e02f85
* fix readme

* fix: contributing guidelines outdated errors

* update PR template

* Add Upgraded Motor Groups (#164)

* feat: upgraded motor groups

* fix: add stop motor when button is released

* fix: missing follower logic in set()

* change x on L106 to motor to be more descriptive

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

* change x on L113 to motor to be more descriptive

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

* feat: verbose comments on flywheel sample

* fix: change NotNull JB annotation to NonNull from androidx

* fix: missing comment for clearing the bulk cache in sample

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

* add: new method to directly power mecanum drive wheels (#186)

* Update Mecanum Sample (#187)

* fix: mecanum sample to be readable and useful

* add: drawings and descriptions throughout sample

* fix: model of robot frame

* feat: update SDK dependencies

* fix: Bumped eocv to 1.5.0 and fixed openCameraDeviceAsync Impls (#193)

* fix: Bumped eocv to 1.5.0 and fixed breaking changes

* fix: Changed the vision release version to 2.0.0

* fix: Better error handling of camera opening

* fix: Surrounded the callback with the lock

* fix: issues with reset in RevIMU (#195)

* fix: issues with ramsete controller ending before command runs (#194)

* Min and Max flipped. Clarify AngleUnit type in parameter name (#201)

min and max arguments flipped on call to constructor. Consider renaming parameter to minDegree and maxDegree to clarify to caller that AngleUnit.DEGREES is assumed.

* Introduce Rate Feature to Motor Encoders (#196)

* feat: clean up motor group inversion and add encoder rate

* fix: typo in javadoc comment

* fix: set last state before current state (#204)

* Capstone Vision for 2021 Season (#200)

* Added capstone detector and pipeline

* Updated values on lines 119 and 117 of Capstone Detector

* Added setters to tune area of detection

* Released hierarchy Mat and now gives definition of contour

* Released all matrices and fully tested pipeline

Should be ready for release

* Vector2d Normalization (#205)

* fix: updated issue templates (#203)

* feat: modify README and dependencies for v2.0 release (#206)

Co-authored-by: Purav Datta <[email protected]>
Co-authored-by: dansman805 <[email protected]>
Co-authored-by: Lunerwalker2 <[email protected]>
Co-authored-by: Kevin Sheck <[email protected]>
Co-authored-by: Dolphin2Point1 <[email protected]>
Co-authored-by: Ethan Leitner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JIceberg JIceberg JIceberg approved these changes
@Lunerwalker2 Lunerwalker2 Lunerwalker2 approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

bug Something isn't working

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.

4 participants

@Dolphin2Point1 @JIceberg @ethsanders @Lunerwalker2
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.