![]() |
Re: How to end an auto mode after gyro gets out of deadband
Thanks for all the replies..
We know how to write a PID loop but, thats not what were looking for. What im actually trying to do is to totally kill the autonomous mode after the gyro gets out of the deadband in code, but once it goes back into the dead band, the code was once again running. I need to stop the bot once it gets out of the dead band and make sure its going to not re execute while its back into the deadband. Getting it still?? Heres what I have in my code so far. Code:
|
Re: How to end an auto mode after gyro gets out of deadband
Quote:
Code:
if(setauto != 2... |
Re: How to end an auto mode after gyro gets out of deadband
How's 'bout something like this:
Code:
. |
| All times are GMT -5. The time now is 08:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi