Quote:
Originally Posted by daniel_3158
I also wanted to know why in the Independent code, there's a delay and Feed block and why in the Iterative code theres only a Feed Block?
|
Autonomous Independent runs as a separate, self-contained task. If you want to include delays,
Delay and Feed is the way to keep the watchdog happy.
Autonomous Iterative gets called 50 times a second. It should not include long-running loops or intentional delays. It should do its thing quickly and finish, ready to run again a moment later. In order to sequence actions with specific timing, you need something like a state machine and timers that can be started and tested to see when they elapse.