Quote:
Originally Posted by Zaque
Thanks for the reply. 1 and 2 are for testing purposes, so I could test the loops were working correctly and to save the flash memory of the cRIO. I was not aware of 3. If you could point out where that is happening and a potential fix for that, I would appreciate it.
|
Sorry, I was wrong on number 3.
I would recommend at the beginning of each loop setting the relay to stop, and then only turning it on when you see true.
Remember once you determine that the goal is hot, there is really no reason the check anymore.
I would recommend trying to use commands to do this, and have the first one "WaitForHot" finish when it sees hot (or 5 seconds passes) and the second one "Shoot"