Logo: Augmenting Sim Depth With A Fitted D405 Noise Model

Augmenting Sim Depth With A Fitted D405 Noise Model

Organisatioun
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.

Iwwersiicht

Editeurruntime-si
RepositoryRoboSkillHub
Skill-Nummaugmenting-sim-depth-with-a-fitted-d405-noise-model
Stären
242
Forks
27
Matgeliwwert Dateien
6
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    runtime-si huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Augmenting Sim Depth With A Fitted D405 Noise Model an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Augmenting Sim Depth With A Fitted D405 Noise Model an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Augmenting Sim Depth With A Fitted D405 Noise Model automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Augmenting Sim Depth With A Fitted D405 Noise Model net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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).

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Augmenting Sim Depth With A Fitted D405 Noise Model op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Augmenting Sim Depth With A Fitted D405 Noise Model besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Augmenting Sim Depth With A Fitted D405 Noise Model an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Augmenting Sim Depth With A Fitted D405 Noise Model benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Augmenting Sim Depth With A Fitted D405 Noise Model benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Augmenting Sim Depth With A Fitted D405 Noise Model domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Augmenting Sim Depth With A Fitted D405 Noise Model gratis?

Jo. runtime-si huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