ROB-400 · Lesson 11 of 12 · 30 min

Deformable and articulated objects and learning-based manipulation

Most of this course has assumed rigid objects: a box stays a box, and a grasp that holds it at one moment holds it the next. Many of the objects people handle every day are not rigid. Cloth folds, cables bend, bags sag, dough stretches, fruit bruises. Others are rigid parts joined by constraints: doors swing on hinges, drawers slide on rails, laptop lids rotate. This lesson covers how robots manipulate deformable and articulated objects, and then previews the learning-based methods that have become the leading approach for tasks that are hard to model, which ROB-410 develops in depth.

The two halves are connected. Deformable objects have so many possible shapes that hand-written models and planners struggle, which is exactly where learning from data shines. Articulated objects sit in between: their constraints are simple once identified, so classical estimation works well, and learning helps mostly with recognizing the handle and the joint type.

Why deformable objects are hard

A rigid object's state is six numbers. A towel's state is the position of every point on its surface: effectively infinite, approximated by hundreds or thousands of mesh points. Its shape changes with every contact, it folds over itself so that parts hide other parts, and its response to a pull depends on material properties such as bending stiffness that vary from item to item. Grasping a towel does not fix its pose; it fixes one point, and the rest hangs according to gravity. Planning, perception and control all have to cope with this.

Engineers handle deformable objects in four broad ways. They reduce the state to a few task-relevant features, such as the positions of a towel's corners or a cable's endpoints and a handful of points along it. They use the environment, laying cloth flat on a table or routing a cable through fixtures, so that gravity and friction do much of the work. They use simple, repeatable motion primitives, such as flinging a garment to spread it or tracing a cable with sliding fingers. And they learn policies from demonstrations or experience instead of modelling the physics explicitly.

Cloth, cables and bags

Cloth manipulation research has focused on smoothing, folding and dressing. A common pipeline finds two corners, grasps one, lifts it so the cloth hangs, finds a second corner on the hanging cloth, grasps it, and lays the cloth flat; then folding becomes a sequence of pick-and-place actions on known points. Dynamic actions, such as a fling that throws air under the cloth, can flatten it in a few moves instead of many quasi-static pulls.

Cables and wires appear in assembly, where they must be routed through clips and connectors inserted at the end. Robots trace a cable by sliding a lightly closed gripper along it, use the cable's known length and stiffness to predict its shape, and rely on fixtures and clips to constrain it. Connector insertion combines everything from lesson 4 onward: a precise grasp near the connector, force control for insertion, and verification by force signature or vision.

Bags and sacks, from polybags in e-commerce to grain sacks in agriculture, are deformable containers whose contents shift. Suction on thin film works if the cup is large and compliant and the vacuum moderate, as lesson 7 noted; heavy sacks need forks or wide grippers that support them from below.

Food and soft products

Food handling adds hygiene and fragility to deformability. Grippers must be cleanable, made of food-safe materials and often washable; soft pneumatic fingers and needle grippers are common for meat and baked goods, and suction for packaged items. Variation is large: no two chicken breasts or loaves are the same shape. Successful systems combine vision to measure each item, forgiving grippers and conservative grip forces based on the item's measured size. Regulations shape design: in Canada the Safe Food for Canadians Regulations and in the United States the FDA Food Safety Modernization Act require hazard controls in food facilities, and equipment hygiene standards such as NSF/ANSI and 3-A guide materials and cleanability in both countries.

Worked problem

Grip force for a soft, variable item

Cake slices vary from 80 to 140 g. Soft fingers have \( \mu \approx 0.6 \) on the cake surface, peak acceleration is 3 m/s², and the safety factor is 2. The top of a slice is damaged above about 4 kPa. If the fingers contact 1,200 mm² each, can one fixed grip force handle every slice, or should it scale with measured size?

Show solution
  1. Heaviest slice: \( 0.14 \times (9.81 + 3) \times 2 / (2 \times 0.6) = 2.99 \) N per finger.
  2. Pressure at that force: \( 2.99 / 0.0012 = 2{,}490 \) Pa, about 2.5 kPa, below the 4 kPa limit.
  3. Lightest slice needs only \( 0.08/0.14 \times 2.99 = 1.71 \) N, so a fixed 3 N grip is about 1.75 times its requirement, still below the damage limit.
  4. A fixed grip works here; scaling with measured size would reduce pressure on light slices but is not strictly needed.

Answer: A fixed grip of about 3 N per finger handles every slice within the damage limit. If the contact area were smaller or the limit lower, scaling force with measured size would become necessary.

Articulated objects: doors, drawers and lids

An articulated object has parts connected by joints, most often a revolute joint (a hinge) or a prismatic joint (a slide). To open it, the robot must grasp the handle and move along the constraint. If the hinge axis or slide direction is known exactly, that is a simple trajectory. Usually it is not, and a stiff arm moving along a slightly wrong path builds up large forces. Two complementary approaches work well. Compliant control, with low stiffness in the directions where the constraint should guide motion, lets the robot follow the true path while pulling. Estimation fits a joint model to the observed handle motion during the first part of the opening and then plans the rest along the fitted path.

A top view of a door rotating about a hinge at the left. Small dots mark the observed handle positions during the first 25 degrees of opening. A dashed circle fitted through the dots has its centre close to the true hinge, marked with a small cross, and the remaining arc of the handle path is shown dotted.
Estimating a door hinge by fitting a circle to the observed handle positions during the first part of the opening

For a revolute joint seen from above, the handle moves on a circle centred on the hinge. Fitting a circle to the measured handle positions gives the hinge location and the radius. A linear least-squares fit, known as the Kåsa method, rewrites the circle equation so that the centre and radius come from one matrix solve. If the fitted radius is very large, the motion is nearly straight, which suggests a prismatic joint such as a drawer; model selection compares how well each model explains the data.

Fitting a hinge from the first 25 degrees of handle motion and predicting the rest of the path
# Hinge estimation from noisy handle positions: linear least-squares (Kasa) circle fit
import numpy as np
rng = np.random.default_rng(11)
hinge, R = np.array([0.10, 0.85]), 0.78              # true hinge position and handle radius, m
ang = np.radians(np.linspace(0, 25, 12))              # first 25 degrees of opening
pts = hinge + R * np.stack([np.cos(-np.pi/2 + ang), np.sin(-np.pi/2 + ang)], axis=1)
pts += rng.normal(0, 0.002, pts.shape)                # 2 mm measurement noise
# x^2 + y^2 = 2 a x + 2 b y + c  ->  linear in (a, b, c); radius^2 = c + a^2 + b^2
A = np.column_stack([2 * pts[:, 0], 2 * pts[:, 1], np.ones(len(pts))])
y = (pts**2).sum(axis=1)
(a, b, c), *_ = np.linalg.lstsq(A, y, rcond=None)
r_fit = np.sqrt(c + a**2 + b**2)
err = np.linalg.norm(np.array([a, b]) - hinge)
print(f"fitted hinge ({a:.3f}, {b:.3f}) m, radius {r_fit:.3f} m; hinge error {1000*err:.1f} mm, radius error {1000*(r_fit-R):+.1f} mm")
# where would the fitted model put the handle at 90 degrees, compared with the truth?
true90 = hinge + R * np.array([np.cos(0.0), np.sin(0.0)])
fit90 = np.array([a, b]) + r_fit * np.array([1.0, 0.0])
print(f"predicted handle position at 90 deg off by {1000*np.linalg.norm(fit90 - true90):.1f} mm")
Output
fitted hinge (0.119, 0.773) m, radius 0.702 m; hinge error 79.6 mm, radius error -78.2 mm
predicted handle position at 90 deg off by 97.1 mm

With only the first 25 degrees of swing observed and 2 mm of noise, the fit places the hinge about 8 cm from its true position and underestimates the radius by a similar amount, so the predicted handle position at 90 degrees is about 10 cm off. A short arc simply does not pin down its centre well: many circles pass close to a nearly straight set of points. The estimate improves quickly as more of the arc is seen. That is why, in practice, the robot refits continuously as it pulls and keeps compliance in the radial direction, so small model errors are absorbed by the controller rather than turning into large forces.

Worked problem

Revolute or prismatic?

A robot pulls a handle 0.20 m and the fitted circle has a radius of 14 m. The residuals of a straight-line fit and of the circle fit are almost identical. Which joint model should it use?

Show solution
  1. Over 0.20 m of travel, a 14 m radius circle deviates from a straight line by only \( s^2/(8R) = 0.04/112 \approx 0.36 \) mm, far below measurement noise.
  2. The data cannot distinguish the models, and the simpler one, a straight slide, explains them equally well.
  3. Choose the prismatic model, as for a drawer, and keep some lateral compliance in case it is a very wide door.

Answer: Treat it as prismatic. When two models fit equally, prefer the simpler one with fewer parameters, and let compliance absorb any remaining difference.

Learning-based manipulation

For tasks such as folding laundry, tidying a cluttered table or assembling flexible parts, writing explicit models and planners is slow and brittle. Learning-based methods instead train a policy, a function from observations (images, depth, joint states, sometimes tactile signals) to actions (joint or gripper motions), from data. Three families dominate at the time of writing.

Imitation learning trains a policy to reproduce human demonstrations. People teleoperate the robot with a leader arm, a virtual reality headset or a handheld data-collection gripper, and the system records observations and actions. Modern approaches such as action chunking and diffusion policies predict short sequences of future actions, which makes behaviour smoother and more robust than predicting one step at a time. A few dozen to a few hundred demonstrations can teach a single task well.

Reinforcement learning improves a policy by trial and error against a reward. It excels where simulation is accurate, such as rigid-body dexterity in lesson 9, and is harder to use directly on real robots because each trial takes time and risks damage. Hybrid methods start from demonstrations and refine with reinforcement learning.

