Програма за EV3 робот Мида
Програмата е предназначена за Сърцевидка - ЛЕГО мида робот. Решава последните задачи от занятие 1, ниво D1. Тя кара мидата да засича, когато някой се опита да я отвори, и се затваря след това.
- #0zidyp
- 01 Mar 2019
Програмата е предназначена за Сърцевидка - ЛЕГО мида робот. Решава последните задачи от занятие 1, ниво D1. Тя кара мидата да засича, когато някой се опита да я отвори, и се затваря след това.
This is a program for communicating with LEGO Mindstorms Bluetooth between two bricks. The goal of the program is to control one of the bricks with another brick. The controller has two touch sensors that control the direction and two buttons on the brick itself that control the power.
The control brick has two motors attached that are controlled.
The goal of this program is to be used as an example of how to use the EV3-G Bluetooth. Yes, it requires two bricks, but most of the schools have two bricks and could test the program.
Даденото блокче има следните параметри от ляво на дясно:
Proportional implementation for keeping the LEGO Mindstorms robot straight. The program will take the value of the Mindstorms Gyro sensor and will apply this value to the steering block. This will make the robot steer in a direction that would put the robot in a straight position again.
The experiment contains a plot of the Curren Power of Motors B and C and the values of the Gyro Sensor when the robot is moving with a power of 100%. What you could see is that it is not actually moving with a power of 100% because the current power is about 75-80%.