We're working on an autonomous program and are wondering if it is possible to set up a loop that runs in 'parallel' to a linear op mode (or vice versa) in Blocks. The practical example is getting a servo to repeatedly switch between set positions while the robot is following a separate finite list of commands. Think of it as juggling while walking from place to place: I have a loop that controls servos doing the juggling, and a linear section for the wheel motors that controls movement from point to point. I would like to walk and juggle at the same time. It would be OK if attention is alternated between both tasks 'rapidly enough'; I just don't want to stop juggling for the five or ten seconds it takes to move from A to B, then stop moving from B to C for five seconds while I juggle, etc.
Is such a thing possible in Blocks? We're still new to this...
Is such a thing possible in Blocks? We're still new to this...
Comment