Sensor mismatch in Sim2Real: when real readings stop looking like simulated ones
A field guide to the failures that appear when real sensor noise, latency, and calibration differ from the simulated sensor model, and to what Sim2Real does with events tagged sensor_mismatch.
- Tag string
sensor_mismatch- Assigned by
- Your telemetry, not Sim2Real
- Starter patch
- MuJoCo and Isaac Sim, from 3 events
Symptoms in the field
What engineers and operators usually notice first. One of these alone proves little; several together are a reason to tag failures sensor_mismatch and look at the simulator.
- The policy behaves as if it is reacting late: overshoot, oscillation around a target, or contact registered after the fact.
- State estimates jitter or drift on the robot while the simulated signal is clean.
- Force and torque readings carry a bias or thermal drift, so thresholds trigger falsely or not at all.
- Depth or lidar returns have dropouts, multipath, or range-dependent noise that the simulation never produced.
- Encoder or IMU timestamps do not line up with camera frames, and the fused observation is inconsistent.
- The problem appears after a sensor swap, a firmware update, or a recalibration.
Likely sim-side causes
None of these is proven by the tag. They are the sensor-model assumptions worth checking first when the hardware moves correctly and the observations do not match. Sim2Real does not determine root cause.
- Fixed zero-mean Gaussian noise. Real sensors add bias, drift, quantization, outliers, and dropouts that a single standard deviation does not describe.
- No latency. Simulated observations arrive in the step they are produced. The real pipeline adds transport and processing delay, with jitter.
- Idealised sample rates. Every sensor ticking in lockstep hides dropped frames and the asynchrony between sources.
- Perfect calibration. Intrinsics, extrinsics, and hand-eye transforms are assumed exact, so small real errors appear as unexplained offsets.
- Missing driver filtering. Low-pass filters and debouncing in real drivers shape the signal, and the simulation feeds the policy the unfiltered value.
| Dimension | Default simulation assumption | Typical real-world behavior |
|---|---|---|
| Noise profile | Zero-mean i.i.d. Gaussian noise | Thermal bias drift, quantization, and non-Gaussian outliers |
| Observation latency | Zero step delay (instantaneous state) | Variable transport and driver processing delay with jitter |
| Sample synchronization | Lockstep ticks across all sensors | Asynchronous clocks, dropped frames, and timestamp skew |
What telemetry to send
Post one JSON event per failure to POST /api/telemetry with your key in the x-api-key header, or up to 50 events at a time as { "events": [...] } to POST /api/telemetry/batch. Only robotId and eventType are required, and robotId must be a robot in your workspace fleet. For sensors, the useful context pairs the simulated assumption with the measurement: latency, noise, bias, dropped frames, firmware version, and the age of the calibration.
Illustrative event Robot, site, and values are invented. The top-level field names are the ones the API accepts.
{
"robotId": "arm-07",
"eventType": "failure",
"failurePattern": "sensor_mismatch",
"taskName": "inspect_weld_seam",
"siteName": "Example Site / Cell 4",
"timestamp": "2026-11-10T07:48:30Z",
"eventId": "arm-07-000498",
"simConfidence": 0.9,
"realWorldSuccessRate": 0.73,
"driftScore": 0.38,
"rawSensor": {
"sensor": "wrist_ft",
"firmware": "2.4.1",
"measured_latency_ms": 46,
"sim_assumed_latency_ms": 0,
"measured_noise_stddev": 0.09,
"sim_noise_stddev": 0.05,
"bias_estimate": 0.6,
"dropped_frame_fraction": 0.03,
"calibration_age_days": 112
}
}
eventTypeis one ofobservation,action,failure, orsuccess. Post successes as well as failures: the workspace success rate is calculated from the two.simConfidence,realWorldSuccessRate, anddriftScoreare numbers you report, stored within the range 0 to 1.rawSensoris a JSON object or array of at most 8 KB. The key names inside it are yours. Sim2Real stores it as sent, redacts keys that look like credentials, and does not interpret it.eventIdis optional and makes retries safe: repeating an id the robot has already stored is acknowledged without storing a second event.- Camera frames, point clouds, and logs stay in your systems. Reference them by identifier, as
rawSensordoes above.
How Sim2Real groups it
A failure event joins this group when its failurePattern field is exactly sensor_mismatch. Surrounding whitespace is trimmed and case matters. Sim2Real stores that tag as sent. It does not inspect rawSensor, images, or logs to choose a tag, and it does not re-tag events.
- In the workspace, the group shows how many failures carry the tag, how many arrived in the last 24 hours, which robots are affected, and when it was last seen.
- At three or more failures, the workspace lists a review item titled “Review a starter sensor-noise override” and the export includes the starter block below.
- A misspelled or unrecognized value is stored as
unknown, and the API response carries a warning that names the value. Theunknowngroup gets no starter patch.
The tag describes what your team observed. It is a label for triage, not a diagnosis. See how tags are assigned for the full rules.
The starter patch Sim2Real generates
Signed-in workspaces can download a JSON patch from GET /api/export/mujoco or GET /api/export/isaacsim, for the whole workspace or for one robot with ?robotId=. When three or more stored failure events in that scope are tagged sensor_mismatch, the file contains exactly the block below, next to the blocks for any other tag that reached three.
MuJoCo export
{
"parameterOverrides": {
"sensor": {
"noiseStddev": 0.02,
"latencyCompensation": true
}
},
"diff": [
{
"path": "/sensor/noise[0]/@stddev",
"old": "0.05",
"new": "0.02",
"reason": "sensor_mismatch: align simulated noise with reported divergence"
},
{
"path": "/sensor/latency[0]/@compensated",
"old": "false",
"new": "true",
"reason": "sensor_mismatch: compensate reported sensor latency"
}
]
}
Isaac Sim export
{
"layer": {
"sensorUpdate": "Aligned sensor noise and latency with reported divergence"
},
"operations": [
{
"op": "override",
"path": "/World/Sensors/NoiseStdDev",
"value": 0.02
},
{
"op": "override",
"path": "/World/Sensors/LatencyCompensated",
"value": true
}
]
}
The file also carries engine, generatedAt, robotId, and site, and the Isaac Sim file adds format: "usd". Those are omitted here.
What this starter does
- Both blocks set one noise standard deviation and one latency flag. The export states no unit and no sensor channel for the noise value.
- The noise value is a constant. It is not computed from the numbers in your
rawSensor, and the starter lowers it. If your real sensor is noisier than the simulated one, as in the example event above, you want the opposite change, and your own measurement is the value to use. - The latency line is a flag with no duration attached. How latency is modelled, for example a delay buffer on observations sized from your measurement, is your team's design decision.
What it does not do
- It does not fit a noise model. There is no bias, drift, quantization, dropout, or per-channel term, and no calibration correction.
- The values are constants, identical for every workspace. They are not calculated from your events, and the count of events only decides whether the block is present.
- The
oldvalues in the MuJoCo diff are the baseline the starter assumes. Sim2Real does not read your MJCF model or USD stage, so the paths are a schema to map onto your assets, not addresses guaranteed to exist in them. - Nothing is applied automatically. The export is a file for your engineers to review, change, or discard.
What to validate after applying
The patch is a starting point for a simulator change, and the validation is yours. A workable order:
- Record a trace from the real sensor at rest, compute its standard deviation and bias, and compare them with the simulated parameters. Where they differ, use your measurement in place of the starter value.
- Measure end-to-end latency from a step input to the observed response, and set an explicit delay in simulation.
- Replay logged real observations through the policy offline and check whether the action distribution resembles the one seen in simulation.
- Re-run your simulation regression suite and confirm that scenarios which passed before still pass.
- Roll out to one robot first and keep posting events with the same
taskNameandsiteName, so the windows before and after are comparable. - Compare the
sensor_mismatchcount against attempts across the two windows, and write down anything else that changed: firmware, calibration, cabling, sensor mounts.
On causality. Your team reviews and applies the patch, then posts the next events to compare. Sim2Real does not claim a later change in success rate was caused by the patch. A change in the reported success rate is not by itself proof of cause.
Questions
Does Sim2Real fit a noise model to my sensor data?
No. Sim2Real stores the sensor context you send in rawSensor and does not interpret it. It groups a failure under sensor_mismatch only when the event you post carries that tag.
When does the sensor_mismatch starter patch appear in an export?
Once three or more stored failure events in the export scope carry the sensor_mismatch tag. Below that count the export contains no block for this tag.
Are the starter patch values tuned to my robot or site?
No. They are fixed starter values, the same for every workspace. Sim2Real does not read your MJCF model or USD stage, and your engineers decide whether and how to apply them.
Bring one failure pattern, not a platform migration.
Run your own failure log through the analyzer, start the Pilot Optimizer plan at $499/month for up to three robots, or ask an engineer to look at one representative failure with you.