Завой на място с LEGO Mindstorms роботи Pro Preview

Завоят на място е завой около центъра на робота. Да видим как се програмира.

  • #416
  • 20 Apr 2017
  • 2:02

Какво е завой на място

Завой на място е завой с двата двигателя в две различни посоки. Ефектът е, че роботът се завърта около центъра между двете гуми.
Обичаме да казваме, че завоят е като танк.
 

В софтуера

В зелената "Action" палитра изберете блокчето Move tank.
Първата от двете настройки за мощност управлява мощността на двигател B и втората настройка управлява мощността на двигател C.
 

Равни скорости в различни посоки

За да направите завой на място, трябва да зададете две еднакви по стойност мощности и да настроите едната от тях да бъде отрицателна.
Например, използвайте 20 и -20 (минус двадесет). Така двата мотора ще се задвижат с еднакви скорости и различни посоки.
 

Как да направим точен десен завой

Трябва да експериментирате с броя ротации няколко пъти, за да получите точно 90-градусов завой за робота.

English

A spin turn is a turn at place like this.

In this video we'll look how do we program the robot to do a spin turn.

In the software we go to the actions palette. And we take the move tank block. In the move tank block we set the number of rotations to 1 and then we have the power options, we have the power to the left motor and this is motor B and the power to the right motor and this is motor C. If we just set the power to the left motor

to -20 and the power to the right motor to 20, this means that the left motor will move backward while the right motor will move forward. And we'll have our robot spinning. It'll stay in place but the two wheels will move in different directions and this will make our robot spin.

We have our robot spinning and this wheel is doing one rotation forward while the other wheel is doing one rotation backward. And when both wheels are moving the whole robot stays in place. Again. From here it's just a matter of finding the right value so that we can have our robot turn around. But this will be for some of the next videos.

Курсове и занятия включващи този Урок

Този Урок е използван в следните курсове и занятия.

Image for EV3 Phi. Introduction to robotics with LEGO Mindstorms
  • 92
  • 220:20
  • 36
Image for Turning with a LEGO Mindstorms Robot
  • 14
  • 0
  • 4
  • 3d_rotation 0
Image for Instructors Remote Training
  • 136
  • 280:11
  • 156
Image for How to make the robot move
  • 24
  • 0
  • 11
  • 3d_rotation 0
Image for Ниво A - Въведение - Роботика с LEGO
  • 142
  • 133:42
  • 187