Karim Mohamed

Index

  1. 01Homestart here
  2. 02Researchrun the testbenches
  3. 03Workshopthings to poke
  4. 04Venturescompanies
  5. 05Experiencethe files
  6. 06About meand what’s on now
  7. 07Off the clockplay a game

More

Seattle · ·

GitHubLinkedInContact
01 Robotics
In development

Failure-aware robotic manipulation

Robotics · computer vision · force sensing

Make it slip

flip a condition, hit Run test, watch what the gripper does

what you’re looking atA simulated robot arm picking up a block: switch on a condition, tap Run test, and see whether the grip fails or recovers.

Side view of a three-joint robot arm, a table and a wooden blockJoints J1 100°, J2 -110°, J3 -60°. Gripper centre at 16.3, 16.3 cm pointing -70°. The wooden block is on the table at 30.0 cm; the camera estimates 29.5, 0.9 cm.max reach ≈ 46 cm1020304050RGB-D cameraestimate ±2σJ1J2J320 cm
Conceptual demo — not connected to hardware or real data
Test conditions
30 seconds · simulated physics

Ready. Drag the object along the table, then try Reach, Grasp and Lift.

Object

Drag the object along the table (or focus it and use the arrow keys). Each reach takes a fresh depth frame, so the estimate moves a little every time.

Joints

Each slider bends one joint. J1 is measured from the table, J2 and J3 from the link before them, so the gripper's position adds all three together (forward kinematics). Reach runs that backwards (inverse kinematics): pick where the gripper should be and at what angle, and solve for the three joint angles. Link lengths of 20, 17 and 9 cm are illustrative.

gripper (16.3, 16.3) cm · pointing -70°

Gripper & force
opening 9.0 cm
0510152025300.0 N
Force over time needed to hold ≈ 7.5 N

A force sensor at the fingers tells the arm how hard it is squeezing. Too little and friction can't carry the weight, so the object slips; too much and a soft object (the bottle) gets crushed. Two fingers need roughly weight ÷ (2 × friction), more if the grasp is off-centre or at an awkward angle.

Perception

distance 48 cm · depth error ±1.18 cm (1σ) · estimate off by 1.23 cm

A depth camera measures distance by triangulating a projected pattern or timing reflected light. Its error grows roughly with the square of distance and gets worse in dim light or on shiny surfaces. The arm reaches for where the camera thinks the object is: the cross and ellipse (±2σ) are that guess; the small dot is the truth.

Failure prediction
Predicted P(failure)100%
  • gripper is 20.3 cm from where the camera thinks the wooden block is
  • planned grip 4.0 N is below the ~7.5 N needed to hold it
  • perception error is large: ±1.2 cm (1σ along the camera ray)
Predictor weights
CueWeightChange
Gripper alignment1.40—
Approach angle1.00—
Grip too weak (slip)2.50—
Grip too strong (crush)2.50—
Perception uncertainty0.40—

Before lifting, a predictor estimates the chance the grasp fails from a few measurable cues. Here it is a small, hand-weighted logistic model so every factor is visible. With learning on, each attempt nudges the weights (online logistic regression): after a failure, the cues that were present get heavier, so similar situations look riskier next time. Note it only sees the perceived object; the outcome comes from the true one.

Attempt log

No attempts yet. Grasp, then Lift.

This is an illustration of the research idea, not the actual method or results. The arm, camera noise, forces and predictor weights are hand-tuned for teaching; nothing here was built, measured or trained on real data.

01 · the question

Can a cheap robot arm feel a grasp starting to fail, catch it, and do better on the next try?

02 · where it stands

lines of prior research read to shape the question
3
planned experiments, from vision-only to learning from failure
4
real-arm trials so far: the testbench above is a simulation
0

03 · what broke → what’s next

  • Vision alone wasn’t enough: a robot can misjudge where its own arm is, and a camera can’t feel grip.
  • Cheap printed links and servos will flex and slop, so precision has to come from sensing, not hardware.
  • Build the three-joint arm; mount the depth camera and the fingertip force sensor.
  • Run vision-only vs vision + force trials and log every failure for the predictor.
Read the full write-up10 sections · Overview, Motivation, System architecture…

Overview

Robot arms are good at repeating a movement and bad at noticing that the movement is about to go wrong. A gripper closes a few millimetres off-centre, the object slips, and the robot carries on as if nothing happened.

This project is about giving a small, affordable arm two senses and a memory: a depth camera to see where things are, a force sensor to feel what the gripper is actually holding, and a predictor that learns from unsuccessful attempts so the next attempt is better.

status: in development — no arm has been built and no trials have been run yet.

Motivation

It started with reading. In October 2026 I went through three lines of work: a Cal Poly arm that used an object detector to find things, CMU research on calibrating arms with cameras, and Berkeley’s work on intelligent manipulator control.

The thing that surprised me most was the CMU one. I had assumed a robot always knows where its own arm is, because it knows its joint angles. It turns out small calibration errors are enough to make a grasp fail. If a robot can be wrong about itself, it should at least be able to notice.

Oct 6:can vision make anarm more accurate& reliable?now:vision + force,predict the failedgrasp, and learnfrom it+ force sensing + learning from failure
How the research question changed between my first notes and now.

Proposed system architecture

Two sensing paths feed one decision. The camera estimates where the object is (and how sure it is); the force sensor reports contact and grip. Features from both go to a failure predictor that sits between perception and the controller, so a risky grasp can be corrected before it’s attempted. Every attempt, success or failure, is logged and used to update the predictor.

