MEKAWIRE
ExpertarXiv

Learning Purposeful Co-designs of Bio-inspired Quadrupedal Robots

Fabio Boekel, Jiatao Ding, Cosimo Della Santina
From the abstract

Treating morphology and control as separate design problems has constrained the efficiency and adaptability of quadrupedal robots, while current co-design approaches are often constrained by restricted design spaces. We overcome this limit by introducing Dogger, a bio-inspired quadruped with modular three-segment legs, four-bar linkages and adjustable passive knee compliance.

From the abstract. Our summary is in progress.

Full paper

Learning Purposeful Co-designs of Bio-inspired Quadrupedal Robots

Fabio Boekel, Jiatao Ding, Cosimo Della Santina

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.02462 (PDF).

Abstract

Treating morphology and control as separate design problems has constrained the efficiency and adaptability of quadrupedal robots, while current co-design approaches are often constrained by restricted design spaces. We overcome this limit by introducing Dogger, a bio-inspired quadruped with modular three-segment legs, four-bar linkages and adjustable passive knee compliance. A two-stage framework combining reinforcement learning and Bayesian optimization is developed: the morphology-conditioned control policy is trained across designs and then held fixed during task-specific design selection. The resulting designs and policies deployed zero-shot reduce the cost of transport by 18.6% and 35.7% for inspection and payload-carrying tasks. Comparisons demonstrate that full geometry–compliance co-design outperforms fixed and restricted design scopes. Cross-task tests further reveal distinct task-specific morphologies with shared mechanical trade-offs. These results provide hardware-level evidence that expanding the physical design space alongside learned control is essential to realize the full potential of task-driven morphology–control co-design in legged robotics.

Index Terms:

Parallel compliance, morphology-control co-design, reinforcement learning, Bayesian optimization, quadrupedal robots.

I Introduction

Animals exhibit diverse forms of agile, efficient and adaptable locomotion through the close integration of morphology, neural control and behaviour. This coupling continues to inspire the design of legged robots capable of meeting different task demands [46, 42, 14, 23].

Inspired by the natural muscle-skeleton system, passive elastic actuators, especially parallel elastic actuators (PEAs), are incorporated into the quadrupedal design, improving robustness, reducing energy consumption or generating highly dynamic motions [7, 45, 44, 6, 2, 39]. On the other hand, learning-based controllers have enabled quadrupeds to traverse challenging terrain [33, 27, 29], locomote over deformable surfaces [10], and perform agile or adaptive multi-skill behaviours [24, 21, 26, 49]. Yet these controllers are typically developed for a specified mechanical platform, whose leg geometry and passive mechanics shape the dynamics and energy exchanges underlying locomotion. Changes to these properties may therefore require policy retraining or hardware-specific adjustment. Physical legged robots provide concrete examples: Badri-Spröwitz et al. developed BirdBot, which uses avian-inspired geometry and passive clutching to support energy-efficient locomotion with minimal active control [3]; Ruppert and Badri-Spröwitz matched a closed-loop central pattern generator (CPG) to passive elastic dynamics [39]; and Stella et al. embedded behavioral synergies in tendon routing, pulley geometry, and joint stiffness [46]. Together, these studies highlight the importance of coordinating mechanical structure and control, as further illustrated by the system-level energy-efficiency improvements demonstrated by RAIBO2 [28]. They motivate a broader design question: How should morphology and control be jointly optimized to meet different task demands?

Morphology-control co-design offers a promising way to address this question. Evolutionary approaches search mechanical design and gait or controller parameters [12], while trajectory-optimization and control-aware methods incorporate design variables into motion optimization [20, 11, 13]. Reinforcement learning (RL) approaches have explored concurrent learning of agent design and behaviour, including frameworks that couple online and offline learning [40, 19, 48, 32, 9]. Other approaches combine learning with trajectory optimization or evolutionary search [17, 18], or couple evolutionary design search with optimal control [15]. Meta-RL and design-conditioned policies further support the evaluation of candidate morphologies by reusing learned control across designs [5, 6]. Collectively, these approaches have broadened the available optimization strategies. However, an algorithmic formulation alone does not determine which mechanical variables can be changed in a real robot, how readily candidate designs can be fabricated and exchanged, or whether predicted improvements persist after hardware deployment.

Recent studies have begun to address these physical challenges. Song et al. designed task-oriented quadrupedal leg mechanisms, introducing a differential three-segment design for payload and efficiency [43]. Most directly related to this work, Bjelonic et al. combined a design-conditioned RL policy with Bayesian optimization (BO) to co-design passive knee elasticity and locomotion control on ANYmal [6]. Their study demonstrated learning-based physical co-design with a mechanical search focused on passive knee elasticity. Design optimization used a teacher policy, whereas a distilled student policy was deployed on hardware. These advances demonstrate the practical value of co-design, while leaving open how different mechanical design freedoms should be combined for a given task. In particular, optimizing passive compliance within a prescribed leg geometry does not establish whether jointly varying geometry and compliance yields additional benefits, or how these benefits change across tasks. Systematically investigating these questions on hardware calls for a platform that supports controlled variation of geometry and compliance, together with a control framework for evaluating candidate designs and deploying the selected configurations.

In this work, we jointly expand the mechanical design space and the learning framework through developing a modular hardware platform and proposing a morphology-aware design strategy. By aligning an expressive physical substrate with advanced co-design algorithms, we provide a systematic real-world demonstration that morphology–control co-design yields substantial gains in quadrupedal locomotion under specific task requirements. This overarching contribution unfolds through three key technical advances:

  • Modular quadruped Dogger. We introduce a modular quadruped for systematic morphological variation. Its bio-inspired three-segment legs and parallel-elastic knee elements enable rapid changes to geometry and passive compliance while retaining the same trunk, actuators, sensing and onboard computing, providing an expanded, physically realizable design space for co-design.
  • Morphology-aware learning framework. We develop a two-stage co-design framework that combines RL and BO. A morphology-conditioned policy is trained across a distribution of leg geometries and compliance parameters, then held fixed while BO selects task-specific designs. The same policy evaluates candidate designs and controls the selected hardware without retraining or distillation.
  • Experimental validation of task-dependent design benefits. We demonstrate zero-shot sim-to-real transfer of optimized designs and policies. Relative to a nominal spring-disengaged configuration, the selected hardware reduces system-level cost of transport by 18.6% for inspection and 35.7% for payload transport, providing quantitative evidence of real-world efficiency gains from expanded morphology-control co-design. Comparison studies show that joint geometry–compliance optimization outperforms fixed and restricted design scopes, while cross-task evaluations reveal task-specific performance trade-offs.

II Methodology

This section details the co-design methodology for the bio-inspired quadruped, focusing on the three primary components: (1) the bio-inspired leg design, (2) the learning-based co-design algorithm, and (3) the sim-to-real strategy.

II-A Bio-inspired Leg Design

