Code Explanation

some videos of our operating robot:

 

 

OUR CODE Explanation:

Programe

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.

Marc