WRO Junior-High 2015. Treasure Hunt. Part 2. Rules
We would look at the rules of the competition over our small model and we would start solving the field.
- #199
- 10 Apr 2016
We would look at the rules of the competition over our small model and we would start solving the field.
In this series we will do a short demonstration on the FIRST LEGO League Trash Trek 2015 solutions by one of the teams. These are example solutions with good tips and tricks along with some interesting strategies and videos directly from the team
We would see how both satellites work together on the World Robotics Olympiad competition. They must both follow different orbits and must cooperate for the mission to be accomplished.
Starting with the World Robotics Olympiad 2014 Junior-High challenge we first catch the object on our path. We discuss a good mechanism for catching and lifting balls that can do two movements with one motor.
We discuss the state of "Lost" and the different ways we could escape this state. We also build the next step of our State machine programming pattern where the next state is determined by the previous state.
Moving in a grid of objects. That's the large challenge of the World Robotics Olympiad 2015 Junior-High 2015. In this video we would build a robot that can collect the boxes (treasures). The robot would also be able to move around the treasures.
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.
Display a matrix on the brick screen. Simple and easy. Download and run the program to see how
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.
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.
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.
All worked as expected, up until know because the robot got lost. This happens when we turn right and the line does not continue to the right. Now the robot must somehow understand that it is "lost" and escape.
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.
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.
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.
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.
We can Turn Right. We can Turn Left. How do we decide which way to go if there are lines both to the left and to the right. Check out the video.
We are programming this strange construction to move in a square. This is a basic task, but it is worth doing for a robot with motors placed in different directions.
Next state in our state machine programming pattern is the "Turn Left" state and the corresponding behaviour.
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.
Next important state is Turn Right with our robot. This happens when we detect a line on the right.
The last fifth construction is larger compared to the previous constructions. It is wider. It has four sensors and you can take a larger load all by keeping the robot stable.
We've detected the gap. It's time to move over it. This is difficult because we have to detect where the line is after the 0.1 meters gap on the line following field.
Probably the robot I like the most from this series of five robots. See the video to understand why and what is interesting and special about this robot.
It's inevitable. While following this gapped line we would reach a gap. The robot must somehow understand that there is a gap and must make a decision on what to do. For detecting the gap we use the Rotation Sensor. Not the most popular, but very convenient in many cases. Check out the video.
The final video from the course. The robot escapes the state where it is lost. This happens if it can not continue in any direction.
The third robot has the brick and motors placed vertically. This is quite unusual and difficult, but the construction is very powerful because it saves space.