# Capstone: A cooperative two-arm gripper: concept, simulation and study plan

*Tactiverge Academy · about 20 hours*

Combine all five pathways to design, simulate and document a concept for two small arms that cooperatively hold a soft object when vision is unreliable, ending with a pre-registered plan for how a real study could test it.

## Why this project

Real robotics problems do not respect pathway boundaries. Picking up a soft, unfamiliar object with two arms needs geometry, control, sensing, firmware, mechanical design and, before any claim is made, careful research method. This capstone asks you to bring all of it together on paper and in Python.

Tactiverge's Project TV-01 asks a question in this space: "Can inexpensive local force sensing compensate for intermittent visual information and improve cooperative robotic manipulation of unfamiliar deformable materials?" TV-01 is a **proposed** study. It has no results, and nothing in this capstone is evidence for any answer to it. You may use it as inspiration for your own, smaller question. Everything you produce here is a concept and a simulation, and must be described that way.

## The scenario

Two planar two-link arms face each other across a table. Between their grippers sits a soft object, modelled as a spring–damper: squeeze it and it compresses, squeeze too hard and it is damaged, squeeze too gently and it slips. An overhead camera reports the object's position, but only intermittently: some frames are missing, as if the object were hidden by the arms. Each gripper may also have a simple force sensor. Your job is to explore, in simulation, whether adding force feedback helps the arms hold the object steadily when camera frames are missing.

## What you will do

### 1. Frame a question (Research)

Write your own narrow, simulation-sized question and hypothesis, such as *in my simulation, does adding force feedback reduce how often the object's compression leaves a safe band when 30% of camera frames are dropped?* Define every variable operationally, and state what your simulation can and cannot tell you about real robots.

### 2. Architecture (Robotics)

Draw a system block diagram showing both arms, the camera, the force sensors, the controllers and the shared object. Mark each loop's rate and where delays and dropouts enter. Write a short specification for each arm, with link lengths, joint limits and reach, and use inverse kinematics to place both grippers either side of the object.

### 3. Simulate (Computational)

Write a Python simulation using semi-implicit Euler. Model the object as a spring–damper between the two grippers, with a slip condition from friction: if the grip force is below the load divided by the friction coefficient, the object slips. Model the camera as a noisy position measurement delivered at a fixed rate with frames randomly dropped. Model each force sensor with noise.

Compare at least two controllers that you design and tune yourself:

- a **vision-only** controller that adjusts grip using the last known camera estimate;
- a **vision-plus-force** controller that also uses the force reading in its feedback.

Verify the simulation first by checking the spring–damper against a case you can work out by hand, and run a step-size study.

### 4. Firmware logic (Embedded)

Design the gripper firmware as a state machine with grasp, hold, release and fault states, including a force-limit fault and a camera-timeout state. Specify the sensor pipeline from raw counts to filtered, validated force, and a message format, with timestamps, for sending force readings to the controller. Explain how you would align timestamped camera and force data that arrive at different rates. A paper design with pseudocode is enough; working code is a bonus.

### 5. Mechanical concept (Design)

Generate several gripper-finger concepts suited to a soft object, select one with a decision matrix, and draw a dimensioned concept sketch showing where the force sensor would sit. Use a free-body diagram and friction to estimate the grip force needed to hold your object, and compare it with the force at which your model says the object is damaged. Is there a safe band between them, and how wide is it?

### 6. Run a fair simulated comparison (Research)

Before running the comparison, write a short pre-registration: dropout rates to test, number of randomised simulation runs per condition with a fixed set of seeds, the metric, and your decision rule. Then run it, report results with uncertainty across runs, and keep confirmatory and exploratory analyses separate. Run one ablation, for example removing the filter or the timestamp alignment, to see which part matters.

### 7. Propose a real study

Finish with a one-to-two page proposal describing how a real study could test your question on physical hardware: baseline, metrics, trials, risks and a safety assessment. This is a **proposal only**. Do not build it as part of this capstone.

## What good work looks like

Every claim must say where it comes from: calculation, simulation or literature. A strong report might conclude that force feedback helped in *your simulation* under *these assumptions*, list the assumptions that could make reality differ, and explain what a real experiment would need to find out.

