Pen Grab Challenge - Northwestern MSR Hackathon

  Рет қаралды 40

Stephen Ferro

Stephen Ferro

Күн бұрын

The goal of this project was to detect the position of a brightly colored pen using computer vision, then grab the pen in space using a robot arm.
The pen was detected and tracked using the RGB camera data and depth data provided by the Intel RealSense camera. The camera was placed perpendicular to the robot, in a location where the majority of the robot's workspace was visible to the camera sensor. The pen was a bright purple color, so it's location could be determined using color masking in OpenCV to isolate the purple pixels in the camera's view. A contour were drawn around the purple area, and the centroid of the contour was found. This was considered to be the center of the pen, and would be the target for the robot to grab. The x-y position of the pen centroid in the image was cross-referenced with the depth data from the camera to determine the pen's position in 3D space relative to the camera.
First, the robot's position relative to the camera needed to be determined. To do this, the robot holds the pen in a fixed "calibration" pose, while the camera measures the position of the pen centroid. This data is then used to calculate an offset vector from the camera to the base of the robot. Once this step is complete, the robot returns the pen to the user.
Next, the user positions the pen in front of the robot for detection by the camera. Once the pen is detected and the centroid is calculated, the robot moves into position to grab it, using the offset value found in the calibration step. Because a relatively simple robot arm with only four degrees of freedom was used, and because the orientation of the pen was not important, the desired joint angles were determined using with simple trigonometry. The robot first moves to a "prepare to grab" pose, which is offset slightly from the pen, then it moves in to the "grab" pose and closes the gripper. Finally, the robot swings around and deposits the pen at a predetermined location in front of the user.

Пікірлер
Robot Sorting with Human Interaction
3:28
Stephen Ferro
Рет қаралды 24
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2,9 МЛН
China's slaughterbots show WW3 would kill us all.
14:46
Digital Engine
Рет қаралды 1,1 МЛН
Two GPT-4os interacting and singing
5:55
OpenAI
Рет қаралды 3 МЛН
Making Coffee with a Robot Arm: Botrista
3:33
Stephen Ferro
Рет қаралды 193
Philomena Cunk vs Prof. Brian Cox
5:27
Philomena Cunk
Рет қаралды 1 МЛН
How To Spot Autism in High-Masking Women and Girls
13:41
Chris and Debby
Рет қаралды 636 М.
MSR Winter Project - Autonomous RC Car
1:57
Stephen Ferro
Рет қаралды 1 М.
What "Follow Your Dreams" Misses | Harvey Mudd Commencement Speech 2024
15:30
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН