![]() |
[FTC]: FTC Autonomous How to run 2 tasks at the same time
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 |
Re: [FTC]: FTC Autonomous How to run 2 tasks at the same time
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.
|
| All times are GMT -5. The time now is 17:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi