Open Lab investigation · OL-01
Carrying Together
In a toy simulation of two robots carrying a stretchy strip, investigate how camera update rate and a local force signal affect strain.
About 2.5 h · advanced · 6 steps · Free
This is a learning investigation, not peer-reviewed research. Unexpected results are welcome: what matters is a clear hypothesis, honest data and careful interpretation.
The question
Research question
In a simple simulated model, how does the time between camera updates affect the strain on a stretchy object carried by two robots, and how much does adding a local force signal change that relationship?
Why it matters
When two robot arms carry one object together, each must move in step with the other. If the object is rigid, small mismatches create large forces. If it is soft and stretchy, like fabric or a rubber sheet, mismatches stretch it, and too much stretch can damage it or make it slip. A robot that sees its partner only through a camera has a problem when the camera updates slowly or is blocked: it acts on old information.
This connects to the research question of Project TV-01, which is a proposed study that has not been carried out and has no results: "Can inexpensive local force sensing compensate for intermittent visual information and improve cooperative robotic manipulation of unfamiliar deformable materials?" Your investigation is not that study and cannot answer it. It is a much simpler, made-up model that lets you practise thinking about the same kind of question.
This is a learning exercise, not peer-reviewed research. Unexpected results are welcome: a prediction that turns out wrong, honestly reported, is a good outcome.
You will learn to
- Formulate a testable hypothesis about a simulated system before running it.
- Change one variable at a time and record results systematically.
- Explain why a toy model can support reasoning but not real-world conclusions.
- Relate the idea of acting on old information to the design of cooperative robots.
Limits
- C1Use only the toy model above (free Python, standard library). You may add code but must not change the model's physics without saying so.
- C2Change one variable at a time: vision_period, use_force, or later the force gain 4.0.
- C3Test at least five values of vision_period between 0.05 s and 3 s, each with and without force.
- C4Any numbers you report are outputs of a made-up toy model, and must be labelled as such.
- C5Never present your results as evidence about TV-01 or about real robots.
Background
The toy model
Two robots carry a stretchy strip in a straight line. The leader moves back and forth along a fixed, smooth path. The follower must keep the strip at its rest length of 30 cm. The strip behaves like a spring: tension = k × (distance − rest length), with k = 0.5 N/cm. Positive tension means it is stretched; negative means it is squashed.
The follower has two possible sources of information:
- A camera that sees the leader's position, but only once every
vision_periodseconds. Between frames, the follower uses the last frame it saw. - A local force signal measuring the strip's tension at the follower's hand. It is available at every time step.
The follower's speed command chases the last camera sighting and, if force is enabled, also eases off in the direction that reduces tension.
import math
def run(vision_period, use_force, k=0.5, rest=30.0, dt=0.01, duration=20.0):
"""Two robots carry a stretchy strip. Returns (rms, peak) tension in N."""
follower = -rest # follower starts exactly rest length behind
seen = 0.0 # last camera sighting of the leader
next_frame = 0.0
sq_sum, peak, n = 0.0, 0.0, 0
t = 0.0
while t <= duration + 1e-9:
leader = 10 * math.sin(0.5 * t)
tension = k * ((leader - follower) - rest) # local force sensor
if t >= next_frame - 1e-9: # a camera frame arrives
seen = leader
next_frame += vision_period
v = 2.0 * ((seen - rest) - follower) # chase the last sighting
if use_force:
v += 4.0 * tension # ease off when pulled
follower += v * dt
sq_sum += tension ** 2
peak = max(peak, abs(tension))
n += 1
t += dt
return math.sqrt(sq_sum / n), peak
rms, peak = run(vision_period=1.0, use_force=False)
print(f"vision every 1.0 s, no force: rms {rms:.3f} N, peak {peak:.3f} N")Running it as written should print exactly this, which confirms your copy works:
vision every 1.0 s, no force: rms 1.682 N, peak 2.791 NMeasures
RMS tension summarises how much the strip is strained on average over the run; peak tension is the worst moment. Both are in newtons. Lower is better for a delicate material.
What the model leaves out
The force signal in this model is perfect: no noise, no delay, no calibration error. The strip has no mass, the leader's path is smooth and predictable, and nothing slips. Real cameras drop out in bursts rather than at a steady rate. Keep these in mind: they are exactly where real systems differ.
How to approach it
- 01
Understand the question and the model
Read the model code line by line. In your own words, explain what the follower does between camera frames, and what the force term does. Predict what happens to tension when vision_period is very small. Do not run anything yet.
- 02
Write your hypothesis
Before running any experiments, write your hypothesis in the submission. Say how you expect RMS tension to change as vision_period grows, with and without force, and why. A good hypothesis also predicts the shape of the relationship, for example steady, accelerating or levelling off.
- 03
Run a pilot and fix your method
Run the provided line to check you get the exact output shown. Then try two or three settings to see the range of results. Decide your final list of vision_period values, and write down your method, including what counts as "force helps a lot" before you see the full results.
- 04
Collect data
Write a loop that runs every combination of your vision_period values and use_force, and prints a neat list of results. Copy the raw output into your data field, labelled as toy-model output.
- 05
Interpret
Compare your data with your hypothesis. Where does the force signal make the biggest difference? Is there any setting where it makes things worse? Explain the pattern using what the follower knows and when it knows it.
- 06
Reflect on limitations
Pick the model simplification you think matters most, such as the perfect force signal. Describe how you could change the code to make it more realistic, for example by adding noise or delay to the tension reading, and predict which way it would push your conclusion. If you have time, try it.
Your work
Everything above is free to read and use. To save drafts, submit versions and get feedback, sign in.
You can also work on paper: the prompts below are what a submission asks for.
- Hypothesis (written before you collect any data)
- Method
- Data and observations
- Interpretation
- Limitations
How it's judged
There is more than one good answer. This rubric describes what strong work looks like.
Question and hypothesis
- Beginning
- No clear hypothesis, or it was clearly written after seeing the data.
- Developing
- A hypothesis is stated before data but is vague, so almost any result would fit it.
- Proficient
- A specific, falsifiable hypothesis with a reason behind it, written before data collection.
- Exemplary
- As Proficient, plus a stated prediction of how big the effect should be and what result would count against it.
Method and control of variables
- Beginning
- The method is missing or too vague to repeat.
- Developing
- The changed variable is clear, but other variables drift between runs or repeats are missing.
- Proficient
- One variable is changed at a time, others are held fixed and listed, with repeats and a decision rule set in advance.
- Exemplary
- As Proficient, plus a pilot run that led to a documented change of method, and a check that the measurement itself is reliable.
Data quality and honesty
- Beginning
- Data are missing, unitless or only summarised, with no raw values.
- Developing
- Raw data are present but inconvenient runs are silently dropped or units are inconsistent.
- Proficient
- All runs are reported with units, including failed or surprising ones, with a note on each exclusion.
- Exemplary
- As Proficient, plus variability between repeats is quantified (for example a range or standard deviation) and used in the interpretation.
Interpretation and limitations
- Beginning
- Claims go beyond the data or ignore the hypothesis.
- Developing
- The result is described but not connected to the hypothesis, or limitations are generic.
- Proficient
- The conclusion follows from specific numbers, and the most important limitation is named with its likely effect.
- Exemplary
- As Proficient, plus alternative explanations are considered and the student says exactly what further test would distinguish them.
Reflect
- What did your toy model make easy to see that would be hard to see on real hardware?
- Why can a result from this model not be used as evidence about TV-01?
- If you had to design the first real experiment on this question, what would you measure?
Go further
Add Gaussian noise to the tension reading using random.gauss with a fixed seed, and find how noisy the force signal can be before it stops helping at your slowest camera rate. Report your results as toy-model output with the seeds you used.