
EV3 basics course. Gyro Sensor. Tasks (part 5)
Tasks for the Gyro sensor that you can use in STEM classes, while preparing for a competition or just to explore how the sensor works.
- #158
- 01 Jan 2017
Tasks for the Gyro sensor that you can use in STEM classes, while preparing for a competition or just to explore how the sensor works.
In the first LEGO tutorial we started following a wall with the Ultrasonic Sensor. In this tutorial we would improve the program, remove the zig zag movement and make it very smooth.
Implementing the next logic for aligning to the border when we approach the border from the right.
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.
We explore some common mistakes when a program is developed and becomes complex. We then try to remove part of this complexity.
Arriving at a final solution. There is still room for improvement on using the Mindstorms Ultrasonic Sensor for aligning to walls, but we hope the whole five videos could give you a good idea of how to start with a problem and reach a solution.
Continuing with the Proportional algorithm for following lines. Smooth and stable this is the first part of the PID.
Last part of the series. The final touch of the program makes sure that it works and is following the line with the LEGO Mindstorms EV3 Color Sensor in a smooth and fast way.
How do you detect a cross-section and move from following the main line to following the crossing line. In this series of video tutorials we are starting with a very simple solution that could work in most of the cases. It is especially useful for the FIRST LEGO League Trash Trek competition where there is such a section.
This second part continues with importing two previously developed in Episode 53 blocks into our program. With them we can for align to lines. We program the robot to align to the cross line and start following it.
(LEGO humans of course, not real humans :) ). Working on World Robotics Olympiad 2014 elementary challenge. Collecting modules, bringing them together and lifting them. A very funny and interesting competition that we would explore in this and the next video tutorials from the series
Collect the humans and clear them from the rocket launching region. This is rather straightforward as a task, but it requires a little bit of thinking if you want to do it without manipulators.
Showing the same run, but from a different angle. This allows you to see more of the way we sensors work and how exactly the robot positions itself.
Motors can be placed in opposite directions... opposite .. directions. Robo-builders might have difficulties imagining it so we have build one. One of the motors facing forward, the other backward. It is interesting how this robot turns.
Let's implement a more advanced program for this robot to learn how to use with motors in opposite directions - and this is to implement the Proportional Line Following algorithm.