Because the distance sensor coupled with the color sensor does not give us good accuracy approaching the enemy. Today we decided to install the degree sensor as well.
At first we assembled a robot whose set of actions was as follows: it observed the enemy with the help of the motion sensor, approached it so that it could see its color, and with the help of the color sensor to identify the type of enemy after which he lowered the crane with the help of the thread and at the same time with a rotation he made the blow. But considering that the sensors were not positioned very well and the robot's movements could not be perfectly defined by us, we decided to redo its construction.
This stage consisted of building the robot environment. For this we used a large piece of cardboard, which was glued with black tape. We initially planned not to use the robot's guide lines so that the robot would only be guided by the motion sensor, but due to sensor limitations, we decided to use these lines to increase the robot's angle of accuracy. So the card has 6 lines, at the end of each is the enemy. When the robot starts its actions he is in the middle of the intersection of these lines . As enemies we used empty plastic bottles that have different colors on them, green, red, yellow. Depending on the color, the type of enemy also differs.
Comments
Post a Comment