what is robot error debugging from video data ?
Robot error debugging from video data is using recorded camera footage of a robot at work to find when a failure happened and what it looked like, then lining that moment up with the robot's logs to find what caused it.
a customer says the robot acted weird yesterday. the logs are forty gigabytes and nobody knows which minute to open. the video is the fastest way in : a person sees a dropped part in two seconds that would take an hour to find in joint states.
video shows what happened. it rarely shows why. this page is about getting from the first to the second.
a video debugging checklist :
- camera topics recorded in the same file as the logs
- every frame stamped at capture time
- a rolling buffer saved on every failure
- one view from outside the robot
- success criteria written as checks a camera can see
- every rollout judged from video and signals together
- a healthy run of the same task kept for comparison
- other runs under the same condition checked before naming a cause
what video shows, and what it hides :
- the outcome : whether the part was actually placed, not whether the controller reported done.
- the scene : the lighting, the clutter, a person walking through, an object that was not where it should be.
- contact and near-misses : a slip, a collision, a grasp that held by one finger.
- the moment : scrubbing footage finds a failure faster than a query on telemetry.
what it hides is everything behind the motion : forces and torques, what the robot believed it saw, which model and which code were running, and anything outside the frame. a camera records the symptom. that is why the judge below does not watch alone.
record video you can debug from :
- keep it in the same recording. camera topics belong in the ROS bag or MCAP file with everything else, not in a separate clip. compressed video such as H.264 can be stored in MCAP next to the other topics.
- stamp frames at capture. the timestamp is when the image was taken, not when the message arrived.
- keep the seconds before. a rolling buffer that is saved when something goes wrong costs little storage. rosbag2's snapshot mode holds recent messages in memory and writes them out when a service is called.
- add a view from outside. the robot's own camera looks where the robot looks. an outside camera sees the robot, the object and the room together.
- match the frame rate to the motion. at 30 frames a second, a release that takes 50 ms is one or two frames.
- record when the camera stops. a camera topic at 0 Hz is a fact about the run, and often the first clue.
a video judging pipeline for policy rollouts :
watching every rollout by hand stops working after a few dozen. a video judging pipeline does the two jobs a person would otherwise do with a notebook and a stopwatch :
- it evaluates each rollout. the footage is judged against the task's success criteria, and the rollout is marked as a success or a failure.
- it says when the error happened. a failed rollout comes back with the time in the footage where it went wrong, so you open the recording at that moment and not at the start.
The judge does not watch alone. It judges the video while listening to the robot : its internal states, its sensors and every camera view, on one timeline.
- internal states : joint positions and efforts, what was commanded, controller and error states.
- sensors : gripper feedback, force and torque, depth, and whatever else the robot records.
- views : the robot's own cameras and the view from outside, together, so one blocked angle is not the whole story.
this is what makes the verdict worth trusting. a grasp that looks fine on camera and shows a slipping gripper in the feedback is a failure. a part hidden behind the arm is still judged, from the views that can see it. and the time of the error is where the signals first went wrong, which is often before anything is visible.
two things follow. the verdicts add up to a success rate per task and condition, which is what robot policy evaluation needs, and how to report that rate is in measure robot task success rates. and every failure arrives with a timestamp, which is where the debugging in the next sections starts.
write each criterion as something that can be checked : lifted clear of the table, held for a second, placed in the bin. what the camera can confirm, it confirms. what it cannot, the robot's own signals do.
a judge is a measurement, and it can be wrong. keep the footage behind every verdict, and check a sample of the passes as well as the failures.
find the moment by hand :
a judged rollout already has its timestamp. for footage that was never judged :
- start from the outcome and walk back to the last frame where everything was still right.
- use the robot's own events as bookmarks : task start, grasp command, error state, operator intervention. jump to those before scrubbing.
- narrow a vague report with what you do know : the robot, the task, the shift. then sort those runs by outcome.
- write the moment down as a timestamp in the recording, not as "around three".
line the footage up with the logs :
once you have the moment, open everything else at the same timestamp : joint states, commands, gripper feedback, detections, error topics. three questions, in order :
- did the robot see it : what perception reported at that frame.
- did the robot decide it : what was commanded next.
- did the robot do it : what the joints and the gripper actually did.
the cause usually sits in the gap between two of them. then open a healthy run of the same task and look at the same three. the workflow is in investigate a robot field failure and compare MCAP robot runs against a baseline.
one-off or regression :
one failed run on video is an anecdote. before naming a cause, look at the other runs of the same task under the same conditions. if they all pass, you have a rare event to keep an eye on. if the rate dropped after a date, you have a regression, and the question becomes what changed on that date : code, model, dependencies, hardware, environment or setup.
how to tell a drop from noise is in robot reliability testing, and how to catch the next one before it ships is in robot regression testing.
can a model watch the video for you :
the research says partly. AHA, published at ICLR 2025, is an open-source vision-language model that detects failures in robot manipulation and explains them in natural language. it was trained on failures generated by perturbing successful demonstrations in simulation, and its authors note that its reasoning stays close to the failure types it was trained on.
REFLECT, from CoRL 2023, turns video with depth, audio and robot state into a summary of what the robot did, then asks a language model to explain the failure. it was evaluated on 100 simulated and 30 real-world failure demonstrations. note what it feeds the model : not video alone, but depth, audio and robot state with it.
this is useful for triage : sorting hundreds of runs into the few worth opening. it is not yet a root cause. a model that says the gripper closed too early has described the video. it has not found the commit, the calibration or the lighting change behind it.
where OORB fits :
OORB runs a video judging pipeline on policy rollouts. it judges the video while listening to the robot : internal states, sensors and every view on one timeline. each rollout is evaluated against the task, and a failed one is marked with when the error happened. whole datasets are scored that way, filtered by outcome and replayed.
RunFP then explains the failure. it reads the recordings your robots already produce : ROS bags, MCAP files and test-rig exports. it shows which topics a run contains and where one went quiet, compares a failed run with a healthy one layer by layer : hardware, code, model, firmware, environment and run data, and ranks what changed.
the Station adds the view the robot cannot take of itself : a 360° camera and a depth camera that record the scene around each run and sync it with RunFP. the hardware is described in robot fleet supervisor.
frequently asked questions :
What is a video judging pipeline for robot policies ?
It is software that watches the recording of each policy rollout, judges it against the task's success criteria, and reports whether the rollout succeeded and, when it failed, the time at which the error happened. OORB's pipeline judges the video while listening to the robot's internal states, sensors and every camera view on one timeline. The verdicts add up to a success rate per task and condition, and the timestamps tell an engineer where to open the recording.
Why judge robot video together with internal states and sensors ?
Because video alone misses what it cannot see. A grasp can look fine on camera while the gripper feedback shows it slipping, and one camera angle can be blocked by the arm. Judging the footage together with joint states, commands, sensor readings and every camera view gives fewer wrong verdicts, and places the error at the moment the signals first went wrong, which is often before it is visible.
Can you debug a robot from video alone ?
Rarely. Video shows what happened and when. The cause is usually in data the camera cannot see: commands, forces, software and model versions, calibration. Use the video to find the moment, then the logs to explain it.
How do you sync robot video with the logs ?
Record the camera in the same file as the other topics, and stamp each frame at capture time with the robot's clock. A separate clip from a phone or a security camera has to be aligned by hand, usually from an event visible in both, such as a light or a gripper closing.
Can AI find robot failures in video automatically ?
Research systems can. AHA, a vision-language model published at ICLR 2025, detects manipulation failures and explains them in natural language, and REFLECT asks a language model to explain a failure from a summary of video, audio and robot state. They are useful for sorting many runs. They describe the failure; they do not identify what changed to cause it.
How much video should a robot keep ?
Enough to cover the seconds before every failure. A rolling buffer that is written to disk when an error, an intervention or a failed task check occurs keeps storage small and still captures the lead-up.
the video tells you where to look. the record tells you what changed.
bring one failure you have on video and the runs around it, and we will show you what was different.
Robot failing in the field? Get help now