Завой с един двигател зад ъгъл с блокче за Голям мотор Pro Preview

Ще ви покажем най-точния и надежден начин за завиване с робот.

  • #418
  • 22 Apr 2017
  • 2:49

Какво е завоят с един двигател

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

Любопитно е, че за да завиете наляво, трябва да движите десния двигател напред.
И обратно, за да завиете надясно, трябва да движите левия двигател напред.

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

Блок за "един голям мотор" в EV3 софтуера

В зелената Action палитра намерете блокчето с име Large motor block. Внимателно погледнете порта на блокчето, защото по подрабиране портът става на D, а нашите двигатели са на портове B и C.

content picture

English

In this video we'll look at how the robot does a pivot turn and goes to the other room to take our cup of water.

The most reliable way to turn to the side of the robot either the left side or the right side and this is my right and my left is to use a pivot turn where only one of the wheels is rotating. If I just with my hand catch one of the wheels and move the other, you can see that the robot is turning right. Then I'll just block the left wheel and move the right and the robot is turning left. If I move the left wheel, the robot is turning right. If I move the right wheel, the robot is turning left. And that's a very reliable way of turning. For this turning we'll use the large block. Of course, we can use the other blocks in the software and we an achieve the same thing but our recommendation is to always use the large block for pivot turns. Let's go to the program and see how we do this turn. I'll just move forward with the tank block for let's say 2 rotations and then we use the large motor block and we have this blcok in the actions pallet - Large Motor block. And we say: Okay, we want to do 1 rotation with motor B. And we want this rotation to be with the power of 50. Probably this will be okay but we just have to check. And after we rotate for 1 rotation with motor B then again we move forward with the tank block. And this block here - the Large Motor block will make the robot pivot and it will turn to the right because motor B on our robot is the left motor.

Let me start it again so that you can see it on the camera. The robot moves forward,

it turns but it does not turn exactly to the right. It just turns slightly to the right. And in the next video we'll try to improve this program to make the robot turn exactly to the right.

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

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

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 Роботика с LEGO - Ниво 1.0 - Приключение в Космоса
  • 126
  • 123:52
  • 150
Image for Занятие 3 - Разчистване на площадка за кацане
  • 9
  • 4
  • 2
  • 3d_rotation 0
Image for Ниво EV-ь
  • 14
  • 2:49
  • 102
Image for Занятие 4 - Завои с един двигател
  • 2
  • 2
  • 1
  • 3d_rotation 1
Image for Ниво A - Въведение - Роботика с LEGO
  • 142
  • 133:42
  • 187
Image for Занятие 5 - Разчистване на площадка за кацане
  • 11
  • 3
  • 5
  • 3d_rotation 0