Движение назад чрез настройката за мощност на насочващо блокче Pro Preview

Ще ви покажем и друг начин да програмирате робот да се движи назад.

  • #377
  • 04 Feb 2017
  • 3:41

Настройката за мощност

Втората настройка в насочващото блокче (Move steering) управлява мощността на мотора. Измерва се в проценти и може да има стойности от -100% до +100%. Сто процента означава да се използва пълната мощност на мотора. Нулева мощност означава, че моторът не трябва да се движи изобщо.
Отрицателна мощност означава движение назад.

Естествената посока напред за двигател

Важно е да се знае коя е естествената посока напред на двигател, когато конструирате робот и когато планирате как ще използвате конструкцията.

content picture

Лесно се запомня: вижте малкото ухо с три отвора до въртящата част на мотора. Започвайки от това ухо, направете кръг във въздуха около двигателя. Това е посоката "напред" на голям мотор.

English

You can make the robot move backward by using minus rotations. But there are also other ways to make the robot move backward. And this also sets the question what is forward and backward from the motor perspective.

In the EV3 software I'll just zoom this block so that you can see it on the screen

we can change the number of the rotations to minus 1 and this will make the robot move backward and we can also change the power. This option here is the power of the motor. And you can think of the power as a value between 0 which means the robot stops, to 100 which means 100% of the power that the motor could output. So, that's the maximum power of the motor. And it's generally a good idea to use 50 because it is round and it won't drain the battery that fast. But if you set -50 like this you can use the slider for setting or you can use the keyboard -50. This will also make the motors move backward. Download and run.

As you can see the whole robot moves backward. And this is the program with the modification for minus power. The next question is what is the default positive power for rotating of the motors. If you take a motor and this motor could be placed on the robot in many different ways. You can place it like this or like this, or like this, or like this. So, in an unlimited amount of configurations. So, you should be able to directly find the positive direction of the motor just by looking at it. And a simple trick for this is if you take the motor and if you place your finger right here at this side of the motor. You can distinguish this side from the other side because they're different. And then what you try to do is move from this side to the bottom with the finger. And this is the positive way of rotating of the motor. You see that you cannot do it in reverse because you'll have to cross the motor but just place your finger here. And this is the positive side. So, even if the motor is placed like this below, you know that when you're programming to move forward it'll rotate like this - from here to here. And you can then customize, modify your program.

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

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

Image for EV3 Phi. Introduction to robotics with LEGO Mindstorms
  • 92
  • 220:20
  • 36
Image for Series of instructions make a program
  • 11
  • 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
Image for Занятие 2 - Йо-йо
  • 18
  • 3
  • 8
  • 3d_rotation 1
Image for Роботика с LEGO - Ниво 1.0 - Приключение в Космоса
  • 126
  • 123:52
  • 150
Image for Занятие 1 - Движение като Йо-Йо
  • 19
  • 4
  • 9
  • 3d_rotation 1