Log in

View Full Version : [FTC]: FTC Autonomous How to run 2 tasks at the same time


susubha
14-12-2015, 03:52
In the front of the robot we have flopper kind of thing to push the balls inside the box which is controlled by a motor. And we need to move as well. We want to start the flopper motor run all the time while we are on the move.

Is it possible to accomplish?

Thanks,
Subha

GeeTwo
14-12-2015, 08:17
Absolutely. Just put both tasks in your autonomous while(true) loop, one after the other. They will execute over and over, and should be plenty fast enough to effectively be doing both at the same time.