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

Leak detecting #18

Closed
wants to merge 10 commits into from
Closed

Leak detecting #18

wants to merge 10 commits into from

Conversation

jchen1
Copy link
Member

@jchen1 jchen1 commented Jun 18, 2013

It's difficult to add pull requests to existing issues apparently. This should add leak detection functionality (per #17)

@kevin1
Copy link
Member

kevin1 commented Jun 18, 2013

Thank you for writing this class for us. You are a magical unicorn.
One million dollars. The magic of the unicorn.


while (true) {
while (!hasLeak) {
Copy link
Member

Choose a reason for hiding this comment

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

if we stop running the main loop upon leak, the mbed will appear to have crashed. Also, pololu may still have motor values cached.

kevin1 added 6 commits June 17, 2013 23:03
This may have to be re-calibrated with TRANSDEC water, which I expect will have
more ions dissolved.
It's good to know why your sub randomly stops running
If there is a leak, won't turn the sub back on until mbed reset.
@kevin1
Copy link
Member

kevin1 commented Jun 18, 2013

Totally went overboard with this leak detection thing. We're going to have the best safety features at RoboSub.

Still need to test the code.

kevin1 added 2 commits June 17, 2013 23:52
I am bad at programming.
This almost eliminates false positives when the analogin pin is floating
@kevin1
Copy link
Member

kevin1 commented Jun 26, 2013

@aditsinha Can you review this?

@jchen1 jchen1 closed this Nov 5, 2021
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