Swept Away Challenge
This challenge is called swept away. This game consist of placing the balls on your side of the arena to your opponents side. The soccer balls are worth one point and the footballs are worth three points. You have to get both of the balls over the wall. The soccer ball can either be throw over the wall, scooted under the wall, or placed in you opponents goal. If it is placed in the goal ten you will receive three points instead of one.
|
Video of Challenge |
Whats going on?
This is a picture of the robot at this point. It is the same structure as before but with two bent pieces. I put those two new pieces on so that the robot can move the balls inside of the arena.
The two metal pieces kept bending an they were too long. So, I made woo pieces on Auto Cad and cut them out with the laser cutter. It too a few different tried but o finally get the pieces.
Here is the Robot with the wood pieces. I glued the side together then taped them. I also got some help to drill four holes to screw the wood to the metal. If you look closely in the picture to the right, You will see that I have taken out a metal piece and then out the wood piece there to replace it.
|
This is a pic of the code. It is very simple and easy to make. All the code is saying is that the controller has all control over the robot.
When you click on the icon that says "tank 2", it will take you to this screen. This is the screen that will allow the controller to control the robot wirelessly.
I had to change a few things. I had to re-due the code and put a while loop in it. In the while loop is where the controls are. The second thing that I had to change the inverted direction from 1 to 2 so that the robot would go forward.
|