As can be seen in Fig. 1, the quadruped has four identical legs, each of which consists of two main components: a three-segment mechanism with four-bar linkage kinematics and a parallel spring at the knee joint. This bio-inspired configuration expands the mechanical design space compared to a traditional two-segment non-elastic leg.

The leg morphology is determined by the three link lengths (thigh, shank and foot) and the mechanical properties of the knee spring system (rotational stiffness and spring engagement angle). Given three scaling factors: thigh (\lambda_{1}), shank (\lambda_{2}), and foot (\lambda_{3}), each link length is determined by its respective scaling factor and nominal length (denoted by l_{1}^{n}, l_{2}^{n}, l_{3}^{n}, respectively). The rotational joint stiffness and the engagement angle are controlled by the wheel diameter (\diameter) and spring offset (o). Therefore, a specific design \bm{d} in the design space \mathcal{D} is parametrized as \bm{d}=[\lambda_{1},\lambda_{2},\lambda_{3},\diameter,o]^{\text{T}}.

Fig. 1: Design of the bio-inspired leg. The lengths of the leg’s links are scaled from their nominal values (l_{1}^{n}, l_{2}^{n}, l_{3}^{n}) using scaling factors (\lambda_{1}, \lambda_{2}, \lambda_{3}). The spring wheel’s diameter (\diameter) adjusts the effective rotational stiffness, while the spring offset (o) specifies the engagement angle. The middle inset shows the clamps used to set o. The right panel shows three spring-wheel configurations, with \diameter decreasing from left to right. The wire extending upward is connected to the spring, which is not shown here.
II-A1 Three-segment leg mechanism

Inspired by animal anatomy, we design the leg with three segments, with a parallel linkage implemented for the third segment. The leg structure is fully 3D printed and designed to exclude any electronics and belts. Modifications to \lambda_{1},\lambda_{2},\lambda_{3} can be made by reprinting individual parts. The entire leg structure can be removed in one piece without the need to detach a single motor. These modular design features enable rapid and cost-effective testing of the co-design pipeline.

The scale parameters \lambda_{1},\lambda_{2},\lambda_{3} range from 0.70 to 1.30, with the bounds determined by the minimum and maximum sizes that can fit in the robot body. Reducing the lower limit was difficult because the parallel linkage joint in the thigh would interfere with the motor’s output axis, while increasing the upper limit would result in a collision between the front and back legs of the robot. The nominal scaling factor is centred within this range at 1.00.

II-A2 Knee PEA mechanism

We further integrate a PEA into the knee joint to emulate the elasticity found in biological systems. Inspired by the wheel-wire mechanism in [6, 14, 31], we incorporate a spring in the thigh joint, to which a wire is connected. The wire passes over a wheel positioned at the knee joint, with both the wheel and the wire attached to the shank. In this design, the diameter \diameter of the wheel influences the rotational stiffness of the joint. Since the wheel is 3D printed, it can be easily swapped, enabling faster implementation, as there is no need to purchase a new spring each time the robot is optimized with a different spring stiffness. The mechanism with different wheels can be seen on the right side of Fig. 1.

Furthermore, this design allows o to be adjusted by altering the position of the clamps on the wire, effectively modifying the leg angle at which the spring activates. As can be seen in the middle inset of Fig. 1, the position of the clamp can be changed by screwing or unscrewing the screw on the clamp and moving it along the wire.

For the PEA, we choose a spring with a stiffness of c_{s}=4180 N/m, with \diameter ranging from 0 to 50 mm and o from 0 to 10 mm. With these ranges, we can achieve a rotational joint stiffness between 0.03-2.62 Nm/rad and an initial torque on the knee joint in the standing position between 0-5.62 Nm. Across these parameter ranges, spring deformation remains below the limit at which plastic deformation occurs.

II-B Learning-based Morphology-control Co-design

Our learning-based co-design pipeline uses a two-step process to optimize both the morphology and the controller, given a task (Fig. 2). This process consists of 1) universal policy training using RL and 2) design selection through BO. In the first step, we train a universal policy \pi_{u} that is adapted to robot designs (\bm{d}) distributed across the design space \mathcal{D}. In the second step, we use \pi_{u} to control the different designs for a specific task k and select the best design with the lowest cost. After the two-step optimization, we obtain the task-specific design d^{*}_{k} and the universal controller \pi_{u} used to control it.

Fig. 2: Two-stage optimization for morphology-control co-design. In Step 1, a universal control policy \pi_{u} is trained in simulation across a broad design space \mathcal{D} using RL. In Step 2, a BO-based selector identifies the optimal design d^{*}_{k} for a specific task k by evaluating energy performance. For real-world deployment, the policy maps observations \bm{o}_{t} to actions \bm{a}_{t} while incorporating the feedforward spring torque \bm{\tau}_{t}^{\text{ff}}, which helps to bridge the sim-to-real gap.
II-B1 RL-based universal policy training

Formally, RL is formulated as a Markov decision process (MDP). At each timestep t, the agent observes its state \bm{s}_{t}, in our case, a partial observation \bm{o}_{t}, and takes an action \bm{a}_{t}. This interaction results in a transition to a new state \bm{s}_{t+1}, and the agent receives a reward r_{t} that evaluates the quality of its action. Using the new state \bm{s}_{t+1} and its policy \pi(\bm{a}_{t+1}|\bm{s}_{t+1}), the agent takes the next action \bm{a}_{t+1}. The goal of the RL algorithm is to optimize the policy to maximize the cumulative rewards obtained over time.

The observation space, action space, rewards, and termination follow.

Observation space: The observation includes both the design parameters (\bm{d}) and the remaining portion of the observation (\hat{\bm{o}}_{t}^{\prime}). This portion \hat{\bm{o}}_{t}^{\prime} consists of the commanded forward (x) and sideward (y) velocities, the commanded yaw rate, the gravity vector of the robot’s body, the actual yaw rate, the joint positions \bm{q}_{t}^{mea}, and the previous actions \bm{a}_{t}. Together, these elements form the current observation \bm{o}_{t}^{\prime}=[\bm{d},\hat{\bm{o}}_{t}^{\prime}]^{\text{T}}.

Action space: The action space consists of the desired joint angles. \bm{a}_{t} is added to the predefined standing pose of the robot \bm{q}^{\text{stand}}, resulting in the desired joint angles \bm{q}_{t}^{\text{des}}.

The commands generated by the policy are executed by actuators, which operate using the internal proportional-derivative (PD) controller. The PD controller generates the torques to track \bm{q}_{t}^{\text{des}}. See Fig. 2B for an overview of how the actions are processed.

Rewards: The reward function r_{t} combines task-specific and regularization terms. The task-specific reward focuses on velocity tracking, whereas the regularization terms promote motion smoothness, base stability and energy efficiency. In our work, the reward structure is designed to avoid biasing the policy toward specific designs. For example, we exclude reward terms such as body height, which could bias a specific design. Note that the reward also incorporates the cost function J(\bm{d};k,\pi_{u}) for the design selection (as discussed in the second step), ensuring alignment between the training and design selection objectives.

