Inferensys

Glossary

Floating Base Dynamics

Floating base dynamics are the equations of motion for a multi-body robotic system, like a humanoid or quadruped, whose base link is not fixed to the world and has six unactuated degrees of freedom.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
ROBOTICS

What is Floating Base Dynamics?

The mathematical framework governing the motion of robots whose base is not fixed to the world, a fundamental concept for legged and mobile systems.

Floating base dynamics is the mathematical description of motion for a multi-body system, such as a legged robot or drone, where the base link is not kinematically fixed to an inertial frame. This introduces six unactuated degrees of freedom (three for translation, three for rotation) for the base's pose, making the system underactuated and requiring special treatment in modeling and control. The dynamics are derived from Newton-Euler equations or Lagrangian mechanics, explicitly accounting for the coupling between the freely moving base and the actuated joints.

In practice, floating base dynamics are essential for state estimation, whole-body control, and motion planning. The equations are used to compute required joint torques for a desired base acceleration while satisfying contact constraints with the environment. This framework directly enables advanced behaviors like dynamic walking, push recovery, and acrobatic maneuvers by providing the precise relationship between internal forces, external ground reaction forces, and the resulting motion of the entire system.

FLOATING BASE DYNAMICS

Key Mathematical Properties

The equations of motion for a floating base system are distinguished by their treatment of the unactuated base and the constraints imposed by intermittent ground contact. These properties form the foundation for dynamic simulation, control, and motion planning.

01

Unactuated Base Coordinates

The system's configuration is described by floating base coordinates, typically the 6-DOF pose (position and orientation) of a base link (e.g., the pelvis or torso) relative to a world frame, plus the joint angles. The key property is that the six base coordinates are unactuated—no direct motor torque acts on them. Their motion is governed entirely through dynamic coupling with the actuated limbs via the equations of motion. This necessitates control strategies that use limb motion to indirectly control the base.

02

Equations of Motion Structure

The dynamics are derived using Lagrangian or Newton-Euler methods, resulting in a matrix equation:

M(q) * v̇ + C(q, v) * v + G(q) = Sᵀ * τ + J_c(q)ᵀ * f

  • M(q): The system's mass matrix, which is symmetric, positive-definite, and configuration-dependent.
  • C(q, v): The Coriolis and centrifugal forces matrix.
  • G(q): The gravitational forces vector.
  • S: A selection matrix that maps actuated joint torques (τ) into the generalized force space.
  • J_c(q): The contact Jacobian mapping external contact forces (f) (e.g., Ground Reaction Forces) into generalized forces.

This structure explicitly separates actuated inputs (τ) from external contact forces (f).

03

Contact Constraints

Intermittent contact with the environment introduces kinematic constraints. When a foot is firmly planted (sticking contact), its velocity is constrained to zero: J_c(q) * v = 0. Differentiating this yields the acceleration-level constraint: J_c(q) * v̇ + J̇_c(q) * v = 0. These constraints are holonomic for position and non-holonomic for velocity. The contact forces f become Lagrange multipliers that enforce these constraints. The dynamics are therefore hybrid, switching between different constraint regimes as feet make and break contact.

04

Centroidal Dynamics Coupling

A critical property is the decomposition between the floating base and the centroidal dynamics. The net external wrench (force and moment) on the robot equals the rate of change of its centroidal momentum (linear momentum of the center of mass and angular momentum about the CoM). This is described by the Newton-Euler equations:

Σ f_ext = m * a_com Σ (r_i × f_i + μ_i) = L̇_com

where L_com is the centroidal angular momentum. These equations provide a high-level, force-based description that is directly coupled to the detailed floating-base model via the Centroidal Momentum Matrix.

05

Underactuation and Dynamic Consistency

Because the base is unactuated, the system is underactuated when not in full static contact. The dynamic consistency property states that any feasible motion of the center of mass and centroidal angular momentum must be achievable through some combination of joint accelerations and contact forces. This is formalized by projecting the full dynamics into the null-space of the contact constraints and the range-space of the actuation. Control algorithms like Whole-Body Control exploit this by prioritizing tasks (e.g., CoM motion) that satisfy the underactuated dynamics.

06

Numerical Integration & Featherstone's Algorithm

For simulation and model-based control (e.g., MPC), the equations must be solved efficiently. Featherstone's Articulated Body Algorithm (ABA) computes forward dynamics ( given τ and f) in O(n) time. Its inverse, the Recursive Newton-Euler Algorithm (RNEA), computes inverse dynamics (τ given and f). For floating bases, these algorithms are initialized with a fictitious 6-DOF joint connecting the base to the world. The Composite Rigid Body Algorithm (CRBA) is used to compute the mass matrix M(q). These algorithms are foundational for real-time control.

FOUNDATIONAL MECHANICS

How Floating Base Dynamics Enables Control

Floating base dynamics is the mathematical framework that governs the motion of robots and other multi-body systems whose base link is not fixed to the world, a fundamental concept for legged locomotion and mobile manipulation.

Floating base dynamics refers to the equations of motion for a multi-body system, like a legged robot or a drone, where the base link has six unactuated degrees of freedom (three translational, three rotational) and is not kinematically fixed to an inertial frame. This formulation treats the entire system as 'floating' in space, requiring special mathematical treatment to account for the dynamic coupling between the freely moving base and the actuated joints. The resulting Newton-Euler equations form the core of model-based control, state estimation, and motion planning for any robot that moves through its environment without a fixed anchor.

For control, these dynamics are essential because they define the relationship between ground reaction forces, joint torques, and the resulting acceleration of the robot's center of mass. Controllers use this model to solve inverse dynamics or formulate Quadratic Programs (QP) to compute the forces and torques needed to achieve desired motions while maintaining dynamic balance. This enables advanced behaviors like push recovery and terrain adaptation, as the controller can predict how a push or a step onto uneven ground will affect the floating base's trajectory and preemptively generate stabilizing actions.

FLOATING BASE DYNAMICS

Frequently Asked Questions

Floating base dynamics is the mathematical framework governing the motion of robots whose base is not fixed to the world, such as legged or mobile robots. This section answers key questions about its formulation, challenges, and role in modern robotics.

Floating base dynamics is the set of equations of motion for a multi-body system, like a humanoid or quadruped robot, where the base link (e.g., the torso) is not attached to a fixed point in space and has six unactuated degrees of freedom (three for position, three for orientation). This is fundamental because it correctly models the robot's true physical interaction with the world, where external ground reaction forces and moments are what ultimately cause the base to accelerate, not direct joint actuation. Accurate dynamics are essential for computing stable motions, feasible joint torques, and for model-based controllers like Model Predictive Control (MPC) and Whole-Body Control (WBC) to function correctly.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.