Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Autonomous not stopping after initial detection #3

Open
strangejmaster opened this issue Feb 21, 2024 · 1 comment
Open

Autonomous not stopping after initial detection #3

strangejmaster opened this issue Feb 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@strangejmaster
Copy link

Description

As noted in the autonomous ( #2 ) pull request the robot doesn't freeze after detecting an object.

@strangejmaster strangejmaster added the bug Something isn't working label Feb 21, 2024
strangejmaster added a commit that referenced this issue Feb 21, 2024
The have_seen boolean was being declared inside the runOpMode() loop,
this means that every time the value the camera should have
stopped detecting, the value was reset to false causing issue #3
strangejmaster added a commit that referenced this issue Feb 21, 2024
The have_seen boolean was being declared inside the runOpMode() loop,
this means that every time the value the camera should have
stopped detecting, the value was reset to false causing issue #3
@strangejmaster
Copy link
Author

strangejmaster commented Feb 21, 2024

I believe the fix in commit ce99543 and eafa586 should prevent this bug. Testing can be conducted tomorrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants