Gait generation - trajectory optimization vs learned gaits, which ages better?
-
camila.jackson0
- Posts: 225
- Joined: Wed Oct 09, 2024 1:27 am
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
@nicole57 Speaking from personal experience here,
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. 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.
Building > buying.
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
Small correction on one detail:
Sim-to-real transfer still commonly breaks on contact dynamics - friction, restitution, and deformable/compliant surfaces are the hardest things to model accurately in simulation, so policies trained purely in sim often need real-world fine-tuning specifically around contact-rich tasks. 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.
-
chloe_jack
- Posts: 176
- Joined: Sat Nov 30, 2024 12:42 pm
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
I'd frame this differently.
ROS2 remains common in research and early-stage products for its tooling and ecosystem, but a number of production humanoid companies run custom, more tightly-optimized middleware for their real-time control loops, using ROS2-like tooling mainly for development, visualization, and non-real-time subsystems. 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.
"The best actuator is the one that doesn't overheat."
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
@chloe_jack Slight correction, though the overall point stands:
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.
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
@lbianchi Can I ask a dumb follow-up -
Vision-Language-Action (VLA) models like RT-2, OpenVLA, and Physical Intelligence's pi0 unify a vision-language backbone with an action-output head, letting a robot map a camera image and a text instruction directly to motor commands instead of hand-coding separate perception and planning stages.
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
That's the official framing, at least - reality tends to lag a bit.
Domain randomization - varying friction, mass, sensor noise, and even visual textures during training - is one of the more reliable tricks for improving sim-to-real transfer, but overdoing it can make training slower to converge and produce overly conservative policies.
Re: Gait generation - trajectory optimization vs learned gaits, which ages better?
@carter42 I don't think that's quite right, for what it's worth.
ROS2 remains common in research and early-stage products for its tooling and ecosystem, but a number of production humanoid companies run custom, more tightly-optimized middleware for their real-time control loops, using ROS2-like tooling mainly for development, visualization, and non-real-time subsystems. 'Zero-shot sim-to-real' rarely means literally zero real-world tuning in practice - it usually means the policy transfers well enough to be usable with only calibration and minor safety-limit adjustments, rather than needing a full additional training phase on hardware.
Anyway, good thread - following for more.
they/them