In this challenge we were instructed to make a robot that, when activated, moved to 3 differently spaced black lines, stop at each of them, and lower and raise its arm, before returning to its starting box, marked in my case by a line of red tape.
reflection:
In the process of completing this challenge I learned more how to use the color sensor, as well as what the difference between braking immediately, and not braking immediately do for the movement of the EV3.
one thing that went well was the EV3 detected all the colors as desired, something i can appreciate after i tried making a line following program as a side project.
One thing that didn't go quite as planned was that i originally did the code for "stop, lower arm, raise arm" more or less copied 3 times over. I realized that this made it really clunky early on. it looks much better now that I put it all inside a loop with a count of 3.
Currently the "starting box" that the challenge specifies is just a red line of tape. I decided to do this because it was for all coding purposes, and thus effectively,the same. nothing would be different if it was an actual box.
Comments