Termination: Each episode terminates when the robot flips upside down, reaches joint limits or exceeds the maximum episode length.

Our implementation uses a single fixed \pi_{u}. Unlike [5], which uses a meta-RL approach to adapt policies across different designs, our simpler approach achieves robust performance across the considered designs, thereby simplifying the training pipeline. While [6] distinguishes between design-aware and deployment policies, we use a single policy informed by design parameters, ensuring that the deployment policy is also aware of the robot design. In addition, in contrast to [6, 5], we do not use motion primitives for the foot trajectories as part of the reward, enhancing the freedom to explore the best motion for each design.

II-B2 BO-based design selection

In the second step, we select the best design {d}^{*}_{k} by minimizing a cost function J(\bm{d};k,\pi_{u}) for a specific task k.

The task k defines the environment scenario and the task requirements. It can include a specific velocity command, a particular type of terrain, disturbance levels, or variations in the robot, such as a version with a payload. Given a task, we aim to improve energy efficiency by minimizing the cost of transport CoT, defined as

J(\bm{d};k,\pi_{u}):CoT=\frac{E_{\text{total}}}{\Delta s}=\frac{\int_{0}^{T}P_{\text{total}}(t)dt}{\Delta s},
(1)

where the total energy usage E_{\text{total}} is calculated from the integration of the total power of the system P_{\text{total}}(t) over time, \Delta s is the total distance, and T is the total time.

The cost function J(\bm{d};k,\pi_{u}) above enables fair comparisons across different velocity commands and designs with varying velocity tracking performance, which, however, is not differentiable with respect to \bm{d}. Therefore, we utilize a derivative-free optimization method. In this work, we chose BO over an evolutionary algorithm because of its sample efficiency. Following the standard BO procedure, this design selection process takes place over multiple iterations. At each iteration i, the BO algorithm receives the cost function scores of a batch of designs \mathcal{D}^{sel}_{i} from the previous iteration. Based on these scores, it selects a new batch of designs \mathcal{D}^{sel}_{i+1}. During each episode, the trained policy \pi_{u} performs inference to control the different designs in \mathcal{D}^{sel}_{i+1}. At the end of the episode, the scores of J(\bm{d};k,\pi_{u}) for these designs are returned to the BO algorithm. This process is repeated for a set number of iterations to find the best design {d}^{*}_{k}.

II-C Sim-to-real Transfer

To ensure the zero-shot transfer of purposeful co-designs from simulation to the physical world, we employ the following sim-to-real strategies: domain randomization, noise injection, feedforward compensation for the PEA and a comprehensive energy model.

II-C1 Domain randomization

Domain randomization is applied by adjusting parameters such as body weight and inertia, PD gains, and contact friction. These ranges are selected based on real-robot testing to encompass the variability observed in real-world environments. Note that domain randomization is not applied during the second design selection step to ensure that performance differences between candidate morphologies are attributable to the design itself rather than stochastic environment variations.

II-C2 Disturbances and noise injection

During \pi_{u} training, random velocity perturbations are introduced to simulate unexpected disturbances that the robot may encounter in real environments. In addition, random noise is added to all observation values except for the design parameters. Noise is also added to the spring offset and resampled every 100 steps.

In the second step, the same disturbances and noise are applied. To ensure a fair comparison, we share the random seed across all tested designs, ensuring that each design experiences identical noise and disturbances during evaluation.

II-C3 PEA simulation

The additional knee torque from the parallel spring is estimated with

\tau_{i}(q_{i}(t),\diameter,c_{s})=\max\left(\frac{1}{4}\diameter^{2}c_{s}(q_{i}(t))+\frac{1}{2}\diameter c_{s}o,\,0\right),
(2)

where \tau_{i}(q_{i}(t),\diameter,c_{s}) is the torque that is produced by the spring on joint i, which depends on the joint angle q_{i}(t), spring setpoint o and the spring stiffness c_{s}.

We compute a feedforward torque command \bm{\tau}_{t}^{\text{ff}} using (2) to compensate for spring torque on the knee joint, allowing the policy to optimize the gait and utilize the spring effectively rather than compensate for spring-induced deviations.

II-C4 Comprehensive energy model

To ensure that the purposeful co-designs in simulation reflect the real efficiency gains of hardware, we employ a comprehensive energy model that accounts for both the mechanical work of the bio-inspired legs and the static electrical overhead of the platform. The total power consumption (P_{\text{total}}(t)) is estimated as the sum of the power consumed by the twelve motors and the power consumption of the remaining electronics, such as the NVIDIA Jetson computer. Denoting the total motor power as P_{\text{mech}}(t) and other electronics as P_{\text{system}}, we have

P_{\text{total}}(t)=P_{\text{mech}}(t)+P_{\text{system}}.
(3)

Measurements have shown that P_{\text{system}} remains relatively constant during operation and is therefore time-independent. Inspired by [4], we estimate P_{\text{mech}}(t) by

\begin{split}P_{\text{mech}}(t)&=\sum_{i=1}^{n}P_{\text{mech},i}(\tau_{i}(t),\dot{q}_{i}(t))\\
&=\sum_{i=1}^{n}\left[\left(\frac{\tau_{i}(t)}{K_{T}}\right)^{2}R+\frac{K_{v}\tau_{i}(t)\dot{q}_{i}(t)}{K_{T}}\right],\end{split}
(4)

where \tau_{i}(t) is the torque applied by the motor i, \dot{q}_{i}(t) is the rotational speed, R is the motor’s winding resistance, K_{T} is the torque constant, and K_{v} is the velocity constant. This equation accounts for both winding power dissipation, proportional to \tau_{i}(t)^{2}R_{i}, and rotational power, \tau_{i}(t)\dot{q}_{i}(t).

III Results

We evaluate physical co-design through complementary simulation and hardware experiments on the Dogger platform. The main results focus on task-specific design selection, cross-task performance, contributions of geometry and passive compliance, and robust locomotion on rough terrain.

III-A Design and Evaluation Settings

We train the universal control policy using proximal policy optimization (PPO) [41] in thousands of parallel environments, each assigned a different design sampled from the morphology space. In our implementation, up to 8,192 environments are used for flat-terrain training within the Brax framework [16], while more complex terrain scenarios are trained using NVIDIA Isaac Lab [34] with 4,096 environments. Training requires approximately 15 minutes to 2 hours on a desktop GPU (NVIDIA RTX 4070), depending on the task complexity. The resulting controller operates at a frequency of 50\,Hz.

For design selection, we use the tree-structured Parzen estimator (TPE) solver [37] provided by the Optuna library [1]. The process begins with a warm-up phase in which 100 randomly sampled designs are evaluated. Each design is evaluated for 6000 environment steps in the inspection task and 15000 environment steps in the payload transport task.

Detailed settings for the RL reward, domain randomization, and BO are attached in the appendix. Hardware devices are also specified in the appendix.

III-B Task-Driven Co-design for Energy-Efficient Locomotion

We asked whether different task objectives select distinct energy-efficient physical configurations and whether their predicted advantages transfer to hardware. We considered two design optimization tasks: task 1 for efficient inspection and task 2 for efficient payload transport, and evaluated each optimized design in both simulation and hardware experiments (see Fig. 3 and Movie 1). The resulting designs are denoted by d^{*}_{1} for task 1 and d^{*}_{2} for task 2. These designs were compared with two nominal reference designs whose link lengths were set to be their mid-range values: nominal design 1, d^{n}_{1}, with the springs disengaged, and nominal design 2, d^{n}_{2}, with the springs set to be their mid-range values.

Fig. 3: Snapshots from indoor experiments. For task 1, the robot walks forward at 0.5 m/s. For task 2, the robot walks sideways to the left at 0.25 m/s. Consecutive frames are separated by 0.12 s. All four selected designs were tested on hardware; only a subset is shown because of space constraints.
Fig. 4: Task-driven co-design selects energy-efficient configurations. (A) The four designs: d^{n}_{1}, d^{n}_{2}, d^{*}_{1}, and d^{*}_{2}, where d^{n}_{1} and d^{n}_{2} share the same link parameters. The radar chart shows their five design parameters. Design colours: purple (d^{n}_{1}), blue (d^{n}_{2}), green (d^{*}_{1}), and yellow (d^{*}_{2}). (B) Relative CoT changes compared with d^{n}_{1} for task 1 (left) and task 2 (right). Solid bars represent simulation and hatched bars represent hardware experiments; error bars show standard deviations. (C) Torque profiles of the front-right knee motor during task 1.
III-B1 Task 1: Efficient Inspection

Task 1 represents an inspection along a fixed route, simplified as straight-line motion on flat ground alternating between walking and standing still (Fig. 3A). Four repeated trials were performed for each design.

The selected design for task 1, d^{*}_{1}, was \lambda_{1}=0.86, \lambda_{2}=1.02, \lambda_{3}=1.28, \diameter=33 mm, and o=6 mm, as visualized in Fig. 4(A). As shown in the left column of Fig. 4(B), this optimized design achieved a 12.6\% \pm 0.4\% reduction in CoT compared with {d^{n}_{1}} in simulation. Following zero-shot transfer, hardware experiments showed that d^{\star}_{1} achieved an 18.6\% \pm 1.7\% reduction in CoT compared with {d^{n}_{1}}. Notably, our CoT calculation includes the static power consumption of all electronics, which accounts for approximately 50% of the total energy consumption. Because this static consumption is constant across designs and cannot be influenced by the design space, the improvement in locomotion-dependent energy use is larger than the system-level CoT reduction alone suggests.

Figure 4(C) shows the front-right knee torques for task 1, revealing the effect of PEA. With the PEA disengaged (i.e., {d^{n}_{1}}), the knee motor exhibits the highest peak torque, and most of the knee torque lies on one side of the zero line (marked by a dotted line). In contrast, when the PEA is engaged (d^{n}_{2}, d^{*}_{1}, d^{*}_{2}), the torque shifts, resulting in a lower peak value and a more balanced distribution centred around zero. In particular, the optimized designs d^{*}_{1} and d^{*}_{2} exhibit the most balanced torque distributions and the lowest peak torques.

III-B2 Task 2: Efficient Payload Transport

Task 2 represents payload transport through omnidirectional locomotion while carrying a 2 kg payload (approximately 30\% of the robot’s total mass). The robot received 16 commands spanning different walking directions and velocities over 2 minutes, and four tests were performed for each design (Fig. 3B).

The selected design for task 2, d^{*}_{2}, was \lambda_{1}=1.30, \lambda_{2}=0.70, \lambda_{3}=1.30, \diameter=38 mm, and o=2 mm, as visualized in Fig. 4(A). The right column of Fig. 4(B) shows that, in simulation, {d^{*}_{2}} achieved a 34.0\% \pm 0.3\% reduction in CoT relative to {d^{n}_{1}} and was the most efficient among the four evaluated configurations. In the hardware experiments, {d^{*}_{2}} reduced CoT by 35.7\% \pm 3.1\%.

It is worth mentioning that, although absolute CoT differs between simulation and hardware, both the simulation and hardware experiments recognize the optimized morphology and the corresponding energetic benefits given the distinct task requirements, as evidenced by Fig. 3B.

III-C Cross-Task Validation of Selected Co-designs

To assess the task specificity of the selected designs, we further evaluated {d^{*}_{2}} in task 1 and {d^{*}_{1}} in task 2.

The left column of Fig. 4(B) shows that {d^{*}_{2}} achieved a 7.0\% \pm 0.4\% reduction in CoT relative to {d^{n}_{1}} in simulation and a 13.5\% \pm 3.3\% reduction on hardware for task 1 (yellow bars). Nevertheless, {d^{*}_{2}} was less energy-efficient than the task-specific design {d^{*}_{1}}. Conversely, {d^{*}_{1}} reduced CoT relative to {d^{n}_{1}} by 14.4\% \pm 0.4\% in simulation and 23.7\% \pm 2.3\% in hardware experiments for task 2 (green bars in the right column). However, {d^{*}_{1}} was less energy-efficient than the task-specific design {d^{*}_{2}}.

These cross-validation results show that, although the optimized designs perform well when evaluated on the other task, they do not match the performance of the designs specifically optimized for their respective tasks. This indicates that the co-design process captures task-dependent optima rather than a single universally optimal solution. At the same time, the relatively strong cross-task performance suggests that these designs exploit underlying mechanical trade-offs that are partially shared across tasks, leading to overlapping regions of high-performing configurations in the design space. Consequently, the proposed pipeline does not simply identify a single best morphology but instead discovers task-aligned solutions within a structured design landscape in which multiple configurations can achieve competitive performance, depending on the task context.

III-D Full Geometry–Compliance Co-design versus Restricted Design Scopes

Fig. 5: Design-space ablation for tasks 1 and 2. The left and right columns correspond to tasks 1 and 2, respectively. The top row shows the selected design parameters for the fixed, link-length-only, spring-only and full link-length–spring design scopes. The bottom row shows the relative CoT changes compared with the fixed configuration, d^{n}_{1}; error bars indicate standard deviations. In (B), purple, green and yellow bars represent link-length-only, spring-only and full geometry–compliance co-design, respectively.

To isolate the contributions of geometry and passive compliance, we compared four design scopes in simulation: a fixed configuration, link length-only co-design, spring-only co-design and full link length–spring co-design. The restricted scopes optimized either the three segment lengths with the springs disengaged, or the passive knee-spring parameters with the segment lengths fixed at their nominal values, whereas the full scope optimizes all five parameters jointly.

