Safe Execution of RL Policies via Acceleration-based CBF-QP Constraint Enforcement for Real-World Robotic Deployments

Bastien Muraccioli\(^{*}\) \(^{1}\), Alice Cariou\(^{*}\) \(^{1}\), Pierre-Alexandre Leziart\(^{1}\), Mathieu Celerier\(^{1}\), Arnaud Demont\(^{1}\),
Gentiane Venture\(^{1,2}\), and Mehdi Benallegue\(^{1}\)
123


Abstract

Reinforcement Learning (RL) has demonstrated remarkable capabilities for solving complex robotic control problems, but its lack of safety guarantees severely limits deployment on hardware. In particular, as legged robots and manipulators often operate near safety-critical boundaries, out-of-distribution states can lead to failure upon deployment. To address this, we introduce Acc-CBF-QP, an acceleration-based Quadratic Program (QP) safety filter using Control Barrier Functions (CBFs) that constrains any RL policy onto a safe set at runtime without modifying training. The method applies to unconstrained and Safe-RL policies, and enforces joint position, velocity, torque, and collision constraints within a unified optimization framework. A key contribution is the formulation of RL+QP tasks that regulate deviation from the RL command when constraints would otherwise be violated. We introduce a TorqueTask, minimizing torque deviation, and a Forward Dynamics Task, minimizing induced acceleration deviation, thus providing principled control over safety-performance trade-offs. Experiments on a 7-DoF Kinova Gen3 manipulator and a 19-DoF Unitree H1 humanoid, both in simulation and on hardware, highlight substantial reductions in constraint violations. On the real H1 hardware, a Safe-RL policy alone yielded 10.04 violations/s, which were reduced by 92% to 0.80 violations/s when augmented with Acc-CBF-QP. On the Kinova Gen3, Acc-CBF-QP fully eliminated violations. Nominal task performance of the RL objective is preserved in violation-free regimes. Under aggressive velocity commands on H1, Acc-CBF-QP improves execution by preventing constraint-induced shutdowns, yielding longer survival times. The full pipeline is open-source.

1 Introduction↩︎

Reinforcement Learning (RL) has emerged as a powerful tool for robotics, enabling the autonomous acquisition of complex skills such as agile locomotion and dexterous manipulation through trial-and-error interactions. Despite promising results, a persistent obstacle to deploying RL policies on hardware is the lack of safety guarantees. In this work, we define safe execution of policies as their ability to respect explicit constraints. Such constraints can be imposed for feasibility, for preventing hardware damage and adhering to the robot manufacturer’s specifications, and for human and environmental safety.

Figure 1: Controller pipeline. The RL policy (purple) is filtered in real time by an Acc-CBF-QP (green) that enforces safety constraints using external disturbance estimates from observers (yellow). The resulting feasible commands are applied in torque control (red) or with a position reference for a Proportional-Derivative (PD) controller (blue) to the robot (gray).

Safe RL methods embed constraints during training [1], via constrained Markov Decision Processes [2], [3], Control Barrier Functions [4], [5], or probabilistic safety filters [6]. While effective in simulation, these rely on statistical guarantees that degrade under distributional shift, require retraining when constraints change, and often fail to hold on Out-of-Distribution (OoD) states during deployment.

Furthermore, enforcing strict safety constraints during training can be overly conservative, restricting exploration, slowing convergence [7], and limiting adaptability when new safety requirements emerge at deployment, such as collision avoidance based on online perception.

In contrast, the robotics community has long relied on optimization-based controllers that enforce constraints for feasibility or safety in real time. In particular, Quadratic Program (QP) control in acceleration space is well established for whole-body control, enabling prioritized task execution under joint, torque, and contact constraints [8], and safety for Human-Robot Interaction (HRI) [9]. However, such approaches require model-based tasks and do not directly integrate with learned policies, limiting their adaptability.

Our approach bridges these two paradigms. Building on the acceleration-based QP-CBF framework of [9], we extend it to accept RL-policy torques as the nominal reference and validate it as a post-processing safety filter around any pre-trained RL policy. 1 illustrates the overall controller pipeline. At each control step, the RL command is passed through the QP, which enforces constraint boundaries formulated as CBFs. The resulting optimization provides forward-invariance guarantees under feasibility and bounded-modeling-error assumptions, formalized in Sec. 3.2.4. This formulation enables runtime constraint enforcement without requiring additional policy retraining. This is a critical advantage, as it avoids restricting exploration during training and permits dynamic modification of safety constraints at deployment. The resulting constrained behavior can be optimized for different criteria, such as minimizing torque error or acceleration error, depending on the application, as detailed in Section 3.4.

Contributions. The main contributions of this work are:

  • An open-source framework4 for enforcing safety on robotics RL policies through an acceleration-based QP with CBF-based constraints (Acc-CBF-QP), featuring two task formulations (TorqueTask and FDTask) that control how the QP minimizes deviation from the RL objective when constraints are active. The pipeline integrates state estimation and disturbance observers to recover external forces and mitigate modeling errors, essential for consistent CBF enforcement on torque-controlled and floating-base systems.

  • Experimental validation on two distinct robot platforms: the Kinova Gen3 manipulator and the Unitree H1 humanoid, across both simulation and real hardware. Results demonstrate substantial reductions in constraint violations and hardware-damaging failures, with quantified trade-offs between safety enforcement and task performance. On the humanoid, we compare against a CaT-based Safe RL baseline [10].

This work establishes a modular interface between learned control and acceleration-level safety filtering, constituting a practical step toward the reliable real-world deployment of learned robotic behaviors.

2 Related Works↩︎

Safety in robot learning spans both training-time approaches, which attempt to embed safety into the policy learning process, and execution-time filters, which modify unsafe commands during deployment. Our work contributes to the latter category, building on optimization-based safety layers.

2.1 Safe Reinforcement Learning↩︎

Safe RL methods typically formulate safety as constraints in a CMDP and enforce them during learning, such as Constrained Policy Optimization (CPO), which applies a trust-region constrained update that provides per-iteration safety guarantees [11]. While these approaches incorporate constraints directly into policy optimization by adjusting their update rules to discourage violations, others include action-constrained methods that ensure feasibility through acceptance–rejection sampling and augmented Markov Decision Processes [3], and optimization-based RL that leverages QP/MPC-style policy parameterizations to obtain formal guarantees during training [12], [13]. Recent work also explores learning on constraint manifolds for improved safety in robotic systems [14]. Among training-time approaches, the Constraints as Terminations (CaT) framework [10] enforces safety by introducing stochastic termination signals upon constraint violation, encouraging constraint satisfaction during learning. However, like other training-time methods, it provides distributional guarantees and does not ensure consistent per-state constraint satisfaction at inference. We adopt CaT as a Safe RL baseline to contrast training-time safety shaping with runtime formal filtering.