RGB-D cameracolour + depthForce sensorat the gripperPerceptionobject pose ± errorContact stategrip force, slipFailure predictorP(fail | features)Planner+ controlArm3 jointsevery attempt is logged → the predictor learns
Proposed architecture. The interfaces are the design; the components are not built yet.

Mechanical design

The arm is planned as a custom three-joint design with a reach of roughly 40–50 cm, built from fabricated and 3D-printed structural parts. Three joints is the smallest number that lets the gripper reach a point on the table and choose its approach angle, which matters for grasping.

Why custom

An affordable, home-built arm is part of the question: how good can manipulation get on cheap hardware if the robot is allowed to notice its own mistakes?

The trade-off

Cheap printed links flex and cheap servos have backlash, so the arm will be less precise than a lab arm. That imprecision is exactly what the sensing is meant to catch.

J2J1J3RGB-D cameraforce?~40–50 cm reachwill it slip?
Working sketch of the arm and sensors. Dimensions are targets, not measurements.

Perception and sensing

  • RGB-D vision gives an object’s position in 3D, but depth estimates carry error that grows with distance and changes with lighting and surface. The predictor should know how uncertain the estimate is, not just the estimate.
  • Force sensing tells the system what the camera can’t: whether the gripper has contact, how hard it’s squeezing, and whether the object is starting to slip.
  • Sensor fusion is the interesting part. A grasp that looks fine but feels wrong, or feels fine but was aimed at the wrong place, is exactly the kind of failure I want to predict.

Failure prediction

The predictor takes features such as alignment error between the gripper and the perceived object, perception uncertainty, approach angle for the object’s shape, and grip force, and estimates the probability that the grasp fails. After each real attempt, the outcome is recorded and the model is updated, so failures the arm has already experienced change what it does next.

Which model to use is still open. A simple, interpretable one (logistic regression over a few engineered features) is the baseline, because I want to understand why it predicts a failure before trying anything heavier.

Experimental plan

QuestionComparisonMeasure
Does vision help at all?Fixed-coordinate grasping vs camera-guided graspingTask success rate over repeated trials
Does force sensing add anything?Vision only vs vision + forceSuccess rate; slips detected before a drop
Can failures be predicted?Predicted P(fail) vs actual outcomesCalibration and accuracy of predictions on held-out attempts
Does learning from failure improve outcomes?Predictor frozen vs updated after each attemptSuccess rate over time on the same task set

Conditions would vary on purpose: object position, shape, lighting, and partial occlusion of the camera. The aim is to produce work suitable for science-fair evaluation and, longer term, real experimental validation.

Where it stands

Done

Literature review and a first research question (Oct 2026); the system concept and the experimental plan on this page; a software demonstration of the idea.

Not done yet

Fabricating the arm, integrating the camera and force sensor, running any trials. There are no results, and none are implied anywhere on this page.

Limitations I already expect

  • A home-built arm limits precision; results may not transfer to industrial arms.
  • A small number of trials limits what a learned predictor can generalize.
  • Consumer depth cameras struggle with shiny or transparent objects.
  • “Failure” needs a careful definition (miss, slip, drop, crush) or the numbers won’t mean much.

Future directions

  • Camera-based self-calibration of the arm, following the CMU line of work, on cheap hardware.
  • Moving the predictor onto the arm’s embedded controller.
  • Learning grasp corrections, not just predicting failure.

Research log

Dated entries from the research notebook.

  1. Oct 6, 2026QuestionFirst research question
  2. Oct 6, 2026LiteratureReading: intelligent control is a systems problem
  3. Oct 6, 2026LiteratureReading: robots don’t always know where their own arm is
  4. Oct 6, 2026LiteratureReading: a robot arm that can see
Esc
  • Homestart here
  • Researchrun the testbenches
  • Workshopthings to poke
  • Venturescompanies
  • Experiencethe files
  • About meand what’s on now
  • Off the clockplay a game
  • My deskclick the objects
  • Field notesdated entries
  • Nowthis season
  • Changeloghow it grew
  • Photographycamera roll
  • Failure-aware manipulation
  • MalaBoost
  • RISC8 processor
  • Writing
  • Contact
  • Terminal
  • Colophon
  • Failure-aware robotic manipulationRobotics · In development
  • MalaBoostDiagnostics · Proposed design, Simulation
  • RISC8, a processor from the gates upComputer architecture · Simulation
  • Catalytic enhancement for faint pLDH linesResearch design · not peer reviewed
  • RISC8 architecture specificationTechnical specification
  • RushdFounder & CEO
  • Preventa HomeCo-founder
  • DaythreadBuilt the product on a hackathon team
  • Run the RISC8 processorguided tours
  • Make the robot arm sliptestbench
  • Rescue a faint malaria test lineMalaBoost model
  • Logic gates, adders & a puzzle
  • Watch the worst-case carry
  • Take a penaltythe keeper learns
  • ? Some pages have a key just under Esc.not yet
  • ? Two keys, one of them is K.not yet
  • ? The terminal can run a diagnostic.not yet
  • ? Referees are allowed a second look. So is the terminal.not yet
  • ? Every card is hiding a constraint.not yet
  • ? The footer is saying something.not yet
  • ? Seven cards on About. All of them.not yet

40 results

terminal · ` or Esc to close