Augmenting Sim Depth With A Fitted D405 Noise Model logo

Augmenting Sim Depth With A Fitted D405 Noise Model

Organization
runtime-si
augmenting-sim-depth-with-a-fitted-d405-noise-model

Replaces each simulated depth image of an observation with the same image under Intel RealSense D405 noise fitted to real wrist frames of the YAM station - correlated fine noise growing with z squared, a smooth low-frequency error, dropouts on depth edges and the stream's 1 mm quantisation. Routes augmented or no_depth. Use when a depth-based check (seat height, flushness, resting face) is tested or tuned on rendered or ray-cast depth and must see what the real sensor would deliver, or to stress it with scale > 1; no motion.

Overview

Publisherruntime-si
RepositoryRoboSkillHub
Skill nameaugmenting-sim-depth-with-a-fitted-d405-noise-model
Stars
242
Forks
27
Bundled files
6
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by runtime-si on GitHub. Read the source before you install it.

Installation

Install the Augmenting Sim Depth With A Fitted D405 Noise Model AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model .claude/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Augmenting Sim Depth With A Fitted D405 Noise Model in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Augmenting Sim Depth With A Fitted D405 Noise Model on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Augmenting Sim Depth With A Fitted D405 Noise Model is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

augmenting-sim-depth-with-a-fitted-d405-noise-model

Simulated depth is too clean. This puts the station's real D405 back into it.

Refit of the smooth term (texture-free)

The first fit's smooth term (1.0 mm at 15 cm) came from plane residuals on the wood table, so it held the table's relief. scripts/fit_temporal.py measures what changes between two captures of the same static scene instead: consecutive wrist frames of one run with RGB mean difference < 0.5, median depth within 0.05 mm and some pixels changed (not a duplicated save) - 6 such pairs at 16 cm in the recorded data. Their depth difference / sqrt(2), low-passed at the model's 30 px: 0.0072 z^2 = 0.16 mm at 15 cm (p90 0.018 z^2 = 0.41 mm), against the first fit's 0.0452 z^2 = 1.0 mm: about 85 % of the old term was not the sensor's time-varying error. Frame to frame, the fine noise is ~0 (0.001 mm): 93-95 % of pixels repeat exactly (the stream's 1 mm steps and its temporal filter), so the fine term (0.51 mm, spatial) stays as fitted and is a fixed-pattern-plus-relief upper bound. Six pairs is little: the smooth term carries that uncertainty. No flat reference surface was found in the recorded wrist frames (the holders on the table are pocketed or carry pens).

The fitted model (D405_FIT)

scripts/fit_noise.py on 401 real wrist D405 frames of the YAM station (~/yam_gap/threading/runs/**, overhead frames and frames with a median depth over 35 cm excluded; 13 166 flat 60 x 60 px patches, 1 337 flat 192 px windows):

termfittedold lego_hub.depth.add_noise
fine noise (plane residual, 60 px patch)sigma = 0.0228 z^2 (0.51 mm at 15 cm; patch median 0.54 mm, p10-p90 0.31-1.40 mm)0.0113 z^2 (0.25 mm)
its spatial correlationGaussian, 2.4 px (lag-1 0.93, lag-3 0.79)1 px
smooth error, frame to frame (30 px; refit, below)0.0072 z^2 (0.16 mm at 15 cm)none
(first fit: smooth spatial error, 192 px window - the table's relief)(0.0452 z^2, 1.0 mm; no longer used)
dropout at depth edges (> 2 cm jumps)41 %50 % flying / mixed pixels
quantisation of the stream1 mm0.1 mm

add_fitted_noise(depth, K, rng, params, scale) draws both noise fields as Gaussian-blurred white noise (2.4 px, 30 px), scales them by z^2, drops edge pixels, and rounds to 1 mm. scale multiplies both amplitudes.

What to know:

  • The smooth term includes the table's own relief (wood, not a flat reference), so it is an upper bound on the sensor's low-frequency error.
  • The stream is quantised to 1 mm on this station (the recorder stores millimetres), coarser than the 0.3 mm seat threshold of #162: a check must average over many pixels to resolve sub-millimetre heights.
  • Self-check: frames synthesised with the model and measured back with fit_noise.py read sigma 0.0274 z^2, correlation 1.5 px and smooth 0.027 z^2 against the fitted 0.0228 / 2.4 / 0.045: same order, not exact; the 1 mm quantisation breaks up the pixel correlation and leaks into the patch residual.
  • The overall dropout of the real frames (26 %, mostly far background and the sensor's minimum range) is not modelled; only edge dropouts are.

Re-run: depth seat and the #162 fused judge on noisy rendered depth

LEGO physics station with the RTX cameras (#171), LEGO_RENDER=1 LEGO_RENDER_NOISE=fitted (and fitted:2), single_on_plate + single_on_brick x {no fault + 6 station faults} x seeds 3-5 (42 placements each), the #162 thresholds unchanged:

wrist depthjudgefalse donesuccesses accepteduncertainfailures caught
RTX render + old noise model (#171)depth seat0/2115/211215/21
RTX render + old noise modelfused #1620/2115/21621/21
RTX render + fitted noisedepth seat0/180/241212/18
RTX render + fitted noisefused #1620/180/242418/18
RTX render + fitted noise x2depth seat0/180/241212/18
RTX render + fitted noise x2fused #1620/180/242418/18

(The re-runs' physics put 24 of 42 placements in the seat this time, against 21 in #171: the outcome of the same seed is not bit-identical between runs.)

  • The verdicts do not hold. Under the fitted noise the depth seat check routed every brick tilted - all 24 seated ones too - so it accepts nothing; the fused judge stays safe (no false done) but passes no success.
  • Seat height errors under the noise: seated 0.92-1.17 mm (x2: 1.01-2.21), failed 2.21-2.80 mm (x2: 2.38-3.66), against 0.06-0.11 / 1.75-1.81 mm without it: the gap between seated and not seated shrinks from 1.6 mm to ~1 mm (and closes at x2).
  • The likely cause is the smooth term (1.0 mm at 15 cm over a 30 px scale): across a 2x4 brick's top it reads as a tilt beyond the seat check's tolerance. That term is fitted on wood and includes the table's relief, so it overstates the sensor; the next step is to fit it on a flat reference (or on repeated frames of a static scene, which separates sensor from relief) and to re-tune the seat check's tilt and height tolerances on noisy depth.

In the LEGO station

LEGO_RENDER=1 LEGO_RENDER_NOISE=fitted (or fitted:<scale>) applies the same model to the station's rendered wrist depth in the lego_hub bridge (lego_hub.depth.add_fitted_noise, kept identical to this script's; a test checks it).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Augmenting Sim Depth With A Fitted D405 Noise Model AI skill do?

Replaces each simulated depth image of an observation with the same image under Intel RealSense D405 noise fitted to real wrist frames of the YAM station - correlated fine noise growing with z squared, a smooth low-frequency error, dropouts on depth edges and the stream's 1 mm quantisation. Routes augmented or no_depth. Use when a depth-based check (seat height, flushness, resting face) is tested or tuned on rendered or ray-cast depth and must see what the real sensor would deliver, or to stress it with scale > 1; no motion.

Why use Augmenting Sim Depth With A Fitted D405 Noise Model on TypingMind?

Because you install it once and use it with any model. Augmenting Sim Depth With A Fitted D405 Noise Model is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Augmenting Sim Depth With A Fitted D405 Noise Model in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Augmenting Sim Depth With A Fitted D405 Noise Model?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Augmenting Sim Depth With A Fitted D405 Noise Model?

As many as you like. As long as a model supports skills, you can use Augmenting Sim Depth With A Fitted D405 Noise Model with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Augmenting Sim Depth With A Fitted D405 Noise Model AI skill free?

Yes. It is published on GitHub by runtime-si under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