Challenges

Challenge Time

Let's see how many challenges you can complete!



Challenge 1

In the Image Stitching section, the provided code implements a function for stitching two images. However, if the requirement is to stitch more than two images, you will need to modify the existing code.

For this task, please create a new project folder and make the necessary modifications to the original code to support stitching multiple images.


Challenge 2

Based on the code provided in "3DOF.py", create a new script that moves the robot's joints according to the following sequence:

Joint 1 Joint 2 Joint 3
Pose 1 45 degrees 56 degrees 140 degrees
Pose 2 45 degrees 31 degrees 180 degrees
Pose 3 135 degrees 31 degrees 180 degrees
Pose 4 135 degrees 56 degrees 140 degrees

Challenge 3

Develop an algorithm that automatically regulates the distance between the robot's end-effector and a target object in front of it to 17 cm.


Challenge 4

Combine the knowledge you have gained from the lab sessions with the control theory covered in the lectures to develop a system where the robot's end-effector tracks and follows the motion of a colored object (e.g., a green ball).

In other words, the end-effector should continuously track the object's movement and maintain the object's center at the center of the image frame.

For simplicity, we assume that each motor controls one visual direction.

We can control the motion of the robot with the following control theory (from the Ch.4 lecture notes):
qd(t+1)=qd(t)λΔ(t)

Demonstration/Expected Results: