Logo de Augmenting Sim Depth With A Fitted D405 Noise Model

Augmenting Sim Depth With A Fitted D405 Noise Model

Organização
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.

Visão geral

Publicado porruntime-si
RepositórioRoboSkillHub
Nome da habilidadeaugmenting-sim-depth-with-a-fitted-d405-noise-model
Estrelas
242
Forks
27
Arquivos incluídos
6
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 6

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por runtime-si no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Augmenting Sim Depth With A Fitted D405 Noise Model no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Augmenting Sim Depth With A Fitted D405 Noise Model em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Augmenting Sim Depth With A Fitted D405 Noise Model automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Augmenting Sim Depth With A Fitted D405 Noise Model não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Augmenting Sim Depth With A Fitted D405 Noise Model faz?

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.

Por que usar Augmenting Sim Depth With A Fitted D405 Noise Model no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Augmenting Sim Depth With A Fitted D405 Noise Model é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Augmenting Sim Depth With A Fitted D405 Noise Model no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/runtime-si/RoboSkillHub/tree/main/skills/augmenting-sim-depth-with-a-fitted-d405-noise-model. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Augmenting Sim Depth With A Fitted D405 Noise Model?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Augmenting Sim Depth With A Fitted D405 Noise Model?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Augmenting Sim Depth With A Fitted D405 Noise Model com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Augmenting Sim Depth With A Fitted D405 Noise Model é gratuita?

Sim. A habilidade é publicada no GitHub por runtime-si sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