
FLL 2019: Program for The City Shaper Swing (07) Robot Game Mission
Program for the FIRST LEGO League 2019 City Shaper Swing mission. The attachment is attached on the robot and it we just start the program
- #7cld4p
- 07 Aug 2020
Program for the FIRST LEGO League 2019 City Shaper Swing mission. The attachment is attached on the robot and it we just start the program
EV3-G program developer for the FIRST LEGO League 2019 City Shaper Elevator Mission. The robot calibrates the possible of the attachment and then moves forward and backward to complete the mission
This program is for the target part of Pallo. It uses a piston with differently colored sections, which are detected by a color sensor.
The piston starts with a green section, so the program waits for that color to change—indicating that the target has been hit. Then, it celebrates!
The celebration is simple: the program reads the color of the new section to determine how accurately the target was hit, and it lights up the center button with that color. It also displays "YAY" on the hub's screen.
Feel free to improve the program however you like!
This program is designed for the Calix – LEGO SPIKE Prime carrying robot. Calix is built to carry an object while autonomously following a black line.
This concept is one of the first things many people imagine when thinking about robotics—a robot that can assist at home!
Calix is a simple, first attempt at turning that idea into reality. It can transport light objects from one room to another by following a predefined black line.
The program operates as follows: First, it waits for you to place an object on the robot and press either the left or right hub button. Once triggered, the robot lifts the object slightly and begins following the black line. It continues along the path until it detects the same color consistently for more than 3 seconds—this is how it knows it has reached the end of the line. At that point, the robot raises the object higher and waits, holding the item securely in place.
This program makes the Tohuru – LEGO SPIKE Prime Owl Robot move like an owl! But what does an owl move like? Well, we figured a key part of an owl’s behavior is firmly holding onto a branch. So, the first part of the program makes the robot grip tightly onto whatever is between its two wheels. After that, the owl begins spinning its head and searches for the closest object. Once it finds something, it stares at it—menacingly—until it moves away!
This program makes the Big Wheelster – LEGO SPIKE Prime robot move forward until it bumps into something! This robot features one big wheel powered by two Medium Motors. What’s interesting is that the motors must spin in opposite directions to make the wheel rotate. That’s why we’ve created a My Block to control the robot.
The My Block allows you to set how far the robot should move—either a specific number of rotations or indefinitely (by setting it to 0 rotations). It also includes a logic option for direction: use 1 for forward and 0 for backward.
When the robot detects a bump using the front touch sensor, the program makes it reverse using the back wheels, helping it avoid hitting the same obstacle again!
This program makes the Swing Game - LEGO SPIKE Prime robot move the two LEGO figures based on input from their respective controllers.
The color sensor controller uses the colored plate above it to determine movement. If the sensor detects blue, the LEGO figure moves forward. If it detects purple, the figure moves backward. Any other color will make it stop.
The motor controller works similarly. If the motor turns more than 30 degrees forward, the LEGO figure moves forward. If it turns more than 30 degrees backward, the figure moves backward. If it stays within that range, the figure stops.
The goal of the game is for both LEGO figures to reach the center without tipping the swing to either side. Good luck—and have fun!
Тази програма кара Ларви - ЛЕГО СПАЙК Прайм робот ларва да се движи безкрайно напред! Движението на този робот е много интересно, тъй като работи подобно на гъсеница или ларва! Програмата работи като повтаря 3 движения всеки цикъл:
Може би забелязвате, че всяка команда прави две неща или същото, но в две посоки. Това се случва с променлива, която е или 1, или -1 и това дава посоката, в която да се движат моторите. Тази променлива също се използва за да се определи кой мотор трябва да използва пълна мощност и кой не трябва, за да не се счупи робота сам!
Тези програми са примерни решения на задачите от трети урок в ниво 3.0. Програмите са направени да работят с робота Врата на трезор.
MyBlock that makes a turn on specific degrees with minimal inaccuracy.
Input parameters:
When running the program place the robot as already aligned to the black line before the mission model
The program should be easy to execute. It basically moves the robot forward
This block allows you to move straight for desired distance in centimeters with desired power. This block uses gyro proportional movement to move in a straight line.
This block rotates the A and D middle motors to their initial positions and reset their rotation sensors.
Тази програма е продължение на Примерно решение на задачите в занятие 10 от отдалечения курс "Пази ги чисти" и последната стъпка към създаването на пълната игра "Пази ги чисти". Новото в програмата е, че сме добавили нов костюм за спрайта за край на играта, който показва загуба.
Тази програма е продължение на Примерно решение на задачите в занятие 9 от отдалечения курс "Пази ги чисти" към създаването на пълната игра "Пази ги чисти". Новото в програмата е, че сме добавили нов спрайт, върху който пише, че играчът е спечелил и този спрайт е програмиран да стои скрит докато играта наистина не бъде спечелена.
Тази програма е продължение на Примерно решение на задачите в занятие 5 от отдалечения курс "Пази ги чисти" към създаването на пълната игра "Пази ги чисти". Новото в програмата е, че управляваме клонингите да се движат сами безкрайно.
Тази програма е продължение на Примерно решение на задачите в занятие 6 от отдалечения курс "Пази ги чисти" към създаването на пълната игра "Пази ги чисти". Новото в програмата е, че правим един изцапан клонинг и скриваме оригиналния спрайт, защото той не се движи като клонингите си.