What happens if we need to perform some actions simultaneously from the middle of a program. Let us assume that we have a multi-threaded task at hand, but before it we need to rotate our robot at 360 degrees.

Необходимо е да се абонирате за FLLCasts.com, за да достъпите това видео
- #1168
- 22 Mar 2019
The task may be like this: we want to program our robot to move in a square and meanwhile it needs to move a hand with another motor.
On one hand, if we add the 360 movement to the thread where the robot moves in a square, the robot will move its hand while doing a full circle. On the other, if we add the 360 movement to the thread where we operate the hand, the robot will be confused, because we would want him to move in a square and move in circle simultaneously. That is why we use wires in such cases.
You can select the Sequence Plug Exit to align block as shown below:
However, if the blocks are aligned and you select it, a gap between the two blocks will appear:
Now, if you put several blocks outside of the main thread
and select again on the Sequence Plug Exit, we could drag a new wire and connect those blocks.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.

Instructors Remote Training
If you are working with students and you want to introduce Robotics to your class or you want to mentor a FLL team, but you are insecure about your technical knowledge in the Robotics field, then this is the right place for you. Having in mind teachers' busy schedule, we have design two different schedules and added an option to design one just for you. FLLCasts's Mindstorms EV3 Robotics Online Training is the perfect match for any teacher.
After the completion of each task the participant has to upload his solution for verification.
- 183
- 280:11
- 156

Threads and Multi-threading
So far we have created programs that execute actions one after another. But sometimes we need to perform two actions at the same time. How do we achieve that?
- 5
- 1
- 9
- 3d_rotation 1