Vision-language-action models are large networks, built on models pre-trained on internet-scale images and text, then trained on robot demonstrations from many robots and tasks. They take a camera image and an instruction such as "put the red cup in the sink" and output actions. They generalize to new objects and instructions better than single-task policies, and several research and commercial models of this kind have appeared since 2023. Their reliability on long, precise or safety-critical tasks remains well below that of engineered industrial systems, so they are usually deployed with guard rails: limited workspaces, force limits and human oversight.

Worked problem

How confident is a success rate?

A learned folding policy succeeds in 42 of 50 trials. How confident can the team be that its true success rate exceeds 75 %?

Show solution
  1. Observed rate: \( 42/50 = 0.84 \).
  2. Standard error: \( \sqrt{0.84 \times 0.16 / 50} \approx 0.052 \).
  3. An approximate 95 % interval is \( 0.84 \pm 0.10 \), from about 0.74 to 0.94. The lower end sits right at 0.75, so the evidence is borderline.
  4. Running 200 trials with the same rate would shrink the half-width to about 0.05, giving roughly 0.79 to 0.89.

Answer: Not confidently: 50 trials leave a wide interval. Evaluate learned policies on enough trials, with varied objects and conditions, before claiming a success rate.

Evaluating and deploying learned policies

Learned manipulation policies need careful evaluation. Success rates should be measured over many trials, on objects and conditions not seen in training, with a clear definition of success and with failures categorized so they can be fixed. Simulation benchmarks help compare methods but do not replace physical testing. In deployment, monitoring matters as much as in classical systems: log every attempt, detect out-of-distribution inputs, fall back to safe behaviours, and keep humans able to intervene. ROB-410 covers these methods, their data requirements and their safety evaluation in more depth.

Common mistakes

  • MistakeTreating a grasped cloth as having a known pose

    InsteadA grasp fixes one point; re-perceive the hanging or spread shape before the next action.

  • MistakePulling a door along a pre-programmed arc with a stiff arm

    InsteadUse compliance and refit the hinge model as the door opens.

  • MistakeFitting a complex joint model to a short motion

    InsteadPrefer the simpler model when both fit within the noise.

  • MistakeReporting a learned policy's success from a few trials

    InsteadRun enough varied trials to get a tight confidence interval.

  • MistakeDeploying a vision-language-action policy without guard rails

    InsteadLimit workspace and force, monitor behaviour and keep humans in the loop.

Summary and key terms

  • Deformable objects have huge state spaces, change shape with contact and hide parts of themselves.
  • Practical approaches reduce state to key features, use the environment, apply repeatable primitives and learn from data.
  • Food handling adds hygiene, variability and fragility, guided by food safety regulations and equipment hygiene standards.
  • Articulated objects are opened with compliant control plus joint model estimation from observed motion.
  • A linear least-squares circle fit locates a hinge; nearly straight motion indicates a prismatic joint.
  • Imitation learning, reinforcement learning and vision-language-action models are the main learning approaches.
  • Learned policies need many-trial evaluation with confidence intervals and guard rails in deployment.
Deformable object
An object whose shape changes significantly under contact or gravity.
Articulated object
An object with rigid parts connected by joints such as hinges or slides.
Revolute joint
A joint that allows rotation about an axis, like a hinge.
Prismatic joint
A joint that allows sliding along a line, like a drawer.
Kåsa fit
A linear least-squares method for fitting a circle to points.
Fling
A dynamic motion that spreads cloth by moving it quickly through the air.
Imitation learning
Training a policy to reproduce demonstrated actions.
Diffusion policy
A policy that generates action sequences by iterative denoising, trained on demonstrations.
Vision-language-action model
A large model mapping images and instructions to robot actions.
Out-of-distribution input
An observation unlike anything in the training data.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why does grasping a towel not fix its pose?

    Show answer

    It fixes one point; the rest hangs and deforms.

  2. Name two ways to simplify deformable object state.

    Show answer

    Track key points such as corners, or use fixtures and tables to constrain shape.

  3. What joint type does a nearly straight handle path suggest?

    Show answer

    Prismatic, like a drawer.

  4. Deviation of a 10 m radius arc from a straight line over 0.3 m?

    Show answer

    \( 0.09/80 \approx 1.1 \) mm.

  5. Why keep radial compliance when opening a door?

    Show answer

    So hinge model errors become small motions rather than large forces.

  6. What do imitation learning datasets record?

    Show answer

    Observations and the demonstrated actions.

  7. Where does reinforcement learning work best for manipulation?

    Show answer

    Where accurate simulation is available.

  8. A policy succeeds 90 of 100 times. Approximate 95 % interval?

    Show answer

    About 0.84 to 0.96.

  9. Name one food-safety requirement relevant to grippers.

    Show answer

    Food-safe, cleanable materials meeting hygiene standards.

  10. Give one guard rail for a learned policy.

    Show answer

    Force limits, a limited workspace or human oversight.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz