Today was supposed to be the last day for us to complete our robot. At the end of the day we were only able to have our robot find a can, determine the color and reject wrong color cans. In the video below, the robot is looking for a blue can. When the robot finds the green can it drops it behind but it just so happens to start in the green zone so it looks as if the robot was programmed to take the green can to the green zone. This was just luck. As you can see, we still need to work on the turning of the robot so it ends up facing the same direction as it started.
With this code, the only way we would be able to complete the project would be if the can we were searching for was in line with the ending color. We still need to add code to tell the robot which zone it starts and where the ending zone is in relation to its starting position.
Our instructor surprised us with an extra day to work on our robot before we needed to compete. We will need to add the mapping properties to our code tomorrow.
No comments:
Post a Comment