> Results from your simulation describe your model, not real robots, and say nothing about the outcome of TV-01.

## Milestones

1. **Question, scope and architecture.** A narrow simulation-sized question and hypothesis with operational definitions, a system block diagram with loop rates and dropout points, and inverse-kinematics placement of both grippers.
2. **Verified simulation of the object and sensors.** Spring–damper object with slip, intermittent noisy camera and noisy force sensor, verified against a hand-worked case with a step-size study.
3. **Two controllers designed and tuned.** A vision-only and a vision-plus-force controller, each tuned with a logged procedure, plus the firmware state machine, sensor pipeline and timestamped message design.
4. **Mechanical finger concept.** Concept sketches, a decision matrix, a dimensioned concept drawing with sensor placement, and a grip-force safe-band calculation.
5. **Pre-registered comparison and ablation.** A dated pre-registration, randomised simulation runs across dropout rates with results and uncertainty, separated exploratory notes, and one ablation.
6. **Integrated report and real-study proposal.** A final report linking all five strands, with sources of every claim stated, and a proposal for a real study including a safety assessment.

## Deliverables

- A Python simulation package with the object model, sensor models, both controllers and the comparison script, reproducible from fixed seeds.
- A system block diagram and a firmware state-machine diagram.
- A firmware design note: sensor pipeline, fault handling, message format with timestamps and the data-alignment method.
- Mechanical concept sketches, the decision matrix (as a list or code block) and a dimensioned concept drawing with a force calculation.
- A dated pre-registration for the simulated comparison.
- A 5–8 page integrated report plus a 1–2 page proposal for a real study.

## Rubric

### Integration across pathways

- **Beginning:** Strands are done separately and never connected.
- **Developing:** Some links between strands, but decisions in one strand do not inform another.
- **Proficient:** Each strand feeds the others: the mechanical force band sets the simulation's safe band, firmware faults match simulated failure modes, and the diagram matches the code.
- **Exemplary:** As Proficient, plus the report traces one design decision through every strand and shows how a change in one would ripple through the rest.

### Simulation quality and verification

- **Beginning:** Simulation does not run or is never checked.
- **Developing:** Simulation runs but is verified only by eye, or dropouts and noise are missing.
- **Proficient:** Object, slip, camera dropouts and sensor noise all modelled; verified against a hand-worked case with a step-size study.
- **Exemplary:** As Proficient, plus the student identifies the modelling assumption their conclusion is most sensitive to and tests it.

### Controller and firmware design

- **Beginning:** Only one controller, with untuned or unexplained gains.
- **Developing:** Two controllers, but tuning is not logged or the firmware design lacks fault handling.
- **Proficient:** Two tuned controllers with logs; a firmware state machine with force-limit and camera-timeout faults; a timestamped message format and a stated alignment method.
- **Exemplary:** As Proficient, plus the comparison is fair: both controllers were tuned with equal effort under the same procedure, and the report shows this.

### Research method

- **Beginning:** Results are reported from a single run with no plan.
- **Developing:** Several runs are reported, but there was no pre-registration or the decision rule was set after seeing results.
- **Proficient:** A dated pre-registration followed exactly; results across seeded runs with uncertainty; exploratory results labelled; one ablation reported.
- **Exemplary:** As Proficient, plus the real-study proposal has a fair baseline, measurable metrics, a justified number of trials and a credible safety assessment.

### Integrity and scope of claims

- **Beginning:** The report claims the concept works on real robots, or presents simulated numbers as evidence about TV-01.
- **Developing:** Claims are mostly scoped, but some simulated results are stated as general facts.
- **Proficient:** Every claim is labelled as calculated, simulated or sourced; TV-01 is described only as a proposed study; assumptions and limitations are listed.
- **Exemplary:** As Proficient, plus the report explains specifically how each major assumption could make real-world results differ, and in which direction.

## Going further

Replace the simple force-plus-vision controller with a complementary-filter estimate of the object's compression that blends the camera position with force-derived compression, tune its blending constant, and test in simulation whether the blended estimate copes with a burst of several consecutive dropped frames better than either sensor alone.

---

This work is licensed under the Creative Commons Attribution 4.0 International licence (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/. Attribute as: Tactiverge Academy, https://tactiverge.win.
