Second Test Program

Here we have a second problem, the arm Robot takes the brick and after it should normally transports the brick to the left but it does not succeed.

The problem comes from of the gears after the A servomotor.



Code Explanation

some videos of our operating robot:



OUR CODE Explanation:


Here our robot is scanning the color.

If the scanned object is not black, then it scans the color a second time; otherwise the robot continues to scan the color under the color sensor.

After, if the color is white the robot picks up the brick; or else the robot continues to scan the color.

If the robot has picked up the brick he take it to the left.

It drops the brick and go back to the start position.