As shown in Fig. 5, the relative importance of the two mechanical design groups depends on the task. For task 1, link-length-only co-design produced only a small mean CoT reduction of 1.1\% \pm 2.5\% relative to the fixed configuration, whereas spring-only co-design achieved a larger reduction of 7.3\% \pm 1.3\%. For task 2, the trend was reversed: link-length-only co-design reduced CoT by 24.0\%\pm 0.9\%, compared with 16.3\% \pm 0.8\% for spring-only co-design. Thus, within the tested design space, passive compliance contributes more strongly to the inspection task, while leg geometry contributes more strongly to payload transport.

Jointly optimizing geometry (link lengths) and passive compliance (spring parameters) produced the largest improvement in both tasks, reducing CoT by 12.6\% \pm 0.4\% for task 1 and 34.0\% \pm 0.3\% for task 2. The selected full designs also combine different geometry and compliance settings for the two objectives (Fig. 5, top row). These results indicate that geometry and passive compliance provide complementary design freedoms: restricting either group excludes configurations that achieve the lowest energy cost, whereas full co-design can adapt both the leg structure and passive knee mechanics to different task demands.

III-E Comparison with Alternative Co-design Baselines

To assess the influence of the co-design formulation, we compared our RL+BO framework with two alternative co-design approaches: a CPG controller jointly optimized with the morphology using CMA-ES [22] and a privileged-RL controller combined with BO [6]. Each method optimized the same five physical design parameters for both tasks.

Fig. 6: Comparison with alternative co-design baselines. The top row shows the physical configurations selected by CPG+CMA-ES, privileged RL+BO and our method. The bottom row shows the mean CoT normalized to that of our method for each task; error bars indicate standard deviations.

As illustrated in Fig. 6, the three approaches selected substantially different physical configurations, indicating that the preferred morphology depends on the controller and optimization formulation. For task 1, CPG+CMA-ES achieved a mean CoT of 96.0\% relative to our method, corresponding to a 4.0\% lower value, whereas privileged RL+BO reached 112.8\%, corresponding to a 12.8\% higher value. Thus, the CPG-based baseline achieved the lowest mean energy cost for the inspection task.

For task 2, our method achieved the lowest mean CoT. The normalized mean was 103.2\% for CPG+CMA-ES and 103.7\% for privileged RL+BO, corresponding to increases of 3.2\% and 3.7\%, respectively, relative to our method (see the bottom right in Fig. 6). The CPG+CMA-ES results also exhibited considerably greater variability for this task.

Overall, these comparisons show that the proposed framework remains competitive across tasks with different locomotion demands, while the selected morphology depends on the co-design formulation.

III-F Robust Locomotion on Outdoor Terrains

While the primary co-design optimization and quantitative evaluations were conducted on flat surfaces to ensure controlled CoT comparisons, we further qualitatively assessed the robustness of the universal policy \pi_{u} and the modular hardware on various unstructured outdoor terrains.

We deployed two distinct configurations across a range of challenging environments, including gravel, tall grass, uneven soil and forest debris (see Fig. 7 and Movie 2). Despite the disturbances posed by the outdoor terrain, the learning policy \pi_{u} successfully maintained stable locomotion. A separate continuous 17-min outdoor trial further demonstrated sustained locomotion without falling, controller reset or policy fine-tuning (Movie 3).

Fig. 7: Robust locomotion in outdoor environments. Two distinct robot configurations are deployed across unstructured terrains; the configuration shown in the bottom two rows has a longer shank.

IV Conclusion

This work proposes a two-step learning-based morphology-control co-design pipeline to achieve purposeful, task-driven quadrupedal design, with a bio-inspired platform. Dogger’s three-segment legs and adjustable passive knee compliance expose complementary geometric and elastic design freedoms, while its modular construction makes these choices physically realizable. Coupled with morphology-conditioned learning, this architecture enables task-specific mechanical advantages to be identified and retained after hardware deployment. Sim-to-real deployment demonstrates that the resulting design and the control policy achieve energetic benefit satisfying different task demands.

Using the present two-step framework, however, task-specific design selection is performed under a previously trained policy, so the selected morphology depends on the capabilities of that controller. Allowing the policy to adapt alongside morphology could reveal effective pairings that remain inaccessible to fixed-policy design search. A single-stage learning-based co-design framework could pursue this direction by jointly optimizing policy and morphology within a common learning loop. In addition, incorporating additional structural variables and practical design constraints would further strengthen the connection to robot development. Ultimately, experience accumulated across successive tasks could improve both morphology selection and policy learning, providing a basis for continual improvement of the morphology-control co-design system.

References

  1. [1] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama (2019) Optuna: a next-generation hyperparameter optimization framework. In Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., pp. 2623–2631.
  2. [2] P. Arm et al. (2019) Spacebok: a dynamic legged robot for space exploration. In Proc. IEEE Int. Conf. Robot. Autom., pp. 6288–6294.
  3. [3] A. Badri-Spröwitz, A. Aghamaleki Sarvestani, M. Sitti, and M. A. Daley (2022) BirdBot achieves energy-efficient gait with minimal control using avian-inspired leg clutching. Sci. Robot. 7 (64), pp. eabg4055.
  4. [4] G. Bellegarda, C. Nguyen, and Q. Nguyen (2024) Robust quadruped jumping via deep reinforcement learning. Robot. Auton. Syst. 182, pp. 104799.
  5. [5] Á. Belmonte-Baeza, J. Lee, G. Valsecchi, and M. Hutter (2022) Meta reinforcement learning for optimal design of legged robots. IEEE Robot. Autom. Lett. 7 (4), pp. 12134–12141.
  6. [6] F. Bjelonic, J. Lee, P. Arm, D. Sako, D. Tateo, J. Peters, and M. Hutter (2023) Learning-based design and control for quadrupedal robots with parallel-elastic actuators. IEEE Robot. Autom. Lett. 8 (3), pp. 1611–1618.
  7. [7] J. Buchli, F. Iida, and A. J. Ijspeert (2006) Finding resonance: adaptive frequency oscillators for dynamic legged locomotion. In Proc. IEEE/RSJ Int. Conf. Intell. Robot. Syst., pp. 3903–3909.
  8. [8] CANable An open-source usb to can adapter. Note: Accessed: 2024-09-12 External Links: Link
  9. [9] C. Chen, P. Xiang, H. Lu, Y. Wang, and R. Xiong (2023) C{}^{2}: co-design of robots via concurrent-network coupling online and offline reinforcement learning. In Proc. IEEE/RSJ Int. Conf. Intell. Robot. Syst., pp. 7487–7494.
  10. [10] S. Choi, G. Ji, J. Park, H. Kim, J. Mun, J. H. Lee, and J. Hwangbo (2023) Learning quadrupedal locomotion on deformable terrain. Sci. Robot. 8 (74), pp. eade2256.
  11. [11] F. De Vincenti, D. Kang, and S. Coros (2021) Control-aware design optimization for bio-inspired quadruped robots. In Proc. IEEE/RSJ Int. Conf. Intell. Robot. Syst., pp. 1354–1361.
  12. [12] K. M. Digumarti, C. Gehring, S. Coros, J. Hwangbo, and R. Siegwart (2014) Concurrent optimization of mechanical design and locomotion control of a legged robot. In Mobile Serv. Robot., pp. 315–323.
  13. [13] T. Dinev, C. Mastalli, V. Ivan, S. Tonneau, and S. Vijayakumar (2022) A versatile co-design approach for dynamic legged robots. In Proc. IEEE/RSJ Int. Conf. Intell. Robot. Syst., pp. 10343–10349.
  14. [14] J. Ding, P. Posthoorn, V. Atanassov, F. Boekel, J. Kober, and C. D. Santina (2024) Quadrupedal locomotion with parallel compliance: e-go design, modeling, and control. IEEE/ASME Trans. Mechatron. 29 (4), pp. 2839–2848. External Links: Document
  15. [15] G. Fadini, S. Kumar, R. Kumar, T. Flayols, A. Del Prete, J. Carpentier, and P. Souères (2024) Co-designing versatile quadruped robots for dynamic and energy-efficient motions. Robotica 42 (6), pp. 2004–2025. External Links: Document
  16. [16] C. D. Freeman, E. Frey, A. Raichuk, S. Girgin, I. Mordatch, and O. Bachem (2021) Brax–a differentiable physics engine for large scale rigid body simulation. arXiv preprint arXiv:2106.13281.
  17. [17] G. Grandesso (2023) Reinforcement learning and trajectory optimization for the concurrent design of high-performance robotic systems. Ph.D. Thesis, University of Trento, Trento, Italy. External Links: Document
  18. [18] A. Gupta, S. Savarese, S. Ganguli, and L. Fei-Fei (2021) Embodied intelligence via learning and evolution. Nat. Commun. 12, pp. 5721. External Links: Document
  19. [19] D. Ha (2019) Reinforcement learning for improving agent design. Artif. Life 25 (4), pp. 352–365. External Links: ISSN 1530-9185, Document
  20. [20] S. Ha, S. Coros, A. Alspach, J. Kim, and K. Yamane (2017) Joint optimization of robot design and motion parameters using the implicit function theorem. In Proc. Robot.: Sci. Syst., Cambridge, Massachusetts. External Links: Document
  21. [21] L. Han, Q. Zhu, J. Sheng, C. Zhang, T. Li, Y. Zhang, H. Zhang, Y. Liu, C. Zhou, R. Zhao, J. Li, Y. Zhang, R. Wang, W. Chi, X. Li, Y. Zhu, L. Xiang, X. Teng, and Z. Zhang (2024) Lifelike agility and play in quadrupedal robots using reinforcement learning and generative pre-trained models. Nat. Mach. Intell. 6, pp. 787–798. External Links: Document
  22. [22] N. Hansen and A. Ostermeier (2001) Completely derandomized self-adaptation in evolution strategies. Evol. Comput. 9 (2), pp. 159–195.
  23. [23] J. Humphreys and C. Zhou (2025) Learning to adapt through bio-inspired gait strategies for versatile quadruped locomotion. Nat. Mach. Intell. 7, pp. 1141–1153. External Links: Document
  24. [24] J. Hwangbo, J. Lee, A. Dosovitskiy, C. D. Bellicoso, V. Tsounis, V. Koltun, and M. Hutter (2019) Learning agile and dynamic motor skills for legged robots. Sci. Robot. 4 (26), pp. eaau5872. External Links: Document
  25. [25] Invensense MPU-6050. Note: Accessed: 2024-09-12 External Links: Link
  26. [26] J. Kang, J. Park, T. Song, J. Kim, S. Hong, and H. Park (2026) Agile perceptive multiskill locomotion for quadrupedal robots in the wild. Sci. Robot. 11 (116), pp. eadz7397.
  27. [27] H. Kim, H. Oh, J. Park, Y. Kim, D. Youm, M. Jung, M. Lee, and J. Hwangbo (2025) High-speed control and navigation for quadrupedal robots on complex and discrete terrain. Sci. Robot. 10 (102), pp. eads6192.
  28. [28] C. Lee, D. Youm, J. Park, J. Lee, S. Choi, G. Ji, J. Mun, M. Jung, H. C. Choi, H. Kim, H. Oh, K. Nam, M. Lee, J. Hur, D. Choi, D. Kim, Y. An, and J. Hwangbo (2026) A quadruped robot designed to complete a marathon on a single battery charge. Nature 658 (8135), pp. 372–379. External Links: Document
  29. [29] J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter (2020) Learning quadrupedal locomotion over challenging terrain. Sci. Robot. 5 (47), pp. eabc5986.
  30. [30] P. Léziart, T. Flayols, F. Grimminger, N. Mansard, and P. Souères (2021) Implementation of a reactive walking controller for the new open-hardware quadruped solo-12. In Proc. IEEE Int. Conf. Robot. Autom., pp. 5007–5013.
  31. [31] X. Liu, A. Rossi, and I. Poulakakis (2018) A switchable parallel elastic actuator and its application to leg design for running robots. IEEE/ASME Trans. Mechatron. 23 (6), pp. 2681–2692.
  32. [32] K. S. Luck, H. B. Amor, and R. Calandra (2020) Data-efficient co-adaptation of morphology and behaviour with deep reinforcement learning. In Prof. Conf. Robot Learn., pp. 854–869.
  33. [33] T. Miki, J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter (2022) Learning robust perceptive locomotion for quadrupedal robots in the wild. Sci. Robot. 7 (62), pp. eabk2822.
  34. [34] M. Mittal, P. Roth, J. Tigue, A. Richard, O. Zhang, P. Du, A. Serrano-Munoz, X. Yao, R. Zurbrügg, N. Rudin, et al. (2025) Isaac lab: a gpu-accelerated simulation framework for multi-modal robot learning. arXiv preprint arXiv:2511.04831.
  35. [35] MJbots MJbots power distribution. Note: Accessed: 2024-09-12 External Links: Link
  36. [36] NVIDIA Jetson orin. Note: Accessed: 2024-09-12 External Links: Link
  37. [37] Y. Ozaki, Y. Tanigaki, S. Watanabe, M. Nomura, and M. Onishi (2022) Multiobjective tree-structured parzen estimator. J. Artif. Intell. Res. 73, pp. 1209–1250.
  38. [38] PEAK PCAN-m-2. Note: Accessed: 2024-09-12 External Links: Link
  39. [39] F. Ruppert and A. Badri-Spröwitz (2022) Learning plastic matching of robot dynamics in closed-loop central pattern generators. Nat. Mach. Intell. 4 (7), pp. 652–660.
  40. [40] C. Schaff, D. Yunis, A. Chakrabarti, and M. R. Walter (2019) Jointly learning to construct and control agents using deep reinforcement learning. In Proc. IEEE Int. Conf. Robot. Autom., Vol. , pp. 9798–9805. External Links: Document
  41. [41] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov (2017) Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
  42. [42] S. Seok et al. (2014) Design principles for energy-efficient legged locomotion and implementation on the mit cheetah robot. IEEE/ASME Trans. Mechatron. 20 (3), pp. 1117–1129.
  43. [43] Z. Song, L. Yue, L. Zhang, X. Zeng, H. Zhang, J. Dong, Z. Li, K. Sreenath, and Y. Liu (2026) Codesign of a differential three-segment leg enhancing payload and efficiency in quadrupeds. IEEE/ASME Trans. Mechatron. 31 (1), pp. 257–268. External Links: Document
  44. [44] A. T. Spröwitz et al. (2018) Oncilla robot: a versatile open-source quadruped research robot with compliant pantograph legs. Front. Robot. AI 5, pp. 67.
  45. [45] A. Spröwitz, A. Tuleu, M. Vespignani, M. Ajallooeian, E. Badri, and A. J. Ijspeert (2013) Towards dynamic trot gait locomotion: design, control, and experiments with cheetah-cub, a compliant quadruped robot. Int. J. Robot. Res. 32 (8), pp. 932–950.
  46. [46] F. Stella, M. M. Achkar, C. Della Santina, and J. Hughes (2025) Synergy-based robotic quadruped leveraging passivity for natural intelligence and behavioural diversity. Nat. Mach. Intell. 7, pp. 386–399. External Links: Document
  47. [47] Unitree Go1. Note: Accessed: 2024-09-13 External Links: Link
  48. [48] J. Won and J. Lee (2019) Learning body shape variation in physics-based characters. ACM Trans. Graph. 38 (6), pp. 1–12.
  49. [49] C. Yang, K. Yuan, Q. Zhu, W. Yu, and Z. Li (2020) Multi-expert learning of adaptive legged locomotion. Sci. Robot. 5 (49), pp. eabb2174.

