controlling a robot through a hacked webcam
In one weekend, my three teammates and I learned and implemented Python's Open CV libraries in order to control a 3D-printed robotic arm. By moving a coloured block, the robot could be made to draw any shape created within the set boundaries. We implemented our code in our Linear Actuator Haptic Interface project, and scored one of the highest marks in the project course in 2017.
A linear actuator is a motor that moves forward and back in a line, rather than around in a circle. A haptic interface is one which responds to human input. Putting the two of these together, three classmates and I created a two-dimensional robot that would simulate various environments, and restrict movement added by a human. All parts were either waterjet-cut or 3D printed through SolidWorks. The PID software and GUI were coded in Python, as well as an Open CV interface. Slot detectors were used to sense direction of movement, and linear actuators were custom-designed and built by myself and Tommy Lau, my teammate.