Starting EV3-G Software. Projects and Programs
Now we have to program the robot. The steps that we will cover are starting the software, writing a program and downloading it to the robot.
- #364
- 04 Feb 2017
Now we have to program the robot. The steps that we will cover are starting the software, writing a program and downloading it to the robot.
This video tutorial demonstrates the accuracy and consistency of the robot behavior when we use only the blocks for moving the robot without any sensor. Spoiler alert - the robot is not consistent and it is not accurate.
In this video we are solving part of the FIRST LEGO League Senior Solutions challange missions (FLL 2012) using LEGO Mindstorms NXT robots. I make a step by step explanation of each move I make. The goal of this video is to help you with ideas and suggestions on how one should look at the missions.
In this video tutorial we would look at the mission run for M06. SPACE STATION MODULES. The missions is to precisely push a mission model into an opening. In almost any FIRST LEGO League competition there are such missions. The tutorial contains only the mission run on the field. We accomplish a single mission.
The robot works on the field and decodes the different colours that represent the rows and the columns.
What a teacher must look out for, while students are building a robot from instructions.
We start with FIRST Technical Challenge and how you develop programs with the GamePads. It is up to you to decide how sticks, buttons and triggers from the GamePad will control the different motors of the robot and there are different decisions that you should make.
After we have introduced a menu in the previous video, this video focuses on storing the values in an array. It presents a basic use of arrays.
Now we will create the first program in this course and we will make the robot move forward.
If you get to a solution that is too complex you should always try to improve it. This is what we are doing here. Arriving at a solution for aligning to the wall that has become too complex.
This quick pinless attachment is designed for collecting parts by pushing them. It shows the principle of putting a robot of an attachment in a very fast manner. Such attachments are popular at the FIRST LEGO League competition. The attachment uses Luly, a small LEGO Education SPIKE Prime competition robot with 3D building instructions as a robot base.
We explore some common mistakes when a program is developed and becomes complex. We then try to remove part of this complexity.
Using the rack depends on the experience of the team. Based on this a different number of gear wheels and racks would be used.
How great is the great attachment for lifting that we built in this course? How many times can it lift the robot without making an error? How great are your attachments and how could you test them? - the answer is simple. Just try 10 times and they should work at least 9 of them as our attachment is.
A human being walks with an average speed of about 5 km/h (3 miles/h). In this video tutorial we will develop a block for LEGO MINDSTORMS EV3, that measures the speed of the robot in distance/time units where time will be configurable and could be 1 second or 0.5 seconds or any other number of seconds you pass as a param to the block. Measuring the speed of the robot is very powerful if you start building an Artificial Inteligence for your robot and is quite fun :)
"Array initialization" is the first step in every program that involves Arrays. This applies to most programming languages and for EV3-G it is a must.
In this tutorial, we would show you how to initialize the array and how to extract this logic in a new block
When we, the teachers, make programs and projects, we give them descriptive names. Let's show you a way to put cool names on your programs.
It this episode we would present you with our attachment for lifting the robot.
Let's review the LEGO Mindstorms EV3 Intelligent Brick
The EV3 brick is the main computer of your LEGO robot and it has a display, a few buttons and various ports.
Here is our solution for preventing torsion and bending of the LEGO Mindstorms EV3 axles.
Before moving forward here is the simple task of building the mechanism and extending the legs. Extend the legs to fifteen LEGO units.
We would continue from the previous program where we used variables and we would change this to arrays.
We will introduce a convention, an agreement, how and in which cases we are going to use each types of blocks.