While these methods provide guarantees in control-theoretic settings, they remain challenging to apply concretely in robotics due to unmodeled dynamics and their reliance on highly accurate system models. Our approach also relies on a system model, but to a lesser extent: model inaccuracies are mitigated through a disturbance observer (DOB), which estimates and compensates for unknown loads [15]. This allows the safety filter to remain effective even under imperfect modeling.

2.2 Safety Filters and Runtime Enforcement↩︎

To ensure constraint satisfaction during deployment, safety filters act as post-processing layers around RL policies. Notable examples include predictive safety filters [16] and CBF-CLF-QP-based safety layers [17], [18]. These methods provide varying levels of safety (hard, soft, or probabilistic). Yet, they were either tested in simulation only, or not tested with physical constraints such as joint limits or collisions on the learned policy output.

2.3 Positioning of This Work↩︎

Acc-CBF-QP acts as a runtime safety layer that composes a learned torque policy with acceleration-level CBF constraints through structured optimization. At each control step, the QP minimizes deviation from the RL objective while satisfying all CBF constraints. This mechanism can be interpreted as a state-dependent projection of the RL torque onto a CBF-defined admissible set (formalized in Sec. 3.2.4). Unlike training-time Safe RL, which promotes constraint satisfaction in expectation, Acc-CBF-QP enforces it consistently under QP feasibility, without retraining.

3 Method↩︎

3.1 Robot Dynamics and Notation↩︎

We consider an \(n\)-DoF multi-body rigid robot, whose configuration in space can be fully described by its generalized coordinates denoted \(\mathbf{q} \in \mathbb{R}^n\). Let \(n_{\text{a}}\) denote the number of actuated joints, with actuated coordinates \(\mathbf{q}_{\text{a}}\in\mathbb{R}^{n_{\text{a}}}\) and controlled with a torque \(\boldsymbol{\tau}_{\text{a}}\in\mathbb{R}^{n_{\text{a}}}\). The dynamics under external generalized forces/torques \(\boldsymbol{\tau}_{\text{ext}}\in\mathbb{R}^n\) are \[\boldsymbol{\tau} = \mathbf{M}( \mathbf{q}) \ddot{ \mathbf{q}} + \mathbf{C}(\mathbf{q}, \dot{\mathbf{q}})\dot{\mathbf{q}} + \mathbf{g}(\mathbf{q}) - \boldsymbol{\tau}_{\text{ext}}, \label{eq:dynamicmodel}\tag{1}\] and \[\boldsymbol{\tau} = \mathbf{S}^{\top} \boldsymbol{\tau}_{\text{a}}.\] \(\mathbf{M}(\mathbf{q}) \in \mathbb{R}^{n \times n}\) is the robot’s inertia matrix, \(\mathbf{C}(\mathbf{q}, \dot{\mathbf{q}}) \in \mathbb{R}^{n \times n}\) is the Coriolis and centrifugal effects, and \(\mathbf{g}(\mathbf{q}) \in \mathbb{R}^n\) is the gravitational torque vector. \(\mathbf{S} \in \mathbb{R}^{n_{\text{a}}\times n}\) is the actuated joint selection matrix, such that \(\dot{\mathbf{q}}_{\text{a}} = \mathbf{S} \dot{\mathbf{q}}\) [19], [20].

For a fixed-base, fully actuated robot, the generalized coordinates coincide with the joint coordinates, \(\mathbf{q}=\mathbf{q}_{\text{a}}\) and \(n=n_{\text{a}}\), hence \(\mathbf{S}\) is simply the \(n\times n\) identity matrix.

For a floating-base robot with fully actuated joints, which moves freely in space, the generalized coordinates also include the pose of the floating base in the world \(\mathbf{q}_{\text{fb}}\in\mathrm{SE}(3)\), represented with any parameterization of size \(n_\text{fb}\): \[\mathbf{q} = \begin{bmatrix}\mathbf{q}_{\text{fb}} \\ \mathbf{q}_{\text{a}}\end{bmatrix} \in \mathbb{R}^{n_{\text{fb}}+n_{\text{a}}} .\] The external generalized forces/torques \(\boldsymbol{\tau}_{\text{ext}}\) now include the external wrench applied on the floating base. For simplicity, following [20], we assume \(\mathbf{q}\), \(\dot{\mathbf{q}}\), \(\ddot{\mathbf{q}}\) all have dimension \(n\), treating the floating-base velocity and acceleration as their SE(3) counterparts by standard abuse of notation.

3.2 Acceleration-Based CBF-QP Safety Layer↩︎

Formulating the control problem as a QP in accelerations enables the simultaneous satisfaction of dynamic and kinematic constraints [21]. Many robotic constraints are second-order in nature (e.g., acceleration limits, torque limits, or contact force constraints). By choosing the accelerations as the decision variables, these constraints become linear or convex, allowing efficient QP solvers to find feasible solutions. This motivates the use of an acceleration-based QP to enforce model-based constraints while executing an RL policy.

3.2.1 Acceleration-based QP formulation↩︎

At each control step, the QP computes the generalized accelerations \(\ddot{\mathbf{q}}^\star \in \mathbb{R}^{n}\) that satisfy all constraints while minimizing a quadratic cost written as a weighted sum of task errors: \[\begin{align} \label{eq:QP} \ddot{\mathbf{q}}^\star &= \arg\min_{\ddot{\mathbf{q}}} \; \sum_k\|\mathbf{W}_k(\mathbf{A}_k\ddot{\mathbf{q}} - \mathbf{b}_k)\|^2 \\ \text{s.t.}\quad & \mathbf{A}_c \ddot{\mathbf{q}} \leq \mathbf{b}_c, \nonumber \end{align}\tag{2}\] where \((\mathbf{A}_k, \mathbf{b}_k)\) encode the linearized tasks, \((\mathbf{A}_c, \mathbf{b}_c)\) encode the linearized constraints, and \(\mathbf{W}_k \succ 0\) acts as a weight matrix on the corresponding task.

This is standard in QP-based control. Although the formulation supports multiple simultaneous tasks, we deliberately evaluate one task \((\mathbf{A},\mathbf{b})\) at a time to isolate its contribution without confounding effects from task prioritization or \(\mathbf{W}_k\) tuning; combining tasks (e.g., locomotion with manipulation) is left for future work.

3.2.2 Constraint set↩︎

Safety is defined as the forward invariance of the closed set \[\mathcal{C} = \bigcap_{i=1}^{N_c} \{(\mathbf{q},\dot{\mathbf{q}}) \mid h_i(\mathbf{q},\dot{\mathbf{q}}) \ge 0 \},\] where \(N_c\) is the number of safety constraints and each barrier function \(h_i\) is continuously differentiable. For vector-valued bounds, inequalities are understood componentwise. Assuming perfect acceleration tracking, forward invariance is enforced via Control Barrier Function (CBF) conditions [22], [23]. Since the QP decision variable is \(\ddot{\mathbf{q}}\), all barrier conditions are expressed as affine inequalities in \(\ddot{\mathbf{q}}\) and stacked into \((\mathbf{A}_c,\mathbf{b}_c)\).

3.2.2.1 Torque limits

Actuator limits are enforced at the torque level as \[\label{eq:tau-constraint} \boldsymbol{\tau}_{\text{a}}^- \le \boldsymbol{\tau}_{\text{QP}} \le \boldsymbol{\tau}_{\text{a}}^+,\tag{3}\] where \(\boldsymbol{\tau}_{\text{QP}}\) is obtained from \(\ddot{\mathbf{q}}^\star\) via inverse dynamics (Eq. 6 ). For floating-base robots, torques associated with the base are constrained to zero.

3.2.2.2 Joint velocity and position limits

Consider an upper velocity bound \(\dot{\mathbf{q}}_+\), such that \(\dot{\mathbf{q}}\le \dot{\mathbf{q}}_+\). Define the barrier function \[h_{vel}(\dot{\mathbf{q}}) = \dot{\mathbf{q}}_+ - \dot{\mathbf{q}}.\]

Since \(h_{vel}\) has relative degree one with respect to \(\ddot{\mathbf{q}}\), the standard CBF condition \(\dot{h}_{vel} + \alpha(h_{vel}) \ge 0\) is imposed, where \(\alpha\) is a class-\(\mathcal{K}\) function. Choosing the linear function \(\alpha(h_{vel})=\lambda h_{vel}\) with \(\lambda>0\), as done by [9], yields \[\label{eq:vel-cst} \ddot{\mathbf{q}} \le -\lambda(\dot{\mathbf{q}}-\dot{\mathbf{q}}_+).\tag{4}\] Lower velocity bounds are treated analogously.

For an upper position limit \(\mathbf{q}_+\), such that \(\mathbf{q} \le \mathbf{q}_+\), define \[h_{pos}(\mathbf{q})=\mathbf{q}_+ - \mathbf{q}.\] Since \(h_{pos}\) has relative degree two with respect to the control input, we employ an exponential CBF (ECBF) [22], enforcing \[\ddot h_{pos} + \alpha_1 \dot{h}_{pos} + \alpha_2 h_{pos} \ge 0,\] with \(\alpha_1,\alpha_2>0\). Using \(\dot{h}_{pos}=-\dot{\mathbf{q}}\) and \(\ddot h_{pos}=-\ddot{\mathbf{q}}\), this yields \[\ddot{\mathbf{q}} \le -(\alpha_1+\alpha_2)\dot{\mathbf{q}} + \alpha_1\alpha_2(\mathbf{q}_+ - \mathbf{q}).\] Following [9], we parametrize \(\alpha_1 + \alpha_2 = \lambda\) and \(\alpha_1\alpha_2 = \lambda^2/(4\zeta^2)\) with \(\zeta \ge 1\), yielding \[\label{eq:joint-cst} \ddot{\mathbf{q}} \le -\lambda \dot{\mathbf{q}}+\frac{\lambda^2}{4\zeta^2}(\mathbf{q}_+ - \mathbf{q}),\tag{5}\] where \(\zeta=1\) gives critical damping and \(\zeta>1\) overdamped behavior. Sharing \(\lambda\) across velocity and position limits enforces consistent convergence rates and simplifies tuning. Lower bounds are handled analogously.

3.2.2.3 Self-collision avoidance

For each monitored pair of bodies, let \(e(\mathbf{q})\) denote their minimum distance and define the barrier function \[h_{col}(e) = e - d_s,\] where \(d_s > 0\) is a prescribed safety margin. Assuming continuous motion of the closest points, \(e(\mathbf{q})\) is differentiable locally everywhere and satisfies \[\dot{e} = \mathbf{J}_e(\mathbf{q})\dot{\mathbf{q}}, \qquad \ddot e = \mathbf{J}_e(\mathbf{q})\ddot{\mathbf{q}} + \dot{\mathbf{J}}_e(\mathbf{q},\dot{\mathbf{q}})\dot{\mathbf{q}},\] where \(\mathbf{J}_e(\mathbf{q})=\frac{\partial e}{\partial \mathbf{q}}\) denotes the distance Jacobian, obtained by projecting the geometric Jacobians of the closest points onto the inter-body normal direction, as done in  [24], [25].

As \(h_{col}\) has relative degree two with respect to \(\ddot{\mathbf{q}}\), we employ the same exponential CBF construction as for joint position limits, yielding \[\mathbf{J}_e(\mathbf{q})\ddot{\mathbf{q}} \ge -\dot{\mathbf{J}}_e(\mathbf{q},\dot{\mathbf{q}})\dot{\mathbf{q}} -\lambda \dot{e} -\frac{\lambda^2}{4\zeta^2}(e-d_s),\] which is affine in \(\ddot{\mathbf{q}}\). Collision-avoidance gains \((\lambda, \zeta)\) are tuned independently from joint-limit gains.

All actuator and barrier constraints are finally stacked into \((\mathbf{A}_c,\mathbf{b}_c)\) and enforced within the QP at each control step. Feasibility of the QP is therefore a necessary condition for formal safety guarantees. CBF gains, safety margins, and observer gains were tuned empirically per platform, and representative values are given in the open-source implementation.

3.2.3 External disturbance estimation↩︎

To accurately predict the dynamics of the robot (Eq. 1 ), we estimate the external disturbance \(\hat{\boldsymbol{\tau}}_\text{ext}\) with a generalized-momentum observer (GMO) [26]. This estimate behaves as a first-order filtered signal of external torques (including contacts), torque tracking errors, and other dynamic modeling errors, combined into a single generalized torque vector. When available, force–torque sensors can improve high-frequency estimation [27].

Since GMO requires generalized velocity signals, which are not all measured on floating-base robots, we implement a base velocity estimator based on the Tilt Observer [28]. This complementary filter estimates the IMU tilt and linear velocity with proven global asymptotic convergence, aligning with our safety-oriented objectives. The Tilt Observer requires gyrometer and accelerometer, together with a rough linear velocity, to prevent drift. As suggested in [28], for legged robots, this signal can be obtained from an anchor point, defined as a point attached to the robot with zero velocity in the world frame. In practice, assuming no contact slippage, the anchor point is computed from the average contact position, weighted to favor contacts better satisfying Coulomb friction assumptions. In our experiment, ground reaction force was not readily available, since the Unitree H1 is not equipped with force sensors. Thus, we used instead the estimated external torque at each knee, assuming it to be proportional to the vertical reaction force. Note that even if this scheme makes the Tilt Observer and GMO mutually dependent, it has the merit of providing an estimate \(\hat{\boldsymbol{\tau}}_\text{ext}\) of external disturbances and modeling errors on a floating-base robot using only IMU and joint encoder signals. As a first-order filter, the GMO trades estimation delay against noise rejection; the resulting phase lag during foot-ground impact likely contributes to the residual \(\mathbf{e}_\tau\) (Sec. 3.2.4) and the joint-velocity violations of Table 2.

Using this estimate, we can finally compute:

\[\label{eq:tau-QP} \boldsymbol{\tau}_\text{QP} = \mathbf{M}(\mathbf{q}) \ddot{\mathbf{q}}^\star + \mathbf{C}(\mathbf{q}, \dot{\mathbf{q}})\dot{\mathbf{q}} + \mathbf{g}(\mathbf{q}) - \hat{\boldsymbol{\tau}}_{\text{ext}},\tag{6}\] which is the expression used for torque-limit constraints (Eq. 3 ), and as the torque command.

3.2.4 Robustness analysis↩︎

Combining Eq. 6 with the true dynamics 1 gives \[\label{eq:qddot-real} \ddot{\mathbf{q}}_{real} = \ddot{\mathbf{q}}^\star + \mathbf{M}(\mathbf{q})^{-1}\mathbf{e}_\tau, \qquad \mathbf{e}_\tau := \boldsymbol{\tau}_{ext} - \hat{\boldsymbol{\tau}}_{ext}.\tag{7}\] If, for some known disturbance bound \(\bar\delta\ge0\), \[\label{eq:bounded-error} \|\mathbf{M}(\mathbf{q})^{-1}\mathbf{e}_\tau\|_\infty \le \bar\delta,\tag{8}\] propagating this disturbance through the relative-degree-one CBF condition of the joint velocity constraint 4 yields, via the comparison lemma, \[\label{eq:issf} h_{vel}(t)\ge h_{vel}(0)e^{-\lambda t} - (\bar\delta/\lambda)(1-e^{-\lambda t}).\tag{9}\] This provides an input-to-state safety [29] guarantee: the velocity-constrained trajectory remains within an \(O(\bar\delta/\lambda)\) neighborhood of the safe set, rather than strictly inside it. An analogous but distinct bound, with a margin scaling as \(\bar\delta/(\alpha_1\alpha_2)\), holds for the relative-degree-two position and collision barriers. This is consistent with the nonzero hardware violations reported in Table 2, compared with zero violations in simulation where \(\mathbf{e}_\tau\approx0\). If the QP becomes infeasible, neither this robustness guarantee nor exact forward invariance applies, and safety instead relies on the fallback mechanisms described in Sec. 5.

3.3 RL Control Law Principle↩︎

We consider the classical setup in which a reinforcement learning (RL) policy generates joint-space commands for a robot. Most RL policies output an action vector \(\mathbf{a} \in \mathbb{R}^{n_{\text{a}}}\), which is typically interpreted as a desired joint displacement relative to a reference configuration \(\mathbf{q}_0\in \mathbb{R}^{n_{\text{a}}}\) used during training: \[\label{eq:qRL} \mathbf{q}_{\text{RL}} = \mathbf{q}_0 + \mathbf{a},\tag{10}\] where \(\mathbf{q}_{\text{RL}}\in \mathbb{R}^{n_{\text{a}}}\) denotes the commanded joint position.

On real robots, position commands are handled by low-level motor controllers, which convert the desired positions into torque (and ultimately current) commands to drive the actuators. These inner loops typically run at a higher frequency than the outer policy. In simulation, this behavior is commonly emulated using a joint-level Proportional-Derivative (PD) controller: \[\label{eq:tauRL} \boldsymbol{\tau}_{\text{RL}} = \mathbf{K}_p \bigl( \mathbf{q}_{\text{RL}} - \mathbf{q}_{\text{a}} \bigr) - \mathbf{K}_d \dot{\mathbf{q}}_{\text{a}}.\tag{11}\] where \(\mathbf{K}_p, \mathbf{K}_d \in \mathbb{R}^{n_{\text{a}}\times n_{\text{a}}}\) are diagonal gain matrices. As a result, the RL policy learns in closed-loop with this controller: the policy effectively observes the combined effect of its commands and the PD dynamics, and the two cannot be treated independently. Consequently, the torque actually realized on the robot, whether in simulation or on hardware, corresponds to \(\boldsymbol{\tau}_{\text{RL}}\).

3.4 Integration of RL with QP Tasks↩︎

As established in the previous subsection, the effective output of the RL policy is not the commanded joint position \(\mathbf{q}_{\text{RL}}\) but \(\boldsymbol{\tau}_{\text{RL}}\). Therefore, to reproduce the RL behavior within the QP framework, we must formulate linear acceleration tasks that depend on torque. In this work, we consider two alternatives: a Torque task (TorqueTask), which minimizes the error between the desired torque and the commanded one, and a Forward Dynamics Task (FDTask), which minimizes the difference between the QP-predicted acceleration and the one implied through forward dynamics from the desired torque. Other choices (e.g., force or momentum tasks) could be integrated in the same framework, but are left for future work. The derivation in Section 3.3 assumes a joint-space PD law, as this is a common formulation in RL training frameworks. However, the proposed integration only requires that the RL policy induce a joint-torque vector. For example, a Cartesian impedance law of the form \(\boldsymbol{\tau}_{\text{RL}} = \mathbf{J}^\top \left( \mathbf{K}_p (\mathbf{x}_{ref} - \mathbf{x}) - \mathbf{K}_d \dot{\mathbf{x}} \right),\) with \(\mathbf{J}\) the robot Jacobian and \((\mathbf{x}_{ref}, \mathbf{x},\dot{\mathbf{x}})\) the task-space position reference, real position and velocity, equally defines a torque command. Such torque-level parameterizations can be incorporated in the QP without modification. A comparative study of alternative torque-inducing control laws for RL policies is provided in [30].

3.4.1 TorqueTask↩︎

The TorqueTask enforces the desired joint torques as a linear equality in the QP (Eq. 2 ): \[\begin{align} \label{eq:QP-torquetask} \mathbf{A} &= \mathbf{M}(\mathbf{q}), & \mathbf{b} &= \boldsymbol{\tau}_d - \mathbf{D}(\mathbf{q}, \dot{\mathbf{q}}), \end{align}\tag{12}\] where \[\label{eq:D-hat} \mathbf{D}(\mathbf{q}, \dot{\mathbf{q}}) = \mathbf{C}(\mathbf{q}, \dot{\mathbf{q}})\dot{\mathbf{q}} + \mathbf{g}(\mathbf{q}) - \hat{\boldsymbol{\tau}}_{\text{ext}},\tag{13}\] and \(\boldsymbol{\tau}_d \in \mathbb{R}^{n}\) is the desired torque (here \(\boldsymbol{\tau}_{\text{RL}}\)). This formulation ensures that the QP accelerations \(\ddot{\mathbf{q}}^\star\) reproduce the desired torques via inverse dynamics.

3.4.2 Forward Dynamics Task (FDTask)↩︎

An alternative is to convert the desired torque into a reference acceleration using forward dynamics: \[\begin{align} \label{eq:QP-fdtask} \mathbf{A} &= \mathbf{I}, & \mathbf{b} &= \mathbf{M}(\mathbf{q})^{-1}\bigl(\boldsymbol{\tau}_d - \mathbf{D}(\mathbf{q}, \dot{\mathbf{q}})\bigr), \end{align}\tag{14}\] with \(\mathbf{I}\) the identity matrix. The QP then minimizes the deviation between \(\ddot{\mathbf{q}}^\star\) and this reference acceleration. While straightforward, this formulation requires inversion of \(\mathbf{M}(\mathbf{q})\), making it more sensitive to modeling errors in the dynamics, as we include the model into the objective in \(\mathbf{b}\).

4 Experiments↩︎

We evaluate our approach on two different robotic platforms. First, on a Kinova Gen3 7-DoF manipulator, we use an off-the-shelf RL policy trained without safety constraints to demonstrate plug-and-play compatibility with standard RL pipelines. On the Unitree H1 humanoid, we consider a locomotion policy trained with a Safe-RL method, enabling comparison between runtime formal filtering and training-time safety enforcement. All experiments are implemented within the control framework mc_rtc5, which serves as the primary interface for both robots.

4.1 Manipulator Experiments↩︎

We use the publicly available PPO policy from [31], trained for end-effector reaching on the Kinova Gen3 without safety constraints. Acc-CBF-QP enforces manufacturer-specified joint position, velocity, and torque limits, and self-collision avoidance. The policy runs at 100 Hz, generating \(\mathbf{q}_\text{RL}\) commands. Our controller runs at 1 kHz to compute \(\boldsymbol{\tau}_\text{RL}\), and ensures constraints at the controller frequency. For precise torque tracking and external disturbance estimation, we follow the pipeline described in [9].

4.1.1 Nominal conditions↩︎

The robot alternates between two end-effector targets separated by 200 mm over ten cycles, stopping 5 s at each target. To quantify RL nominal behavior preservation, we compute the mean Cartesian trajectory of RL over all cycles \(\overline{\mathbf{x}}_{RL}\), and evaluate the deviation \(\|\mathbf{x}_{controller} - \overline{\mathbf{x}}_{RL}\|\) for RL (intrinsic repeatability), FDTask, and TorqueTask during dynamic and quasi-static phases. RL+QP deviations remain of the same order as intrinsic RL repeatability in both phases (Fig. 2). A paired Wilcoxon test on per-cycle RMS deviations detects no significant difference between RL and RL+QP in either phase (\(p>0.12\)). Non-inferiority tests with a 0.5 mm margin further confirm that RL+QP deviations are statistically bounded within this tolerance for both tasks and phases, confirming no measurable degradation under nominal, violation-free conditions.

Figure 2: Behavior preservation under nominal conditions. Boxplots of Cartesian deviation relative to the mean RL trajectory, for RL (gray), FDTask (cyan), and TorqueTask (orange) during dynamic (Dyn) and quasi-static (QS) phases. Boxes show the median and interquartile range; whiskers extend to 1.5\times IQR.

4.1.2 Out-of-distribution scenario↩︎

Replacing the training initial configuration \(\mathbf{q}_0\) with the manufacturer default induces a joint limit violation between joints 3 and 4. The baseline RL policy exceeds joint limits and triggers a hardware safety shutdown, whereas both QP formulations enforce limits and prevent collision (Fig. 3).

Figure 3: Joint 4 position during OoD execution. RL alone (gray) exceeds the hardware joint limit, triggering a shutdown. Both RL+QP tasks (cyan and orange) strictly respect the joint limit constraints.

4.2 Humanoid Experiments↩︎

We evaluate our framework on a more challenging floating-base system, the 19-DoF Unitree H1 humanoid robot. Unlike the manipulation experiments, where the RL policy was trained without safety awareness, here the policy is trained using PPO with the CaT approach [10]. Therefore, this setting provides a comparison between Safe-RL approaches through CaT and our Acc-CBF-QP runtime safety enforcement. This walking policy controls only the leg joints, while the arm and torso joints remain static. Its observations include the angular velocity and roll–pitch orientation from the IMU, the joint positions and velocities of the legs, the previous actions of the policy, the sine and cosine of a gait phase variable (encoding the walking frequency), and a commanded velocity in \(x\), \(y\), and yaw. The policy was trained to respect joint position and torque limits, as well as ankle collision avoidance. During the experiments, we kept these limits identical in the QP and added joint velocity limits and self-collisions between the other robot bodies. The policy runs at 40 Hz, while the controller runs at 400 Hz. Higher control frequencies than this lead to delays in the Unitree API. Unless otherwise specified, all experiments use a null velocity command. Under this command, the policy exhibits drifting locomotion rather than stationary walking. Performance is therefore assessed using the survival duration defined in Section 4.2.6, rather than velocity tracking accuracy.

4.2.1 Modeling challenges↩︎

We observed a mismatch of more than 8 kg between the official URDF file and the real robot mass (over 10% of the total body weight). We empirically improved the dynamic model by adding known masses and checking position tracking with low PD gains, yielding a closer but not perfect model identification. The same model was used for the training and for the QP-based controller. This imperfect model makes the humanoid a particularly challenging test case for RL+QP: model inaccuracies inevitably degrade the consistency of the dynamics. However, by employing the GMO as a disturbance observer to estimate external forces [26], we mitigate much of the effect of model error.

4.2.2 Control setup↩︎

The H1 API exposes only a PD interface, precluding direct torque commands as used for the Kinova. In RL-only mode, the position reference \(\mathbf{q}_{\text{RL}}\) produced by the policy is sent directly to the interface. In RL+QP mode, \(\boldsymbol{\tau}_\text{QP}\) is converted into an equivalent position command by inverting the PD control law: \[\label{eq:inversePD} \mathbf{q}_\text{cmd} = \mathbf{q}_{\text{a}}+\mathbf{K}_p^{-1}(\boldsymbol{\tau}_\text{QP}+\mathbf{K}_d \dot{\mathbf{q}}_{\text{a}}),\tag{15}\] which ensures that, when passed through the robot’s PD controller, the resulting motor torques are exactly \(\boldsymbol{\tau}_\text{QP}\) (since terms cancel out as in Eq. 11 ).

4.2.3 Torque and acceleration error analysis↩︎

We run each mode (RL only, RL+QP with TorqueTask, and RL+QP with FDTask) for approximately one minute on both the real robot and in simulation, using the mc_mujoco interface [32]. We measure the torque error \(\|\boldsymbol{\tau}_\text{QP} - \boldsymbol{\tau}_\text{RL}\|\) and the forward-dynamics acceleration discrepancy \(\|\mathbf{M}^{-1}(\boldsymbol{\tau}_\text{QP} - \boldsymbol{\tau}_\text{RL})\|\), which quantify how strongly the QP modifies the RL command. Under perfect modeling and inactive constraints, TorqueTask should yield zero torque error and FDTask zero acceleration error. Results are summarized in Table 1.

Table 1: Torque and acceleration tracking errors (mean \(\pm\) std [max]).
RL+QP Tasks \(\|\boldsymbol{\tau}_\text{QP} - \boldsymbol{\tau}_\text{RL} \|\) [Nm] \(\|\mathbf{M}^{-1}(\boldsymbol{\tau}_\text{QP} - \boldsymbol{\tau}_\text{RL}) \|\) [rad/s\(^2\)]
Torque (HW) \(2.6 \pm 5.0\) [39.4] \(704.9 \pm 1353.9\) [10381.4]
Torque (Sim) \(2.1 \pm 4.2\) [26.7] \(546.1 \pm 1094.7\) [6935.7]
FD (HW) \(12.4 \pm 24.5\) [273.1] \(698.7 \pm 1414.4\) [14717.7]
FD (Sim) \(7.4 \pm 15.2\) [122.9] \(468.2 \pm 994.4\) [6703.3]

Large magnitudes reflect the norm of all actuated joints and are dominated by transient spikes during foot-ground impact, where discretized accelerations are large by construction.

The results show systematic differences between the two formulations. For torque tracking, the TorqueTask reduces the mean error by 79.0% on hardware and 71.6% in simulation relative to the FDTask. Tracking statistics are comparable between simulation and hardware, indicating limited sensitivity to modeling discrepancies. For acceleration tracking, the FDTask achieves lower mean error in simulation (14.3% reduction relative to TorqueTask), consistent with its objective of minimizing forward-dynamics deviation. However, this advantage disappears on hardware (0.9% reduction), where model inaccuracies degrade consistency between predicted and realized accelerations. Overall, the TorqueTask exhibits greater robustness to modeling errors, while the FDTask better preserves acceleration consistency when the dynamics model is accurate. When constraints are inactive, both QP task formulations are identical.

4.2.4 Computational cost↩︎

On the H1 (19 DoF, 400 Hz, on Intel Core Ultra 7 155H), the full per-cycle pipeline averages \(0.348\pm0.119\) ms (TorqueTask) and \(0.360\pm0.121\) ms (FDTask), both under 15% of the control period.

4.2.5 Constraint violation rates↩︎

Next, we evaluate constraint satisfaction (Tab. 2) by measuring the number of constraint violations across all joints during each experiment. On the real robot, RL alone yields on average 10.04 violations/s, mostly due to torque limits. RL+QP with TorqueTask reduces this to 0.80 violations/s, while RL+QP with FDTask reduces it to 1.32 violations/s. In simulation, violations are already rare (3.14 torque limit violations/s for RL alone), but both QP tasks achieve 0 constraint violations. The only remaining violations on hardware are in joint velocities.

Table 2: Constraint violation rates (violations/s), real robot and (simulation).
Lim. RL RL+QP (TorqueTask) RL+QP (FDTask)
\(\mathbf{q}\) 0.02 (0.00) 0.00 (0.00) 0.00 (0.00)
\(\dot{\mathbf{q}}\) 1.05 (0.00) 0.80 (0.00) 1.32 (0.00)
\(\mathbf{d}_\text{coll}\) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
\(\boldsymbol{\tau}\) 8.97 (3.14) 0.00 (0.00) 0.00 (0.00)
Tot. 10.04 (3.14) 0.80 (0.00) 1.32 (0.00)

4.2.6 Quantifying Performance and Stability Interference↩︎

We evaluate whether embedding the learned locomotion policy within the proposed Acc-CBF-QP degrades performance (Fig. 4). To evaluate walking performance, we use survival duration as a metric, defined as the time until episode termination. All controllers are tested over 200 paired simulation trials with identical randomized initial conditions. Episodes terminate upon: (i) fall (floating-base height below threshold), (ii) 60 s timeout, or (iii) safety violation (self-collision \(e \leq 1\,\mathrm{mm}\), joint violation \(\geq1^\circ\), velocity violation \(\geq5\%\)). Due to hardware risk and sample complexity, all evaluations are conducted in simulation.

Figure 4: Performance impact of the Acc-CBF-QP across 200 paired simulation trials per controller. Top: survival duration (time to termination). Bottom: termination causes. Left: aggressive velocity command on flat terrain. Right: uneven terrain robustness. Boxplots show median and interquartile range (whiskers: 1.5\timesIQR). Stacked bars report termination categories (fall, joint/velocity limits, collision, timeout); hatched segments indicate QP infeasibility rates for damping (D) and rollback (RB) variants.

4.2.6.1 Aggressive Velocity Command

We first consider a flat-ground stress test using a policy trained with reduced ankle-ankle collision margins and commanded with high velocity. This regime stresses feasibility and OoD state rather than disturbance rejection. We compare: RL without safety termination (RL-NST), RL with safety checks, RL with torque saturation (RL-Sat), and the RL+QP variants (FDTask, TorqueTask). All the variants share the same learned policy and differ only in how constraints are handled. RL-NST provides an upper-bound reference by terminating only upon fall or timeout, ignoring safety-related violations. RL activates safety termination conditions without modifying the torque output, isolating the effect of constraint monitoring alone. RL-Sat additionally enforces actuator torque limits via output saturation, representing the hardware-feasible deployment baseline.

RL frequently violates joint limits (84%) and collision constraints (16%), yielding a median survival of 2.59 s. Torque saturation alone does not alter this behavior. Both QP variants eliminate constraint violations entirely and increase median survival to 2.96 s (FDTask) and 3.10 s (TorqueTask), corresponding to \(\sim\)​20% improvement. Paired Wilcoxon tests confirm significant gains over RL-Sat (\(p<0.001\)). All terminations result from falls, indicating that the QP layer converts unsafe violations into physically admissible failures without degrading task execution. Notably, RL-NST achieves survival comparable to QP-based controllers while allowing unsafe constraint violations. In contrast, the QP layer restores comparable survival while guaranteeing constraint satisfaction, demonstrating that safety can be enforced without sacrificing nominal task performance.

4.2.6.2 Uneven Terrain Robustness

We next evaluate the hardware-deployed walking policy on procedurally generated uneven terrain composed of randomly rotated embedded boxes. The policy was trained for rough terrain, but not this configuration. RL-Sat serves as a baseline to ensure identical torque limits.

Unlike previous experiments, QP infeasibility occurred only in this non-planar environment, enabling a comparative evaluation of recovery strategies. Under severe perturbations, QP infeasibility may arise when multiple constraints are mutually conflicting. We evaluate two recovery strategies: (i) switching to damping mode (\(\boldsymbol{\tau}_{cmd}=-\mathbf{K}_d\mathbf{\dot{q}}_{\text{a}}\)) with saturated torque, until feasibility is restored (FD-D, T-D), and (ii) temporarily reverting to RL-Sat (rollback, FD-RB, T-RB). TorqueTask variants exhibit lower infeasibility rates (\(\approx\)​5%) than FDTask variants (\(\approx\)​11%). Rollback marginally increases empirical survival and is the only configuration reaching timeouts, but these differences remain small relative to overall survival times.

Median survival times remain comparable across all controllers (10–11 s). The raw RL policy predominantly terminates due to joint violations (79%), whereas QP-based controllers substantially reduce constraint violations and shift failures toward physically plausible falls (42–53%).

Across all paired comparisons between FD, Torque, damping (-D), and rollback (-RB) variants, Wilcoxon signed-rank tests detect no statistically significant differences in survival duration in any comparison (all \(p>0.08\)). Median paired differences remain below 0.35 s (less than 3% of nominal survival), with negligible standardized effect sizes (\(|d_z|<0.06\)). Moreover, 95% confidence intervals of the paired differences lie entirely within a conservative \(\pm2\) s tolerance band (\(\approx 20\%\) of nominal survival), indicating absence of practically meaningful degradation. Thus, the choice of QP formulation or infeasibility handling strategy does not materially affect stability performance on this uneven terrain scenario.

5 Limitations & Future Work↩︎

Despite its practical effectiveness, the proposed framework raises several directions for further investigation.

First, we benchmark only against a CaT-based Safe-RL baseline; broader comparison with methods such as CPO, or integrating Acc-CBF-QP during training, would clarify training-time/runtime complementarity. However, embedding it early may overly restrict exploration, while embedding it late may have limited effect once CaT already suppresses most violations—left for future work.

Second, Sec. 3.2.4 bounds safety deviation under bounded disturbance but not closed-loop stability; we observe no instability empirically, but a formal stability characterization of projected RL-controlled systems remains open.

Finally, we handle QP infeasibility pragmatically (damping or torque-saturated rollback), sacrificing formal for statistical guarantees; slack variables, augmented Lagrangian methods, or hierarchical QP prioritizing critical constraints (position, collision) over secondary ones (torque, velocity) are more principled directions, left for future work.

6 Conclusion↩︎

We introduced Acc-CBF-QP, an open-source runtime safety filter that wraps arbitrary RL policies and enforces position, velocity, torque, and collision constraints at every control cycle, without retraining, via two RL-compatible QP task formulations (TorqueTask, FDTask). Experiments on a 7-DoF manipulator and a 19-DoF humanoid show substantial reductions in constraint violations, no measurable degradation in nominal performance, and longer survival under aggressive commands than a torque-saturated RL baseline. Overall, Acc-CBF-QP provides a practical and scalable mechanism to bridge the flexibility of RL with the strict safety requirements of real-world robotic systems.

Acknowledgments↩︎

This paper is based on results obtained from the BRIDGE Program (R7-H05), implemented by the Cabinet Office, Government of Japan.

References↩︎

[1]
W. Zhao, T. He, R. Chen, T. Wei, and C. Liu, “State-wise safe reinforcement learning: A survey,” in Proceedings of the thirty-second international joint conf. On artificial intelligence, 2023, doi: 10.24963/ijcai.2023/763.
[2]
E. Altman, Constrained markov decision processes. Routledge, 2021.
[3]
W. Hung, S.-H. Sun, and P.-C. Hsieh, “Efficient action-constrained reinforcement learning via acceptance-rejection method and augmented MDPs,” in The thirteenth international conf. On learning representations, 2025, [Online]. Available: https://openreview.net/forum?id=AgMpK7z4bz.
[4]
A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada, “Control barrier functions: Theory and applications,” in 2019 18th european control conf. (ECC), 2019, pp. 3420–3431, doi: 10.23919/ECC.2019.8796030.
[5]
Y. Emam, G. Notomista, P. Glotfelter, Z. Kira, and M. Egerstedt, “Safe reinforcement learning using robust control barrier functions,” IEEE Robotics and Automation Letters, vol. 10, no. 3, pp. 2886–2893, 2025, doi: 10.1109/LRA.2022.3216996.
[6]
Z. Chen et al., “Safe reinforcement learning via hierarchical adaptive chance-constraint safeguards,” in 2024 IEEE/RSJ international conf. On intelligent robots and systems (IROS), 2024, pp. 12378–12385, doi: 10.1109/IROS58592.2024.10801338.
[7]
J. Terven, “Deep reinforcement learning: A chronological overview and methods,” AI, vol. 6, no. 3, 2025, doi: 10.3390/ai6030046.
[8]
M. Charbonneau, V. Modugno, F. Nori, G. Oriolo, D. Pucci, and S. Ivaldi, “Learning robust task priorities of QP-based whole-body torque-controllers,” in 2018 IEEE-RAS 18th international conf. On humanoid robots (humanoids), 2018, pp. 1–9, doi: 10.1109/HUMANOIDS.2018.8624995.
[9]
B. M. A. M. C. A. M. B. A. G. Venture, Demonstrating a Control Framework for Physical Human-Robot Interaction Toward Industrial Applications,” in Proceedings of robotics: Science and systems, 2025, doi: 10.15607/RSS.2025.XXI.084.
[10]
E. Chane-Sane, P.-A. Leziart, T. Flayols, O. Stasse, P. Souères, and N. Mansard, “Cat: Constraints as terminations for legged locomotion reinforcement learning,” in 2024 IEEE/RSJ international conf. On intelligent robots and systems (IROS), 2024, pp. 13303–13310.
[11]
J. Achiam, D. Held, A. Tamar, and P. Abbeel, “Constrained policy optimization,” in Proceedings of the 34th international conf. On machine learning, 2017, vol. 70, pp. 22–31, [Online]. Available: https://proceedings.mlr.press/v70/achiam17a.html.
[12]
M. Zanon and S. Gros, Reinforcement learning with guarantees,” in Model predictive control: Engineering methods for economists, A. Daniilidis, L. Grüne, J. Haunschmied, and G. Tragler, Eds. Cham: Springer Nature Switzerland, 2025, pp. 191–224.
[13]
G. Torre, O. Y. Nieto, A. A. Simoes, J. I. Giribet, and L. J. Colombo, 8th IFAC Workshop on Lagrangian and Hamiltonian Methods for Nonlinear Control LHMNC 2024“Learning cost functions for reinforced learned controllers in a quadrupedal robot,” IFAC-PapersOnLine, vol. 58, no. 6, pp. 42–47, 2024, doi: https://doi.org/10.1016/j.ifacol.2024.08.254.
[14]
P. Liu, H. Bou Ammar, J. Peters, and D. Tateo, “Safe reinforcement learning on the constraint manifold: Theory and applications,” IEEE Transactions on Robotics, vol. PP, pp. 1–20, Jan. 2025, doi: 10.1109/TRO.2025.3567477.
[15]
K. Ohnishi, M. Shibata, and T. Murakami, “Motion control for advanced mechatronics,” IEEE/ASME Transactions on Mechatronics, vol. 1, no. 1, pp. 56–67, 1996, doi: 10.1109/3516.491410.
[16]
K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems.” 2021, [Online]. Available: https://arxiv.org/abs/1812.05506.
[17]
J. Choi, F. Castañeda, C. J. Tomlin, and K. Sreenath, “Reinforcement learning for safety-critical control under model uncertainty, using control lyapunov functions and control barrier functions,” in Proceedings of robotics: Science and systems (RSS), 2020.
[18]
L. Yang, B. Werner, R. K. Cosner, D. Fridovich-Keil, P. Culbertson, and A. D. Ames, “SHIELD: Safety on humanoids via CBFs in expectation on learned dynamics,” in 2025 IEEE/RSJ international conference on intelligent robots and systems (IROS), 2025, pp. 203–210, doi: 10.1109/IROS60139.2025.11247065.
[19]
L. Sentis and O. Khatib, “Control of free-floating humanoid robots through task prioritization,” in Proceedings of the 2005 IEEE international conf. On robotics and automation, 2005, pp. 1718–1723.
[20]
K. Bouyarmane, K. Chappellet, J. Vaillant, and A. Kheddar, “Quadratic programming for multirobot and task-space force control,” IEEE Transactions on Robotics, vol. 35, no. 1, pp. 64–77, 2018.
[21]
R. Cisneros et al., “Robust humanoid control using a QP solver with integral gains,” in IEEE/RSJ IROS, 2018, doi: 10.1109/IROS.2018.8593417.
[22]
Q. Nguyen and K. Sreenath, “Exponential control barrier functions for enforcing high relative-degree safety-critical constraints,” in 2016 american control conf. (ACC), 2016, pp. 322–328, doi: 10.1109/ACC.2016.7524935.
[23]
R. Grandia, A. J. Taylor, A. D. Ames, and M. Hutter, “Multi-layered safety for legged robots via control barrier functions and model predictive control,” in 2021 IEEE international conf. On robotics and automation (ICRA), 2021, pp. 8352–8358, doi: 10.1109/ICRA48506.2021.9561510.
[24]
F. Kanehiro, M. Morisawa, W. Suleiman, K. Kaneko, and E. Yoshida, “Integrating geometric constraints into reactive leg motion generation,” in 2010 IEEE/RSJ international conf. On intelligent robots and systems, 2010, pp. 4069–4076, doi: 10.1109/IROS.2010.5651634.
[25]
J. Vaillant et al., “Multi-contact vertical ladder climbing with an HRP-2 humanoid,” Autonomous Robots, 2016, doi: 10.1007/s10514-016-9546-4.
[26]
A. De Luca, A. Albu-Schaffer, S. Haddadin, and G. Hirzinger, “Collision detection and safe reaction with the DLR-III lightweight manipulator arm,” in IEEE/RSJ IROS, 2006, doi: 10.1109/IROS.2006.282053.
[27]
[28]
M. Benallegue, A. Benallegue, and Y. Chitour, “Tilt estimator for 3D non-rigid pendulum based on a tri-axial accelerometer and gyrometer,” in 2017 IEEE-RAS 17th international conf. On humanoid robotics (humanoids), 2017, pp. 830–835, doi: 10.1109/HUMANOIDS.2017.8246968.
[29]
S. Kolathaya and A. D. Ames, “Input-to-state safety with control barrier functions,” IEEE Control Systems Letters, vol. 3, no. 1, pp. 108–113, 2019, doi: 10.1109/LCSYS.2018.2853698.
[30]
Y. Narang et al., “Factory: Fast contact for robotic assembly,” Jun. 2022, doi: 10.15607/RSS.2022.XVIII.035.
[31]
L. Le Lay, “Kinova Gen3 RL & Sim2Real toolkit.” Jul. 2025, doi: https://doi.org/10.5281/zenodo.16530856.
[32]
R. P. Singh, P. Gergondet, and F. Kanehiro, “Mc-mujoco: Simulating articulated robots with FSM controllers in MuJoCo,” in 2023 IEEE/SICE international symposium on system integration (SII), 2023, pp. 1–5, doi: 10.1109/SII55687.2023.10039218.

  1. \(^{*}\)B. Muraccioli, A. Cariou share first authorship.↩︎

  2. \(^{1}\)All authors are with the CNRS–AIST Joint Robotics Laboratory (JRL), IRL3218, AIST, Tsukuba, Japan, {bastien.muraccioli, alice.cariou, pa.leziart, mathieu.celerier, arnaud.demont, mehdi.benallegue}@aist.go.jp↩︎

  3. \(^{2}\)G. Venture is also with the Department of Mechanical Engineering, The University of Tokyo, Japan, venture@g.ecc.u-tokyo.ac.jp↩︎

  4. https://safe-rl-qp.github.io/↩︎

  5. https://jrl.cnrs.fr/mc_rtc/↩︎