Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements velocity based coral detection and logging for testing #109

Open
wants to merge 1 commit into
base: motorBasedDetection
Choose a base branch
from

Conversation

pranavdasan
Copy link
Contributor

Note: The velocity based coral detection has not been tested

Co-Authored-By: "Hang Fai Chow" <[email protected]>
Co-Authored-By: "Daniel Zhang"
<[email protected]>
Co-Authored-By: ruirui3 <[email protected]>
Comment on lines +142 to +151
if (currentVelocity != 0) {
coralIntakeTime.start();
} else {
hasCoral = false;
}
if (coralIntakeTime.hasElapsed(CORAL_INTAKE_INTERVAL)) { // TODO: Find coral intake interval.
coralIntakeTime.stop();
coralIntakeTime.reset();
hasCoral = true;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll need to comment this out when we run experiments to gather the additional current data in data logger.

The additional data logging is more generally useful, so it would be worth adding them in a separate PR we could merge while we work out an heuristic for coral detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants