Skip to content

Enable the PincherX 100 to grab a pen that is held in front of it

Notifications You must be signed in to change notification settings

hang-yin/Pen_Challenge

Repository files navigation

Pen Challenge

This project aims at enabling the PincherX 100 Robot Arm to grab a pen that is held in front of it.

demo.mov

Robot specs

PincherX-100
DoF 4
Accuracy 5mm
# of servos 5
Controller U2D2

Vision pipeline

To help the PincherX 100 Robot Arm to grab a pen, we take advantage of the depth and color sensors in the Intel RealSense D435i camera. To locate a pen in the 3D space, we use the following pipeline:

  1. Locate pen in 2D space using RGB image stream
  2. Align depth map to the RGB image
  3. Threshold the aligned image in the HSV color space to locate the pen
  4. Filter the image with dilation and erosion operations to reduce noise
  5. Find contours of the pen
  6. Calculate the centroid of the pen

Since now we know the centroid of the pen in 3D space, we can move on to the robot control pipeline.

Robot control

To grab the pen given its 3D coordinate in space (from the camera), we use open loop control to move the gripper towards the pen and grab it.

Run the code

  1. Clone this repository
  2. Run python3 main_pipeline.py
  3. Tune parameters as needed

About

Enable the PincherX 100 to grab a pen that is held in front of it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages