arXiv:2610.17069cs.ROOct 2026

Manuscript Offprint

arXiv:2610.17069

Task-Space Motion-Force Nonlinear Model Predictive Control for Precise and Compliant Control under Uncertainties

Quang-Nam Nguyen, Ludovic Righetti

Quang-Nam Nguyen 1^{1} and Ludovic Righetti 1,2^{1,2}

Abstract—In Nonlinear Model Predictive Control (NMPC), the control law is implicitly determined by the solution of an Optimal Control Problem (OCP). Consequently, OCP design is often tailored to specific platforms and tasks, demanding extensive expert knowledge and tuning effort. To address this, we propose a unified NMPC framework that directly plans and controls the robot joints subject to task-space motion and force requirements and is capable of seamlessly generalizing across multiple robotic platforms and diverse tasks. Furthermore, optimization-based methods often treat interactions as rigid contacts, making the torque solution sensitive to the modeling errors of the robot dynamics and the environment. We study the intrinsic task-space impedance of our proposed controller, its partial contraction for differential stability and differential passivity under unmodeled interactions. As a result, our framework enables closing the force-feedback loop in the high-level planning layer to achieve precise motion-force tracking performance, addressing the long-standing challenge of force-feedback NMPC. Finally, we validate our framework on physical hardware, demonstrating hybrid motion-force control on a redundant manipulator and compliant locomotion on a quadruped, while preserving core NMPC advantages such as hard constraint satisfaction, optimal redundancy exploitation, and real-time planning under unforeseen interactions.

I. INTRODUCTION

Recent progress in model-based optimization has improved the ability to solve real-time whole-body Optimal Control Problems (OCP) for Nonlinear Model-Predictive Control (NMPC), thanks to the cumulative efforts of dynamics algorithms [1], versatile OCP formulation [2], and efficient solvers [3]. In general, a discrete OCP with horizon N aiming to minimize a cost function under dynamics constraints and inequality constraints can be written as:

min⁡x,u∑k=0N−1lk(xk,uk)+lN(xN)(1a)\min_{\mathbf{x},\mathbf{u}}\sum_{k=0}^{N-1}l_{k}(x_{k},u_{k})+l_{N}(x_{N}) \tag{1a} s.t.xk+1=fk(xk,uk)∀k∈[0,N−1](1b)\begin{array}{r l}{\mathrm{s.t.}}&{{}x_{k+1}=f_{k}(x_{k},u_{k})\quad\forall k\in[0,N-1]}\end{array} \tag{1b} hk(xk,uk)≤0∀k∈[0,N](1c)h_{k}(x_{k},u_{k})\leq0\quad\forall k\in[0,N] \tag{1c}

where the constraints (1c) may include joint state and torque limits, task-space collision avoidance, friction cones, etc.

Such approaches are interesting as they offer, in theory, the ability to adapt in real-time to any types of environment while ensuring hard constraint satisfaction when necessary. In practice, however, OCP has been mostly used in offline trajectory optimization due to the computational burden of long-horizon OCP with complex costs and constraints.

Figure

Fig. 1. Our force feedback IA-NMPC performs safe and precise motion-force control tasks: (a) drawing on a deformable surface, (b) massaging, and (c) SE(3) manipulation of an unknown heavy object. Without force feedback, our I-NMPC creates robust, compliant behaviors on a quadruped: (d) walking through unknown terrains, and (e) pulling human on a chair.

designed to solve a given task. To realize the motion on real robots, the optimal trajectory is then used as reference for faster tracking controllers such as joint-space linear/nonlinear MPC [4] or reinforcement learning (RL) tracking policies [5]. Recent efforts have made whole-body NMPC possible by carefully tailoring the OCP to specific platforms and tasks [6] or making strong assumptions about contacts, either via analytical model [7] or in simulation [8], rendering these approaches often brittle to unexpected interactions. These reasons can explain why the community tends to prefer policy learning methods (e.g. RL) [9], [5] which remove all the issues of real-time decision making. However, such approaches might not be suitable for all contexts, for example when hard constraint satisfaction guarantees are dictated by the application, or when the environment model is inaccurate or unavailable, leading to large sim-to-real gap. Furthermore, incorporating force/torque sensors to achieve motion-force tracking performance of state-of-the-art force control techniques has been a challenge for both optimization and learning methods [10].

In this paper, we propose a task-space NMPC framework to generate in real-time robot motion that guarantees passive impedance in the task space for various robots. Indeed, a diverse set of robotic tasks can be achieved with platform-agnostic task-space targets, then a generic OCP featuring end-effector reaching costs can generalize to multiple robot platforms. Moreover, based on theoretical analysis, we remove unnecessary rigid contact assumptions and instead choose appropriate end-effector cost features to regulate the robot's task-space impedance and its overall movement in a generic manner while increasing its robustness to distur-

1^{1}Machines in Motion Laboratory, Center for Robotics and Embodied Intelligence, New York University (NYU), USA. namnguyen@nyu.edu

2^{2}Artificial and Natural Intelligence Toulouse Institute (ANITI), France.

bances and model errors. As a surprising result, this framework also enables us to utilize a simple and modular way to close the force-feedback loop in NMPC through admittance control. We validate our approach for multiple motion-force control tasks on a 7-DOF manipulator and achieve the same tracking precision as state-of-the-art force control methods while preserving the additional advantages of NMPC such as optimal redundancy resolution and real-time predictive planning under hard constraint satisfaction and unmodeled human-robot interactions. We also run NMPC on a real quadruped to stress-test the robustness to unknown environments and modeling/sensory uncertainties, while achieving customizable compliance at the robot's feet and center of mass (COM). We open-source our framework which seamlessly controls diverse types of robots for different tasks, utilizing Pinocchio for our dynamics model and Mujoco for simulations to mimic the model-to-real gap.

References (31)