Skip to content
Tactiverge

Tactiverge Studios · Robotics

A robot arm on every screen.

No kit, no soldering, no motors to buy. Move joints, solve inverse kinematics, program sense-decide-act rules, tune PID control and run reproducible experiments, all in your browser.

Level 5 · Research Engineer mode · lesson setup: Repeated distance measurements

Make claims you can defend. Repeat seeded trials, put intervals on results, check predictions two ways, and state the limits.

  • repeat measurements: mean, sd, 95 % CI
  • Jacobian prediction vs Monte Carlo
  • compare strategies, export, write limitations
-40-30-20-1010203040x₀y₀x₁y₁xₜyₜJ1J2(15.1, 26.4)grid = 10 cm · base at (0, 0)

Click here, then ←/→ turn joint 1, ↑/↓ pick a joint, Shift = big steps. Or drag the tip. Shaded = reachable within joint limits (sampled). Orange x / dashed blue y axes = coordinate frames.

State

2R arm: joint 1 at 35°, joint 2 at 60°. Tool tip at x 15.1 cm, y 26.4 cm, 30.4 cm from the base, pointing 95°. The star target is 15.3 cm from the tip.

2R arm: joint 1 at 35°, joint 2 at 60°. Tool tip at x 15.1 cm, y 26.4 cm, 30.4 cm from the base, pointing 95°. The star target is 15.3 cm from the tip.

Arm

Joints and setup

Arm
35 °
60 °
Links, limits, target and view
20 cm
15 cm
180 ± °

Real joints have end stops; the shaded workspace shrinks.

Coordinates

Homogeneous transform chain

Each joint is a 3×3 homogeneous transform: R joint Rot(θ)·Trans(L, 0), P joint Trans(L + d, 0). Multiply along the chain: the last column of T₀ₜ is the tip position.

T₀₁ (θ=35.0°)
0.82-0.5716.38
0.570.8211.47
0.000.001.00
T₁₂ (θ=60.0°)
0.50-0.877.50
0.870.5012.99
0.000.001.00
T₀ₜ (tool → base)
-0.09-1.0015.08
1.00-0.0926.41
0.000.001.00
Jacobian J = ∂(x, y)/∂q
-26.41-14.94
15.08-1.31

Column i = how fast the tip moves per unit of joint i (cm/rad or cm/cm). det J = 259.81.

Repeated measurements

A noisy range finder, measured properly

The sensor on the tool measures the distance to the star. Every reading = truth + bias + Gaussian noise. The same seed always gives the same readings, so anyone can reproduce your run.

0.5 cm
0 cm
30

True distance

15.29 cm

Mean ± sd

15.21 ± 0.41 cm

n = 30

95 % CI

[15.06, 15.37]

contains the truth

Mean − truth

-0.076 cm

bias shows up here

1415102030reading numberdistance (cm)
readingrunning meantrue distance95 % CI of the mean

Uncertainty

Encoder resolution → tip uncertainty (Jacobian vs Monte Carlo)

An n-bit encoder rounds each angle to a step q = 2π/2ⁿ, so it can be wrong by up to ±q/2. The orange ellipse on the arm is the 1σ spread of the tip (dashed: 2σ), drawn ×10 so you can see it. Blue dots are Monte Carlo trials.

8 bits
30

Step q

1.406°

Worst case (linear)

0.55 cm

all joints off by q/2, worst signs

1σ ellipse (Jacobian)

2.337 × 0.558 mm

1σ ellipse (Monte Carlo)

2.326 × 0.541 mm

30 trials, seed 7

Agreement (major axis)

0.5 % apart

Tip distance from base

30.4 cm

a longer lever magnifies shoulder error

Prediction: Σₚ = J·diag(q²/12)·Jᵀ (first-order, uniform independent rounding). Monte Carlo re-runs the full nonlinear FK with random rounding errors. If they disagree, suspect too few trials or a nearby singularity.

Seeded repeated trials

Compare control strategies with mean ± sd and 95 % CI

Each trial adds seeded measurement noise (σ = 0.005 rad) to the joint from the Systems bench. Trial i uses seed 7 + i, so the whole table can be regenerated exactly. If two intervals overlap, the data do not clearly separate the strategies.

Strategies

Uses the gains, limit and load you set in Systems Engineer mode.

20
0.000 rad
Integrated absolute error and overshoot per strategy over repeated trials
strategyIAE mean ± sdIAE 95 % CIovershoot % mean ± sdsettled
PD0.242 ± 0.001[0.241, 0.242]6.1 ± 0.1100 %
PID0.386 ± 0.004[0.384, 0.387]14.4 ± 0.2100 %

Report

Hypothesis, interpretation, limitations

Saved with your design (this browser, or the JSON export). Nothing is sent anywhere.

Simulation OS

Reproducible investigations

Each model is pure and seeded, with independent reference cases. Record runs, change one variable, compare.

Simulation OS · roboticsEducational model, not a digital twin

Encoder resolution → tool-tip uncertainty

Propagate joint-encoder resolution to tool-tip error through the Jacobian, and check it with a seeded Monte Carlo experiment.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

5–40 cm
5–40 cm
-180–180 °
-180–180 °
4–16 bits

Each extra bit halves the angle step 2π/2ⁿ.

100–5000

The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.

6 · Change one variable

Your first run is the baseline. After it, change one thing at a time.

7 · Compare on a graph

Run the model to draw your first curve here.

5 · Run log

No runs yet.

Equations

Ellipse semi-axes = √(eigenvalues of Σₚ). Monte Carlo: sample δθᵢ ~ U(−q/2, q/2), recompute the full nonlinear FK, take the sample covariance.

Assumptions (always true in this model)

  • Planar arm: everything happens in one flat plane.
  • Rigid links and ideal revolute joints: no bending, backlash or play.
  • Kinematics only: no masses, gravity or motor dynamics in this model.
  • Distances in centimetres, angles in degrees on the controls (radians inside the maths).
  • Quantisation errors are independent between joints and uniform on ±q/2 (true angle not aligned with the code wheel).
  • First-order (Jacobian) propagation; it fails near singularities, which the Monte Carlo check exposes.
Text description of what the chart shows

A cloud of possible tool-tip positions caused by rounding each joint angle to the nearest encoder step. The plots show the x and y error of each Monte Carlo trial; the metrics compare the spread predicted by the Jacobian with the spread actually simulated, and the linearised worst case.

Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.

Which assumptions could change your answer in the real world?

Export and save

Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.

Simulation OS · roboticsEducational model, not a digital twin

Repeated distance measurements

Take repeated, seeded readings from a noisy, possibly biased range sensor and summarise them with mean, standard deviation and a 95 % confidence interval.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

1–80 cm
0–5 cm
-3–3 cm

A systematic offset: averaging more readings does not remove it.

2–500

The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.

6 · Change one variable

Your first run is the baseline. After it, change one thing at a time.

7 · Compare on a graph

Run the model to draw your first curve here.

5 · Run log

No runs yet.

Equations

95 % CI: x̄ ± t₀.₉₇₅,ₙ₋₁·s/√n. It shrinks like 1/√n around the BIASED mean.

Assumptions (always true in this model)

  • White Gaussian noise, independent between readings.
  • Constant bias; readings clamped to [0, 200] cm.
  • The target does not move during the readings.
Text description of what the chart shows

A sequence of repeated distance readings scattered around the true distance, with the running mean settling down as more readings arrive. Metrics give the mean, the standard deviation and a 95 % confidence interval, and how far the mean is from the truth.

Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.

Which assumptions could change your answer in the real world?

Export and save

Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.

Simulation OS · roboticsEducational model, not a digital twin

Joint-space vs straight-line (Cartesian) motion

Move a 2-link arm between two points by interpolating its joints, or by solving IK along the straight line, and compare the paths.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

5–40 cm
5–40 cm
-40–40 cm
-40–40 cm
-40–40 cm
-40–40 cm
10–400

The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.

6 · Change one variable

Your first run is the baseline. After it, change one thing at a time.

7 · Compare on a graph

Run the model to draw your first curve here.

5 · Run log

No runs yet.

Equations

Timing law s(τ) = 3τ² − 2τ³ for both, so only the path shape differs. A pure shoulder sweep of Δ at radius R bulges R·(1 − cos(Δ/2)) off the chord.

Assumptions (always true in this model)

  • Planar arm: everything happens in one flat plane.
  • Rigid links and ideal revolute joints: no bending, backlash or play.
  • Kinematics only: no masses, gravity or motor dynamics in this model.
  • Distances in centimetres, angles in degrees on the controls (radians inside the maths).
  • Elbow-up IK branch throughout; no joint limits or collisions in this model.
Text description of what the chart shows

Two ways of moving an arm between the same start and end points. The first plot shows how far each path strays from the straight line over time: the joint-space path bows outwards, the IK path stays on the line where it can. The other plots show the shoulder and elbow angles for each method.

Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.

Which assumptions could change your answer in the real world?

Export and save

Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.

Guided challenges

Try these, then press Check

“Set up” puts the bench into the starting position for that challenge. Checks re-run the simulation on your current setup, so they test what the model actually does.

  1. 1An interval that captures the truth

    auto-checked

    With an unbiased range sensor (noise ≥ 0.2 cm), take at least 20 readings and check that the 95 % confidence interval contains the true distance.

    Hint

    About 1 seed in 20 will miss: that is what 95 % means. Record the seed either way.

  2. 2Catch a systematic error

    auto-checked

    Set a sensor bias of at least 0.5 cm. Take enough readings that the 95 % interval excludes the true distance. Averaging more cannot fix bias: explain why in your notes.

    Hint

    More trials shrink the interval around the BIASED mean.

  3. 3Check the Jacobian with Monte Carlo

    auto-checked

    Run at least 500 Monte Carlo trials and show that the simulated ellipse's major axis is within 10 % of the Jacobian prediction.

    Hint

    Too few trials and the sample spread is itself noisy. Near a singularity the linear prediction can break down.

  4. 4Write the limitations

    self-check

    In the notes, write at least three sentences on what this model leaves out and how that could change your conclusion. Name at least two assumptions.

    Hint

    Think: rigid links? planar? ideal motors? independent, uniform encoder errors? linearisation? white Gaussian noise?

Save

Keep your design

Designs stay on your device: saved in this browser or downloaded as a JSON file. Imported files are checked against the workbench schema before they load.

What this model assumes

This is a simplified educational model, not an engineering-grade simulator. Knowing what it leaves out is part of the lesson.

  • Planar: every arm moves in one flat plane, seen from above.
  • Rigid links and ideal joints: no bending, backlash or play.
  • Ideal motors within their torque limit; each joint is controlled on its own (no gravity or coupling between joints).
  • Collisions are simple geometric checks (links as thick lines, rocks as circles), not contact physics.
  • Encoder rounding is uniform and independent between joints; sensor noise is seeded white Gaussian noise.
  • Units: centimetres and degrees on the controls, radians inside the maths, SI units for dynamics.

Safety: the workbench never connects to real machinery. It uses no USB, serial or Bluetooth access, and everything runs on your own device.

Lesson setups

School lessons open the bench in one of these setups. You can open any of them yourself.

Content status: technically checked (automated tests of the maths against closed-form reference cases). Not yet reviewed by an educator.