hardware platform

This section provides additional details on the key components of the physical robot.

-1 Data Collection Protocol

During hardware experiments, velocity commands are transmitted from a remote computer to the robot via a TCP connection. The commands are sent automatically according to a predefined schedule to ensure consistency across trials. The robot records sensor data at 25\,Hz, including proprioceptive measurements, energy consumption, temperatures and control inputs. These data are then transmitted to the remote computer for post-processing. Hardware energy consumption is measured at the system level. In simulation, energy consumption is estimated using the CoT defined in the ‘Methodology’ Section, which is also used during the second stage of design selection.

-2 Hardware Platform Overview

To support the custom bio-inspired legs, we developed a modular robotic platform capable of accommodating different leg configurations. Existing platforms, such as the ODRI Solo 12 [30] and Unitree GO 1 [47], present integration challenges because of physical and software constraints on incorporating new leg designs. We therefore developed a custom platform to integrate the bio-inspired legs and support the co-design pipeline.

A key feature of Dogger is that it combines off-the-shelf electronics with custom 3D-printed mechanical components made from standard materials such as PLA, PETG and TPU. These components can be fabricated using conventional FDM printers, making the platform relatively inexpensive, reproducible and adaptable to future modifications.

The resulting quadruped, equipped with the nominal legs, is intermediate in size between the Unitree GO 1 and ODRI Solo 12. It weighs approximately 6.5 kg, with a front-to-back length of 37 cm and a width of 27 cm. The robot is actuated by Xiaomi Cybergears operating at 24 V and producing a peak torque of 12 Nm per joint. Power is supplied by a generic 2 Ah lithium-ion drill battery and distributed through an MJbots power-distribution board [35].

An NVIDIA Jetson Orin Nano [36] is used as the onboard computer. Communication with the actuators is provided by a PEAK M.2 CAN bus card [38] connected through the PCIe port, with each leg assigned a separate CAN bus. Through these buses, joint position commands are transmitted and joint position estimates are retrieved. An additional CAN-FD USB dongle (CANable 2.0) [8] enables communication with the power-distribution board to monitor the robot’s energy consumption. The robot’s orientation is measured using an onboard MPU-6050 IMU [25], configured in digital motion processor (DMP) mode. The IMU communicates with the Jetson through the I2C bus.

co-design pipeline settings

This section provides further details on the training of \pi_{u} and the design-selection process.

-3 RL Training Setup

We employ a universal control policy trained using proximal policy optimization (PPO) [41] to generalize across a range of robot morphologies and terrains. The policy is trained in simulation with thousands of parallel environments, each assigned a different design sampled from the morphology space. In our implementation, up to 8,192 environments are used for flat-terrain training within the Brax framework [16], while more complex terrain scenarios are trained using NVIDIA Isaac Lab [34] with 4,096 environments. Training requires approximately 15 minutes to 2 hours on a desktop GPU (NVIDIA RTX 4070), depending on the task complexity. The resulting controller operates at a frequency of 50\,Hz.

To improve robustness in challenging environments, training incorporates a terrain curriculum and additional state information for value estimation. This setup enables stable performance across structured and unstructured terrains while maintaining a consistent control architecture across all experiments.

Table Iand Table II list the hyperparameters used for PPO training and environment configuration, respectively. Table III lists the reward components, whose symbols are defined in Table IV. The reward weights and domain-randomization ranges are reported in Table V and Table VI, respectively.

-4 Design Selection Setup

For design selection, we use the tree-structured Parzen estimator (TPE) solver [37] provided by the Optuna library [1]. The process begins with a warm-up phase in which 100 randomly sampled designs are evaluated in parallel. Each design is evaluated for 6000 environment steps in task 1 and 15000 environment steps in task 2. We perform 45 iterations with a batch size of 20 designs per iteration, requiring approximately 45 minutes of computation on the same GPU.

TABLE I: PPO training hyperparameters.
  • Number of Timesteps
    Value
    150,000,000
  • Episode Length
    Value
    1000
  • Normalize Observations
    Value
    True
  • Unroll Length
    Value
    20
  • Number of Minibatches
    Value
    32
  • Number of Updates per Batch
    Value
    4
  • Discounting
    Value
    0.97
  • Learning Rate
    Value
    3.0\times 10^{-4}
  • Entropy Cost
    Value
    1\times 10^{-2}
  • Number of Environments
    Value
    8192
  • Batch Size
    Value
    256
  • Policy Hidden Layer Sizes
    Value
    (128, 128, 128, 128)
TABLE II: Environment-configuration hyperparameters.
  • Velocity Command Bounds
  • Linear Velocity X
    Value
    [-0.6, 0.6]
  • Linear Velocity Y
    Value
    [-0.6, 0.8]
  • Angular Velocity Yaw
    Value
    [-1.0, 1.0]
  • Action Space Bounds
  • Lower Bounds
    Value
    [-1.0, 0.5, -1.75]
  • Upper Bounds
    Value
    [1.0, 2, 0]
  • Additional Reward Parameters
  • Observation Noise
    Value
    0.065
  • Action Scale
    Value
    [0.4, 0.5, 1.2]
  • Probability of Zero Command
    Value
    0.1
