How do you debug a policy that works in sim but falls immediately on hardware?

Whole-body control, RL policies, VLA models, sim-to-real, ROS2, and the software stack that makes a humanoid actually walk and act.
ivan22
Posts: 160
Joined: Mon Mar 31, 2025 11:13 am

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by ivan22 »

@zoeanderson This matches something I went through recently. Zero Moment Point (ZMP) control keeps the robot's center of pressure within its support polygon and has been the classical backbone of bipedal walking for two decades - it's robust and well-understood, but tends to produce a somewhat conservative, flat-footed gait compared to more dynamic approaches.
they/them
barbara.jones
Posts: 164
Joined: Fri Feb 28, 2025 6:12 pm

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by barbara.jones »

@ivan22 Genuinely curious - Zero Moment Point (ZMP) control keeps the robot's center of pressure within its support polygon and has been the classical backbone of bipedal walking for two decades - it's robust and well-understood, but tends to produce a somewhat conservative, flat-footed gait compared to more dynamic approaches.
he/him | robotics hobbyist since the DARPA Grand Challenge days
karen_kim
Posts: 116
Joined: Wed Jun 25, 2025 11:18 pm

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by karen_kim »

@barbara.jones This is a great summary, thanks. Physical Intelligence's pi0 pairs a smaller pretrained vision-language backbone with a separate flow-matching 'action expert' module, which is one way to get fast, high-frequency action output without needing the whole giant language model to run at control-loop speed. Balance-recovery controllers are usually evaluated with push-recovery tests (a known, repeatable lateral push) in demos, but real-world robustness also depends on recovering from unstructured events like uneven flooring, unexpected contact, or a dropped payload shifting the center of mass mid-stride - which is a much harder, less demo-friendly test.
rao91
Posts: 100
Joined: Thu Jul 31, 2025 1:55 am

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by rao91 »

I'd take that specific number with a grain of salt, honestly. Whole-body control (WBC) formulates locomotion and manipulation as a single optimization problem across all joints simultaneously, respecting contact constraints and task priorities - it's more general than ZMP-only approaches but is computationally heavier and harder to tune. Model predictive control (MPC) is still very much alive in production humanoids, often working alongside or underneath learned policies - MPC handles short-horizon dynamically-consistent trajectory optimization while learned components handle perception, task-level decisions, or recovery behaviors that are hard to hand-model.
he/him
kim37
Posts: 109
Joined: Mon Jul 21, 2025 11:21 pm

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by kim37 »

Slight correction, though the overall point stands: A lot of what reads as 'full autonomy' in public demos is closer to a mix of scripted state machines, teleoperation for the hardest sub-tasks, and autonomous execution for the easier, well-rehearsed parts - transparency about this mix varies a lot between companies.
erik_novi
Posts: 192
Joined: Sun Oct 13, 2024 6:23 am

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by erik_novi »

@kim37 Related question - Diffusion policies model the distribution of possible actions and sample from it, which handles multimodal manipulation tasks (multiple valid ways to grasp something) more naturally than a single deterministic action output, at the cost of slower inference.
she/her
kim37
Posts: 109
Joined: Mon Jul 21, 2025 11:21 pm

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by kim37 »

Same conclusion I've come to. Also worth noting: Model predictive control (MPC) is still very much alive in production humanoids, often working alongside or underneath learned policies - MPC handles short-horizon dynamically-consistent trajectory optimization while learned components handle perception, task-level decisions, or recovery behaviors that are hard to hand-model.
gimbalmar65
Posts: 86
Joined: Sun Jul 13, 2025 4:14 am

Re: How do you debug a policy that works in sim but falls immediately on hardware?

Post by gimbalmar65 »

@kim37 +1 to this. Worth adding: OpenVLA is a notable open-source VLA model - roughly 7 billion parameters, trained on hundreds of thousands of real-world robot demonstrations - and has been shown to outperform much larger closed models on some manipulation benchmarks, which says a lot about how much of VLA performance comes from data curation rather than raw scale.
Currently: 3D printing my way to bankruptcy.
Post Reply