Whole-Body Control (WBC) is an advanced control framework for robots with many degrees of freedom—such as humanoids, mobile manipulators, or quadrupedal robots—that formulates and solves a single optimization problem to coordinate the motion of all joints. Its primary function is to execute multiple control objectives or tasks—like maintaining balance, reaching for an object, or avoiding obstacles—simultaneously by assigning them strict priority levels. This is mathematically achieved through hierarchical quadratic programming (QP), where higher-priority tasks are satisfied exactly before lower-priority tasks are optimized in the null space of the higher ones.
Glossary
Whole-Body Control (WBC)

What is Whole-Body Control (WBC)?
A control framework for coordinating all joints of a complex robot to execute multiple, prioritized tasks simultaneously.
This hierarchical optimization allows a robot to manage task conflicts inherently, such as using its arm to reach while its legs maintain a stable center of mass. WBC directly incorporates dynamic models and contact constraints, making it fundamental for legged locomotion and complex manipulation where forces must be managed. It is distinct from simpler, sequential approaches and is closely related to Operational Space Control and Null-Space Projection, providing a unified method for real-time robotic control systems that must react to dynamic environments and physical interactions.
Core Characteristics of Whole-Body Control
Whole-Body Control (WBC) is a unified control framework for complex robots that coordinates all available degrees of freedom to execute multiple, often conflicting, tasks simultaneously. It is defined by several key computational and architectural principles.
Task Prioritization
The defining feature of WBC is its strict hierarchical task prioritization. Tasks are assigned different priority levels, and the controller solves for joint motions that satisfy the highest-priority task first, then projects lower-priority tasks into the null space of higher ones. This ensures critical constraints like balance or joint limits are never violated to achieve a secondary goal like reaching.
- Example: A humanoid's primary task is maintaining Center of Mass (CoM) over its support polygon. A secondary task of reaching for an object is only executed with the remaining motion that does not disturb balance.
Unified Dynamics Formulation
WBC uses a single, comprehensive dynamic model of the entire robot (e.g., a floating-base model for humanoids) within its optimization. This allows it to account for the dynamic coupling between all body segments. Unlike simpler methods that treat the arm and base separately, WBC understands that moving the arm generates reaction forces and torques that affect the base's stability, and plans motions accordingly.
This formulation is typically expressed as a Quadratic Program (QP) that minimizes control effort or acceleration while satisfying task constraints and physical limits.
Redundancy Resolution
Robots like humanoids or mobile manipulators are kinematically redundant, meaning they have more joints than strictly required to achieve a task's degrees of freedom. WBC explicitly exploits this redundancy. The null space of the primary task Jacobian represents all the possible joint motions that do not affect the primary task. WBC uses this null space to execute lower-priority tasks, optimize for posture, or avoid obstacles without interfering with the main objective.
Integration of Constraints
WBC frameworks are built to natively handle a wide array of hard and soft constraints as part of the optimization problem. These are not afterthoughts but core inputs. Common constraints include:
- Physical Limits: Joint position, velocity, and torque limits.
- Contact Constraints: Forces must remain within friction cones, and unactuated contacts (feet on ground) cannot pull.
- Dynamic Consistency: Motions must be feasible according to the robot's equations of motion.
- Self-Collision Avoidance: Geometric constraints to prevent the robot from hitting itself.
Real-Time Optimization
WBC is fundamentally an online, receding-horizon optimization solved at control-loop frequencies (typically 100-1000 Hz). It does not pre-compute a full trajectory. Instead, at each control cycle, it takes the current state estimate and desired task references, solves the QP, and outputs optimal joint accelerations, torques, or velocities for the immediate next step. This makes it highly reactive to disturbances, sensor feedback, and changing task goals.
Operational Space Control Foundation
WBC is deeply rooted in Operational Space Control principles. It formulates tasks not in joint space, but in task space (or operational space)—the Cartesian space where the task is naturally defined (e.g., the position of an end-effector or the robot's CoM). The controller computes the forces/accelerations needed in this task space and then maps them back to joint torques using the dynamically consistent inertia matrix. This provides more intuitive and decoupled control of task behavior.
How Does Whole-Body Control Work?
Whole-Body Control (WBC) is a hierarchical optimization framework for coordinating all degrees of freedom in a complex robot to achieve multiple, often competing, tasks simultaneously.
Whole-Body Control (WBC) is a hierarchical optimization framework that coordinates all a robot's actuated degrees of freedom to execute multiple prioritized tasks simultaneously. It formulates tasks—like end-effector positioning, balance, or collision avoidance—as mathematical constraints or objectives within a Quadratic Program (QP). The solver computes optimal joint torques or velocities that satisfy the highest-priority task first, then projects lower-priority tasks into the null space of higher ones, ensuring they do not interfere. This allows a humanoid, for instance, to maintain dynamic balance (priority one) while reaching for an object (priority two) and avoiding self-collision (priority three).
The core mechanism is the task-priority null-space projection. Each task is defined by a desired acceleration or force in its task space. The controller solves a cascade of QPs, where the solution for a lower-priority task is constrained to the null space of the Jacobian of all higher-priority tasks. This mathematically guarantees that executing the lower-priority task will not degrade the performance of more critical objectives. WBC typically operates in velocity or torque control modes, integrating with a whole-body dynamics model to account for the robot's mass distribution and external forces, enabling physically consistent and reactive motion for complex platforms like mobile manipulators and legged robots.
Applications and Implementations
Whole-Body Control (WBC) is a hierarchical control framework that enables complex robots to execute multiple, often conflicting, tasks simultaneously by assigning strict priorities. Its primary implementations solve the fundamental problem of coordinating all available degrees of freedom—from legs and torso to arms and head—to achieve composite behaviors.
Hierarchical Quadratic Programming (HQP)
The most common mathematical formulation for WBC, Hierarchical Quadratic Programming (HQP) solves a stack of constrained optimization problems. Each level corresponds to a task (e.g., maintain balance, reach for an object). The solver finds joint commands that satisfy the highest-priority task first, then projects the solution into the null space of that task to solve for the next priority, minimizing interference.
- Primary Solver: Uses Null-Space Projections to ensure lower-priority tasks do not disrupt higher-priority ones.
- Core Constraint: Typically includes robot dynamics equations and joint torque/velocity limits.
- Real-Time Requirement: Must solve at control-loop frequencies (e.g., 1 kHz), requiring efficient QP solvers like qpOASES or OSQP.
Dynamic Balance and Locomotion
For humanoid and legged robots, maintaining dynamic balance is the supreme-priority task in WBC. The controller uses a Centroidal Dynamics Model to relate joint torques to the acceleration of the robot's center of mass and its angular momentum.
- Primary Task: Regulate Center of Pressure (CoP) within the support polygon or manage Angular Momentum.
- Secondary Tasks: While balancing, the robot can use remaining control authority for arm manipulation, gaze control, or stepping.
- Example: Boston Dynamics' Atlas uses WBC to stay upright while performing parkour, where balance tasks dominate but arm swing tasks are executed in the null space.
Mobile Manipulation
WBC is essential for robots where a manipulator arm is mounted on a mobile base (e.g., a rover or a wheeled robot). It coordinates base motion and arm motion to achieve end-effector goals while respecting the system's physical constraints.
- Task Stack: 1) Avoid tipping over (stability), 2) Navigate to goal (base velocity), 3) Position end-effector (arm IK), 4) Minimize joint movement (comfort).
- Key Benefit: The mobile base can reposition itself to extend the workspace of the arm, solving problems a fixed-base manipulator cannot.
- Implementation: Used in warehouse robots like those from Fetch Robotics for shelf picking, where the base moves to align the arm with the bin.
Redundancy Resolution and Posture Optimization
Robots like humanoids have many more joints than required for a primary task (e.g., a 7-DoF arm needs only 6 DoF for end-effector pose). WBC uses this kinematic redundancy to optimize secondary criteria without affecting the primary task's performance.
- Common Optimization Criteria:
- Joint Limit Avoidance: Keep joints away from mechanical stops.
- Energy Minimization: Prefer configurations that require less torque.
- Obstacle Avoidance: Maximize distance between the robot's links and environmental obstacles.
- Human-Like Posture: Optimize for ergonomics or perceived safety in HRI.
Force-Based Tasks and Hybrid Control
WBC seamlessly integrates force control tasks with position control tasks. This is critical for compliant manipulation where the robot must exert specific forces (e.g., polishing, assembly) while maintaining its overall posture.
- Hybrid Force/Motion Control: A task can specify a desired force in one Cartesian direction and a desired position in another.
- Application - Peg-in-Hole: A WBC stack might prioritize: 1) Maintain robot balance, 2) Exert a downward insertion force, 3) Achieve a lateral alignment position.
- Implementation: Uses operational space formulations, where force tasks are defined in the same task-space framework as motion tasks.
Reactive Whole-Body Control
In dynamic environments, WBC frameworks incorporate sensor feedback at the control level to react in real-time. This differs from slower re-planning loops.
- External Disturbance Rejection: Uses force/torque sensors in the feet or wrists to detect pushes. A high-priority "balance" task instantly computes joint corrections to regain stability.
- Unexpected Contact: If an arm makes unintended contact, a collision detection signal can trigger a high-priority "zero-force" task at the contact point, making the limb compliant.
- Reactive Grasping: Adjusts whole-body posture based on tactile sensor feedback during a grasp to prevent object slip or tipping.
Frequently Asked Questions
Whole-Body Control (WBC) is a foundational control framework for complex robots like humanoids and mobile manipulators. These FAQs address its core mechanisms, applications, and how it differs from simpler control paradigms.
Whole-Body Control (WBC) is a hierarchical control framework for robots with many degrees of freedom (DOF) that coordinates the motion of all joints to execute multiple, potentially conflicting tasks simultaneously. It works by formulating control objectives—such as maintaining balance, reaching for an object, or avoiding obstacles—as mathematical task functions with assigned priorities. A high-priority task, like keeping the robot from falling, is satisfied exactly. The controller then projects lower-priority tasks, like moving an arm, into the null space of the higher-priority tasks, meaning the arm motion is executed only with the joints that do not interfere with balance. This is solved in real-time, often using Quadratic Programming (QP) optimization to compute joint torques or velocities that best satisfy the stack of prioritized constraints and objectives.
Key components of the WBC pipeline:
- Task Definition: Each objective (e.g., end-effector position, center of mass location) is defined as a function of the robot's joint states.
- Priority Assignment: A strict hierarchy (e.g., contact force constraints > balance > manipulation > posture) is established.
- Null-Space Projection: The solution for a lower-priority task is projected onto the null space of all higher-priority tasks.
- Optimization Solver: A QP solver computes the optimal joint commands that satisfy the hierarchical stack, often incorporating robot dynamics and actuator limits.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Whole-Body Control (WBC) is a foundational framework within advanced robotics. The following terms represent the core concepts, complementary control strategies, and enabling technologies that define its operational context.
Task and Motion Planning (TAMP)
Task and Motion Planning (TAMP) is an integrated approach that combines high-level symbolic reasoning (deciding what actions to perform) with low-level geometric motion planning (deciding how to move). It solves complex manipulation problems requiring long-horizon sequences. For a robot making coffee, TAMP would sequence actions like "grasp cup," "move to grinder," "place cup," and then solve the geometric paths for each.
- Hierarchical Integration: Symbolic planners output discrete action sequences, which geometric planners convert into continuous joint trajectories.
- Constraint Satisfaction: Must satisfy logical preconditions (e.g., gripper must be empty to grasp) and physical constraints (e.g., collision-free paths).
- Relation to WBC: WBC executes the low-level, continuous motion trajectories generated by the TAMP pipeline, often handling dynamic constraints and real-time disturbances that the planner may not model.
Model Predictive Control (MPC)
Model Predictive Control (MPC) is an advanced control strategy where an internal dynamic model predicts the system's future states over a finite time horizon. At each control cycle, it solves an optimization problem to find the optimal sequence of control inputs, applies the first step, and then re-plans. This enables handling of constraints (like joint limits or obstacle boundaries) and reactivity to disturbances.
- Receding Horizon: Continuously re-solves the optimization based on new sensor feedback.
- Core Mechanism: Minimizes a cost function (e.g., tracking error, energy use) subject to system dynamics and constraints.
- Relation to WBC: MPC is often the computational engine within a WBC framework. The WBC's quadratic program (QP) that coordinates multiple tasks can be formulated and solved as an MPC problem, especially for dynamic tasks like balancing while walking.
Inverse Kinematics (IK)
Inverse Kinematics (IK) is the computational process of calculating the joint angles or displacements required to achieve a desired position and orientation (pose) of a robot's end-effector. It solves the non-linear mapping from Cartesian task space to joint configuration space.
- Fundamental Problem: For a robotic arm, given a target (x, y, z, roll, pitch, yaw) for the gripper, IK computes the required shoulder, elbow, and wrist angles.
- Challenges: Often multiple or infinite solutions exist (kinematic redundancy); solutions may not exist due to reachability limits.
- Relation to WBC: In WBC, IK is generalized and solved dynamically. Instead of a single end-effector pose, WBC solves for joint velocities or accelerations that satisfy multiple simultaneous task constraints (e.g., one hand reaching, the other stabilizing, feet maintaining balance), all weighted by priority. It is differential inverse kinematics at the velocity/acceleration level.
Impedance & Admittance Control
Impedance Control and Admittance Control are two dual strategies for achieving compliant robot behavior during contact. They define how a robot reacts to external forces.
- Impedance Control: The controller modulates the dynamic relationship between position error and output force. It makes the robot behave like a mass-spring-damper system with programmable stiffness (K), damping (B), and inertia (M). The robot accepts position commands and regulates its interaction force.
- Admittance Control: The controller uses a force/torque sensor to measure external contact. This force measurement is fed into a desired admittance model (the inverse of impedance) to generate a motion correction. The robot accepts force commands and regulates its motion.
- Relation to WBC: These compliance strategies are often implemented as specific tasks within the WBC hierarchy. For example, a high-priority impedance control task can be defined for the end-effector to ensure safe human interaction, while a lower-priority task manages reaching. WBC resolves the potential conflicts between the motion generated by compliance and other objectives.
Force/Torque Sensing
Force/Torque (F/T) Sensing is the measurement of the three-dimensional forces (Fx, Fy, Fz) and torques (Tx, Ty, Tz) applied at a robot's wrist or end-effector. This is typically achieved using a strain-gauge-based sensor mounted between the last joint and the gripper.
- Critical Data: Provides direct measurement of contact forces, essential for tasks requiring delicate interaction like assembly, polishing, or physical collaboration.
- Applications: Enables force-controlled operations such as peg-in-hole insertion, surface following, and hand-guiding for cobots.
- Relation to WBC: F/T sensor feedback is a primary input to WBC. It allows the controller to:
- Implement admittance control tasks.
- Estimate and compensate for external loads dynamically.
- Maintain balance for humanoids by measuring the Center of Pressure (CoP) from foot sensors. Without accurate F/T data, many whole-body compliant behaviors are impossible.
Quadratic Programming (QP)
Quadratic Programming (QP) is a mathematical optimization technique for minimizing a quadratic objective function subject to linear equality and inequality constraints. The standard form is: Minimize (\frac{1}{2} x^T Q x + c^T x) subject to (A_{eq} x = b_{eq}) and (A_{ineq} x \leq b_{ineq}).
- Computational Core: QP solvers are the workhorse of most modern WBC implementations.
- WBC Formulation: The control objective (e.g., minimize joint accelerations or tracking error) is the quadratic cost. Task constraints (e.g., end-effector acceleration = desired acceleration) become linear equalities. Physical limits (joint torque limits, friction cone constraints for contact) become linear inequalities.
- Hierarchy via Constraints: Strict task priorities are enforced by solving a sequence of QPs or using specialized solvers like Hierarchical Quadratic Programming (HQP) or Null-Space projections. The solution (x) is typically the vector of joint accelerations or torques.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us