TABLE III: Reward functions.
  • Tracking Reward Functions
  • Tracking Linear Velocity
    Expression
    \exp\left(-\frac{(v_{\text{des},x}-v_{x})^{2}+(v_{\text{des},y}-v_{y})^{2}}{\sigma}\right)
  • Tracking Angular Velocity
    Expression
    \exp\left(-\frac{(\omega_{\text{des}}-\omega_{z})^{2}}{\sigma}\right)
  • Regularization Reward Functions
  • Linear Velocity along Z
    Expression
    v_{z}^{2}
  • Angular Velocity in XY
    Expression
    \omega_{x}^{2}+\omega_{y}^{2}
  • Orientation
    Expression
    q_{\text{base},x}^{2}+q_{\text{base},y}^{2}
  • Torques
    Expression
    c_{\text{heatloss}}\cdot\sum_{i=1}^{12}\tau_{i}^{2}+c_{\text{mech\_power}}\cdot\sum_{i=1}^{12}\left(\tau_{i}\cdot\dot{q}_{i}\right)
  • Action Rate
    Expression
    \sum_{i=1}^{12}\left(a_{i}-a_{i}^{-1}\right)^{2}
  • Foot Air Time
    Expression
    \sum_{i=1}^{4}\left((t_{i}^{\text{air}}-0.1)\cdot\text{not\_contact\_filt}_{i}\right)\cdot\mathbb{1}(\bm{v}^{des}=0)
  • Hip Deviation from Initial Pose
    Expression
    \sum_{i=1}^{4}\left|q_{i}^{\text{hip}}-q^{\text{default, hip}}_{i}\right|
  • Standing Deviation from Initial Pose
    Expression
    \sum_{i=1}^{12}\left|q_{i}-q^{\text{default}}_{i}\right|\cdot\mathbb{1}(\bm{v}^{des}=0)
  • Step Height
    Expression
    \sum_{i=1}^{4}\left(\text{step\_height}_{i}-\text{step\_height\_threshold}_{i}\right)^{2}\cdot\text{contact\_filt}_{i}
  • Termination
    Expression
    \mathbb{1}(\text{done}\land(\text{step}<500))
  • Foot Slip
    Expression
    \sum_{i=1}^{4}\left((v^{\text{foot},x,y}_{i})^{2}\cdot\text{contact\_filt}_{i}\right)
TABLE IV: Symbols used in the reward functions.
  • \bm{q}
    Description
    Joint position vector for all actuators.
  • \bm{q}^{\text{default}}
    Description
    Default joint position vector for all actuators.
  • \dot{q}_{i}
    Description
    Angular velocity of the i-th actuator.
  • \tau_{i}
    Description
    Torque applied to the i-th actuator.
  • a_{i}
    Description
    Action command for the i-th actuator.
  • a_{i}^{-1}
    Description
    Previous action command for the i-th actuator.
  • \bm{v}
    Description
    Actual linear velocity vector.
  • \bm{v}_{\text{des}}
    Description
    Desired linear velocity vector.
  • \bm{\omega}
    Description
    Actual angular velocity vector.
  • \omega_{\text{des}}
    Description
    Desired angular velocity around the z axis.
  • \bm{q}_{\text{base}}
    Description
    Orientation quaternion components representing pitch and roll of the base.
  • t_{i}^{\text{air}}
    Description
    Air time of the i-th foot.
  • \text{not\_contact\_filt}_{i}
    Description
    Boolean indicating whether the i-th foot is not in contact with the ground.
  • \text{contact\_filt}_{i}
    Description
    Boolean indicating whether the i-th foot is in contact with the ground.
  • \bm{v}^{\text{foot}}_{i}
    Description
    Linear velocity vector of the i-th foot in the x and y directions.
  • \text{step\_height}_{i}
    Description
    Step height of the i-th foot.
  • \text{step\_height\_threshold}_{i}
    Description
    Step-height threshold for the i-th foot.
  • c_{\text{heatloss}}
    Description
    Heat loss constant.
  • c_{\text{mech\_power}}
    Description
    Mechanical power constant.
  • \mathbb{1}(\cdot)
    Description
    Indicator function (1 if the condition inside is true, 0 otherwise).
  • done
    Description
    Boolean indicating if the episode has terminated.
  • step
    Description
    Current simulation-step index.
  • \sigma
    Description
    Variance parameter controlling the sensitivity of the exponential function.
TABLE V: Reward weights.
  • Tracking Reward Weights
  • Tracking Linear Velocity
    Weight
    1.5
  • Tracking Angular Velocity
    Weight
    0.8
  • Tracking Sigma
    Weight
    0.25
  • Regularization Reward Weights
  • Linear Velocity along Z
    Weight
    -2.0
  • Angular Velocity in XY
    Weight
    -0.05
  • Orientation
    Weight
    -35.0
  • Torques
    Weight
    -0.0015
  • Action Rate
    Weight
    -0.1
  • Foot Air Time
    Weight
    10.0
  • Hip Deviation from Initial Pose
    Weight
    -0.20
  • Standing Deviation from Initial Pose
    Weight
    -0.15
  • Step Height
    Weight
    -1.75
  • Termination
    Weight
    -1.0
  • Foot Slip
    Weight
    -0.1
TABLE VI: Variable ranges for domain randomization.
  • \lambda_{1}
    Range
    [0.7, 1.3]
    Unit
    [-]
    Notes
    Factor
  • \lambda_{2}
    Range
    [0.7, 1.3]
    Unit
    [-]
    Notes
    Factor
  • \lambda_{3}
    Range
    [0.7, 1.3]
    Unit
    [-]
    Notes
    Factor
  • \diameter
    Range
    [0, 50]
    Unit
    [mm]
    Notes
    -
  • o
    Range
    [0, 10]
    Unit
    [mm]
    Notes
    -
  • Friction
    Range
    [1.0, 2.0]
    Unit
    [-]
    Notes
    Multiplicative factor
  • Position gain (Kp)
    Range
    [-2.5, 2.5]
    Unit
    [-]
    Notes
    Additive offset
  • Derivative gain (Kd)
    Range
    [-0.2, 0.35]
    Unit
    [-]
    Notes
    Additive offset
  • Joint damping
    Range
    [0.0, 0.3]
    Unit
    [-]
    Notes
    Additive offset
  • Torso mass
    Range
    [0.75, 1.5]
    Unit
    [-]
    Notes
    Multiplicative factor
  • Torso inertia
    Range
    [0.5, 2.5]
    Unit
    [-]
    Notes
    Multiplicative factor
  • Torso COM position
    Range
    [0.035, 0.05]
    Unit
    [m]
    Notes
    Additive offset