Program the robot to open its claw, move forward until it hits the can, then close its hand until it holds the can, like the drawing above. Modify your program so that once Task 2 is completed, the robot will drag the can along the floor in a square pattern, just like you did in Stage 2. You've gotten really far. This is where all your hard work comes together. Your robot can do everything it's supposed to, except bring the empty can to the trash.
Robot vision involves some very difficult problems.
It takes a great deal of effort to program a robot to find an object in a room. We will use a simple light sensor to help us locate our target. Once you program your robot to use the light sensor, all the pieces will be there to complete the objective. Program your robot to locate and move towards a bright light. This is it.