
VEX EDR Intro. Experiment with values for turning the VEX robot a number of degrees.
Where is the math while turning? Is there any math involved? Should there be?
- #335
- 27 Mar 2017
Where is the math while turning? Is there any math involved? Should there be?
The next important step when turning with a robot is to learn how to do an Arc turn.
We are ready to build the first program for moving the robot forward and backward. We learn how to build simple programs for moving the program. But it is not that easy...downloading to the robot does not always result in the robot moving.
In the current course we would use a number of languages. Generally we would program the robots in EV3-G, but we would also program them in JavaScript to make the parallel with the JavaScript. The programming would include arrays, switches and loops.
In this tutorial, we would build a simple program for controlling the Tetrix robot motors with the GamePads. We use the stick and when the stick is pushed forward the motors move forward. When it is pushed backwards the robot moves backwards.
There are a number of tools available online to help you play the game. You just seed the initial conditions and leave the game. Let's look at some of the sites.
Display a matrix with "life" and "dead" cells on the EV3 LEGO Mindstorms brick screen. The program is available. You can see it, change it, modify it and learn from it.
In this video I am building the five minute robot from LEGO Mindstorms and I am doing a short introduction on how to make the robot move forward and turn around. Throught this series I will be using mostly NXT-G as a programming environment.
We start with the previous program where we made the robot move forward and turn. We continue in this tutorial with repeating the same RobotC instructions four times. Our goal is to make the robot move in a square.
In this tutorial we would introduce you to the concept of loops using this VEX EDR Robot. As a final result we would have a program that makes the robot move in a square and not by repeating the same instructions for move and turn four different times.
In this lesson we build a simple LEGO Mindstorms NXT calculator program that sums, multiplies, subsctracts or divides two numbers between 1 and 50.
By using the GamePad to control the arm with could lift it and return it back. The main problem with controlling the arm is that if you just use the motors you would hit the robot, bend the axles and breaks the gear wheels. We would use the distance sensor to make the arm move without hitting the robot.
Display a matrix on the brick screen. Simple and easy. Download and run the program to see how
Learn to program the Game of Life on the LEGO Mindstorms brick screen. This would require drawing on the brick screen, using blocks with switches and loops.
Following the Advance Sensor Calibration course section, we found the min and max values detected by each sensor. Now it is time for the real deal of the calibration. Detect the current value from the sensor and find what is the percentage of this value for the range between min and max.
The previous tutorial showed you how to copy/paste instructions in RobotC. The current video will introduce you to loops.
The code is already ready. It is attached below the video. Let's see how the program works and what it does and how to use it.
We are showing the basics of communication between LEGO Mindstorms NXT Bricks using a Bluetooth connection. In the next few minutes we will build two programs - one for the master and one for the slave brick, while explaining the essentials for building such programs.
Starting leJOS might be very problematic, since you need to install a few libraries and make some configurations. In this video tutorial I am showing a step-by-step guide on how you could install leJOS on your Ubuntu Linux. And it is quite easy.
In this tutorial, we are controlling the FTC Tetrix robot with the two sticks of the same GamePad. The left stick is for forward and backwards, while the right stick is for left and right.
The more advanced task is to more in a polygon. This would require calculating the degree of each of the turns and RobotC is a language in which you could implement this math calculation very easily.
The field in the game of life could be finite or infinite. It is interesting to see and learn how an infinite field behaves and works.
In this episode I would like to show you how to enable the communication between the computer and the NXT brick, through the USB and using the leJOS project. Starting leJOS on Windows is pretty easy. But starting the samples and achieving the communication is the actual problem.
The task is to find what the best seed is that will live the longest without entering into a loop or without dying. Find it and submit in the tasks section.
Control the hand of the FIRST Technical Challenge Push Bot robot with the GamePad bumpers.