TEAM MEMBER: CHARLIE CHALLENGE: UP THE GARDEN PATH
For the past week, I've been working on the 'Up the garden path' challenge.
Since we don't have a Brick Pi at home right now, I've been using my Lego EV3, and the remote that comes with it to simulate the commands.
There are a bunch of ways suggested to operate the robot in this challenge, but using audio gets you the highest amount of points (500) so of course it's the one we're going to go for. We opted against line following, because it could be difficult to program the sensors to ignore the other bits of wrong track that stick out. Remote control is easy, but worth the least points in the challenge. When we programmed the EV3, the easiest way to test the robot was to use the Lego remote. But we didn't program it like a typical remote. A typical 4 button remote would go forward, backward, left, right. What we did instead was program the remote to act like an audio command.
Button 1: "Go!" - Drive forward 30cm
Button 2: "Left!" - Turn left 15 degrees
Button 3: "Right!" - Turn right 15 degrees.
This way, when we replace the EV3 with the BrickPi, we just replace the button inputs with voice inputs and it should still work.
Then we made a rough version of the course by putting tape on the kitchen table, just to practice measurements and turns. We were able to complete the challenge like this in about 1 minute. (We have 5 minutes to complete the challenge)
There is a big wide turn on the course that we got through by using Go - Left - Go - Left, but we thought we could improve that. We tried using the 4th button as a combo button:
Button 4+2: "Big Left!" - Drive the big 180 degree left turn
Button 4+3: "Big Right!" - Drive the big 180 degree right turn
With this, we got through the course in under 1 minute. Improvement!
Comments