MEKAWIRE
ExpertarXiv

SBTenv: A Literature-Validated Split-Belt Treadmill Simulation Environment

Philip Byrne, John Drazan, Nidhi Seethapathi
From the abstract

The split-belt treadmill is an important tool for studying human locomotor adaptation. Physics-based simulations complement such experiments by allowing hypotheses about the mechanisms of adaptation to be tested directly, and high-throughput simulation is increasingly needed as these models grow in complexity.

From the abstract. Our summary is in progress.

Full paper

SBTenv: A Literature-Validated Split-Belt Treadmill Simulation Environment

Philip Byrne, John Drazan, Nidhi Seethapathi

Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.28547 (PDF).

Abstract

The split-belt treadmill is an important tool for studying human locomotor adaptation. Physics-based simulations complement such experiments by allowing hypotheses about the mechanisms of adaptation to be tested directly, and high-throughput simulation is increasingly needed as these models grow in complexity. However, no open-source split-belt treadmill environment exists in MuJoCo, a physics engine widely used for high-throughput simulation. Here, we present SBTenv, a split-belt treadmill environment built in MuJoCo and validated against published experimental data from a rimless wheel walking passively on a split-belt treadmill. By modeling compliant contacts at the spoke tips, SBTenv reproduces the experimental average steady velocity (R^{2}=0.643, RMSE =0.0162 m/s) without the empirical geometric correction required in prior simulations. We expect SBTenv, openly shared, to enable high-throughput simulation of musculoskeletal and robotic locomotion on a split-belt treadmill.

Index Terms:

Physics-based Simulation, Split-Belt Treadmill, MuJoCo, Walking

I Introduction

The split-belt treadmill (SBT) is an important tool for the study of human movement. In motor control and motor learning, the SBT is used to understand how locomotor symmetry adapts [1][2][3]. Computational models complement these experiments by allowing hypotheses about the mechanisms underlying split-belt adaptation to be tested directly, for example by comparing candidate control objectives or learning rules. While split-belt simulations have recently been developed [3][4][5], we lack open-source environments for SBT simulation in high-throughput physics engines like MuJoCo [6]. We therefore developed SBTenv, an in silico SBT environment in MuJoCo that supports high-throughput simulation, provides a Gymnasium interface, and is validated against a published experimental dataset of a rimless wheel walking on a split-belt treadmill [7].

Physics-based simulation has long been used to study locomotion, from passive dynamic walkers [8][9] to optimization-based predictions of human gait [10][11] and reflex-based neuromuscular control [12]. Deep reinforcement learning has since extended these approaches to high-dimensional musculoskeletal models [13][14], with applications ranging from identifying principles that reproduce natural gait [14] to predicting the effects of clinical impairments [15] and age-related falls [16], and to training controllers that transfer to legged robots [17]. Because these methods require many simulated trials, they expose a tension between model fidelity and computational cost. MuJoCo [6] enables such high-throughput simulation more than two orders of magnitude faster than OpenSim [18][19] at comparable complexity, and existing tools convert OpenSim models into MuJoCo with close agreement in muscle kinematics and dynamics [20][21]. A split-belt environment in MuJoCo would therefore enable making these models available for studying split-belt locomotion and adaptation.

Fig. 1: Split-belt rimless wheel model in MuJoCo.

II Methods

II-A Codebase

SBTenv is written in the dm_control Python framework (version 1.0.22) [22], which uses the MuJoCo physics engine (version 3.2.2) for physics simulation and reinforcement learning environments. We chose dm_control for its direct access to MuJoCo and its ease of implementation. SBTenv provides a Gymnasium interface [23] and is freely available on GitHub.

II-B Validation Approach

We validated SBTenv using the split-belt rimless wheel model (SBWM) [7], a rimless wheel (RW) that walks passively on an SBT by harvesting energy from the belt-speed difference (BSD). The SBWM is a minimal model of passive split-belt walking with published experimental data from a physical implementation. Because it is purely mechanical, with no musculoskeletal dynamics or controller, discrepancies between simulation and experiment can be attributed to the treadmill and contact model rather than to assumptions about biomechanics or control. Its simple, reproducible construction also allows other laboratories to build the same device on their own treadmills and use it to calibrate SBTenv, particularly its contact mechanics, to their setup. We refer to our simulated implementation as SBWM-env (with wheel RW-env) and to the physical implementation as SBWM-exp (with wheel RW-exp). SBWM-exp data reported graphically in [7] were digitized from figures using Fiji (version 1.54p) [24].

II-C Split-Belt Treadmill Model

SBTenv contains a slow belt and a fast belt, each modeled as a box geometry with a slide joint along the y-axis. The belts are separated by 2 mm along the x-axis so that they do not contact each other. Neither slide joint is motor-driven; instead, belt motion is imposed kinematically. At the beginning of every timestep, each belt is assigned a constant velocity, while a narrow joint range keeps it from translating in space. This approximates a physical treadmill, in which the belt moves over two motor-driven rollers without the belt assembly itself translating. Each belt had a sliding friction coefficient of 1.15, torsional and rolling friction coefficients of 0.1, and a mass of 3.0 kg.

II-D Rimless Wheel Model

RW-env followed the specifications of RW-exp [7]: 9 spokes per side, spoke length 0.254 m, axle length 7.6 cm, angular spacing between spokes of 40^{\circ}, angular offsets \alpha=15.5^{\circ} and \beta=4.5^{\circ} (2\alpha=31^{\circ}, 2\beta=9^{\circ}), and total mass 3.53 kg (excluding rubber contacts). To simplify the experimental apparatus, RW-env was constrained to translate in the y–z plane and rotate about its axle. Each simulation initialized RW-env at a height of 0.38 m and, on the first timestep, set its velocity equal to the fast-belt velocity so that it could reach a steady state.

II-E Contact Model

To capture the deformation and shock absorption of the rubber strips on RW-exp, we added a compliant contact at the tip of each RW-env spoke. Each contact was modeled as a sphere of radius 0.017 m mounted on a slide joint at the spoke tip, with the joint acting as a spring-mass damper (range 0–0.015 m, stiffness 50 N/m, damping 10 N\cdots/m). The contacts had sliding and torsional friction coefficients of 1.0 and a rolling friction coefficient of 0.1. Because friction, stiffness, and damping values were not reported in [7], we set them manually to suppress spoke bouncing on belt contact while allowing stable passive walking across the range of BSDs.

II-F Simulation Protocol

SBWM-env was simulated at each digitized SBWM-exp BSD, with the slow belt stationary and the fast-belt velocity equal to the BSD. A simulation terminated when RW-env completed 12 full rotations or after 2000 timesteps. Average steady velocity, the validation metric, was computed as the axle displacement divided by elapsed time, measured from the end of a 0.05 s settling period to the final timestep. All simulations used RK4 integration, the PGS constraint solver (maximum 50 iterations), an elliptic friction cone, and a timestep of 0.01 s.

II-G Rubber Contact and Offset Ablation

To test whether the compliant contacts and the empirical fast-belt z-offset correction from [7] compensate for the same collision energy dissipation mechanism, we performed a full factorial ablation over contact placement and offset. Contact placement took four levels: none, fast-belt spokes only, slow-belt spokes only, and both (the configuration used in SBWM-env). Offset took two levels: none, and the 4.9 mm fast-belt z-offset reported in [7]. All other parameters were held constant across the eight configurations, each of which was evaluated against the digitized SBWM-exp data using the metrics below.

II-H Statistical Analysis

Agreement between SBWM-env and SBWM-exp was assessed by comparing average steady velocities point by point at each digitized BSD. Trials in which RW-env failed to complete one rotation were excluded. Agreement was quantified by

R^{2}=1-\frac{\sum_{i}(y_{i}-\hat{y}_{i})^{2}}{\sum_{i}(y_{i}-\bar{y})^{2}}
(1)

where y_{i} is the digitized SBWM-exp average steady velocity, \hat{y}_{i} is the SBWM-env average steady velocity at the same BSD, and \bar{y} is the mean of the SBWM-exp values. Because R^{2} here measures agreement between two independently generated curves rather than the fit of a regression, it is unbounded below; negative values indicate a worse fit than the experimental mean. We also report the root-mean-square error (RMSE) and mean absolute error (MAE) between y_{i} and \hat{y}_{i}. All analyses were performed in Python 3.10 using NumPy [25].

III Results

III-A Validation Against Experiment

SBWM-env reproduced the dependence of RW average steady velocity on BSD observed in SBWM-exp (Figure 2), with R^{2}=0.643, RMSE =0.0162 m/s, and MAE =0.0122 m/s. Simulation required on average 0.213 ms per Gymnasium env.step() call (across 68{,}000 physics timesteps) on a single core of an Apple M3, or roughly 4{,}700 steps per second.

III-B Ablation

Table I and Figure 3 report agreement for all eight contact and offset configurations. The configuration used in SBWM-env (both contacts, no offset) gave the best fit (R^{2}=0.643), and the same contacts combined with the offset gave the worst (R^{2}=-34.474). Without the offset, fit improved as contacts were added. With the offset, fit worsened as contacts were added, and every configuration with contacts under-predicted the SBWM-exp average steady velocity.

TABLE I: Rubber contact and offset ablation results.
  • No rubber, no offset
    R^{2}
    -25.151
    RMSE (m/s)
    0.1389
    MAE (m/s)
    0.1387
  • Fast rubber only, no offset
    R^{2}
    -5.190
    RMSE (m/s)
    0.0676
    MAE (m/s)
    0.0648
  • Slow rubber only, no offset
    R^{2}
    -5.036
    RMSE (m/s)
    0.0667
    MAE (m/s)
    0.0632
  • Both rubber, no offset
    R^{2}
    0.643
    RMSE (m/s)
    0.0162
    MAE (m/s)
    0.0122
  • No rubber, offset
    R^{2}
    -1.064
    RMSE (m/s)
    0.0390
    MAE (m/s)
    0.0297
  • Fast rubber only, offset
    R^{2}
    -22.423
    RMSE (m/s)
    0.1314
    MAE (m/s)
    0.1156
  • Slow rubber only, offset
    R^{2}
    -3.906
    RMSE (m/s)
    0.0601
    MAE (m/s)
    0.0584
  • Both rubber, offset
    R^{2}
    -34.474
    RMSE (m/s)
    0.1617
    MAE (m/s)
    0.1565
Fig. 2: Average steady velocity of the rimless wheel as a function of belt-speed difference in SBWM-env (both rubber contacts, no offset) and SBWM-exp [7].
Fig. 3: Rubber contact and fast-belt offset ablation. Rows vary rubber contact placement and columns vary fast-belt offset. Blue points are SBWM-env average steady velocities from a single trial at each digitized BSD; red points are the digitized SBWM-exp values.

IV Discussion

We presented SBTenv, an open-source split-belt treadmill environment in MuJoCo, and validated it against experimental data from a passive rimless wheel on a split-belt treadmill [7]. SBTenv captured the experimental relationship between belt-speed difference and walking speed without an empirical correction, while running at high throughput.

IV-A Compliant Contacts Replace the Empirical Correction

The rimless wheel walks passively on an SBT by harvesting energy from the treadmill: on the fast belt, belt motion raises the wheel and stores gravitational potential energy, which is released as kinetic energy on the slow belt, offsetting collision losses [7]. The angular spoke offsets and the BSD together make this exchange possible. Collisions between spokes and the fast belt, however, cause bouncing both experimentally and in simulation. Prior simulations aligned with experiment only after an empirical 4.9 mm offset of the fast belt in the z-direction [7]. In SBTenv, compliant spoke contacts, which also more closely reflect the rubber strips on RW-exp, made this correction unnecessary.

The ablation suggests why. Contacts on both spokes without the offset gave the best fit, outperforming the offset-only configuration that most closely reproduces the correction used in [7] (R^{2}=0.643 vs. -1.064). Combining the two gave the worst fit of all (R^{2}=-34.474). This pattern is consistent with both corrections compensating for the same excess energy retained after spoke-belt collisions: the contacts dissipate this energy through damping, whereas the offset reduces it by altering the contact geometry. Applying both over-corrects, and every such configuration under-predicts the experimental velocity.

IV-B Measuring Average Steady Velocity

Butterfield et al. express the RW average steady velocity in terms of spoke contact times [7]:

{}^{S}v_{\mathrm{avg}}=\frac{2l(\sin{\alpha}+\sin{\beta})-T_{\mathrm{F}}\Delta v_{\mathrm{TM}}}{T_{\mathrm{S}}+T_{\mathrm{F}}}
(2)

where {}^{S}v_{\mathrm{avg}} is the average steady velocity, l is the spoke length, \alpha and \beta are the angular offsets, \Deltav_{\mathrm{TM}} is the BSD, and T_{\mathrm{S}} and T_{\mathrm{F}} are the spoke contact times with the slow and fast belts. In simulation, residual bouncing produces gaps of variable length in the contact signal. Thresholding to fill these gaps is sensitive to outliers, and smoothing can erase true gaps, for example when no spoke touches the belt during rotation. We therefore computed average steady velocity directly from axle displacement over elapsed time. This differs slightly from the experimental procedure, in which RW-exp walked a fixed distance that was divided by its walking time [7], but it avoids estimating contact times.

IV-C Limitations

Experimental data were not available in digital form and were digitized from published figures, which introduces measurement error. The rubber contacts and treadmill belts of SBWM-exp were not fully specified, so friction, stiffness, and damping parameters were approximated. The compliant contacts were idealized as spheres (20.6 g each) on spring-mass dampers, giving RW-env a total mass of 3.90 kg compared with 3.53 kg for RW-exp, although its moment of inertia about the axle remained within 3\% of RW-exp (0.0966 vs. 0.094 kg\cdotm2). We did not reduce the contact masses to values representative of the thin rubber strips on RW-exp [7], because the spring-mass damper became numerically unstable at the 0.01 s timestep. Finally, validation used a single passive walker; actively controlled and musculoskeletal walkers will introduce contact and actuation dynamics not tested here.

V Conclusion

We present SBTenv, an open-source, high-throughput, and literature-validated split-belt treadmill environment in MuJoCo. SBTenv reproduces the experimental behavior of a passive rimless wheel on a split-belt treadmill and, through compliant contact modeling, removes the empirical correction required in prior simulation. Because MuJoCo hosts both robot models and converted musculoskeletal models [20][21], SBTenv opens split-belt walking to the learning-based and optimization-based approaches used to study locomotor adaptation [3][4][5].

AI Usage Disclosure

The initial development of SBTenv (architecture, validation methods, and ideation) was performed without the use of generative AI. Recent development of SBTenv used Claude Code (Opus 5.5) to assist in refactoring, visualization, feature prototyping, and creation of test cases. All code was reviewed by a human; the human authors are responsible for the content of this manuscript. AI tools were limited in use for the preparation of this manuscript, only for consistency and formatting purposes.

Acknowledgment

The authors would like to thank the Sapere Aude Fund, the Massachusetts Institute of Technology Department of Brain and Cognitive Sciences, and the Fairfield University School of Engineering and Computing.

References

  1. [1] D. S. Reisman, A. J. Bastian, and S. M. Morton, “Neurophysiologic and Rehabilitation Insights From the Split-Belt and Other Locomotor Adaptation Paradigms,” Physical Therapy, vol. 90, no. 2, pp. 187–195, Feb. 2010. [Online]. Available: https://doi.org/10.2522/ptj.20090073
  2. [2] R. T. Roemmich and A. J. Bastian, “Closing the Loop: From Motor Neuroscience to Neurorehabilitation,” Annual Review of Neuroscience, vol. 41, pp. 415–429, Jul. 2018.
  3. [3] M. Price, M. E. Huber, and W. Hoogkamer, “Minimum effort simulations of split-belt treadmill walking exploit asymmetry to reduce metabolic energy expenditure,” Journal of Neurophysiology, vol. 129, no. 4, pp. 900–913, Apr. 2023. [Online]. Available: https://journals.physiology.org/doi/full/10.1152/jn.00343.2022
  4. [4] N. Seethapathi, B. C. Clark, and M. Srinivasan, “Exploration-based learning of a stabilizing controller predicts locomotor adaptation,” Nature Communications, vol. 15, no. 1, p. 9498, 2024.
  5. [5] S. Fleischmann, J. Shanbhag, J. Miehling, S. Wartzack, C. Ong, B. M. Eskofier, and A. D. Koelewijn, “A model of the cerebellum generates gait adaptations in a reflex-based neuromusculoskeletal model during split-belt walking,” Journal of NeuroEngineering and Rehabilitation, vol. 22, no. 1, p. 256, 2025.
  6. [6] E. Todorov, T. Erez, and Y. Tassa, “Mujoco: A physics engine for model-based control,” in 2012 IEEE/RSJ international conference on intelligent robots and systems. IEEE, 2012, pp. 5026–5033.
  7. [7] J. K. Butterfield, S. N. Simha, J. M. Donelan, and S. H. Collins, “The split-belt rimless wheel,” The International Journal of Robotics Research, vol. 41, no. 11-12, pp. 1043–1076, Sep. 2022. [Online]. Available: https://doi.org/10.1177/02783649221110260
  8. [8] T. McGeer, “Passive dynamic walking,” The International Journal of Robotics Research, vol. 9, no. 2, pp. 62–82, 1990.
  9. [9] M. J. Coleman, A. Chatterjee, and A. Ruina, “Motions of a rimless spoked wheel: a simple three-dimensional system with impacts,” Dynamics and Stability of Systems, vol. 12, no. 3, pp. 139–159, 1997.
  10. [10] F. C. Anderson and M. G. Pandy, “Dynamic optimization of human walking,” Journal of Biomechanical Engineering, vol. 123, no. 5, pp. 381–390, 2001.
  11. [11] M. Srinivasan and A. Ruina, “Computer optimization of a minimal biped model discovers walking and running,” Nature, vol. 439, pp. 72–75, 2006.
  12. [12] H. Geyer and H. Herr, “A muscle-reflex model that encodes principles of legged mechanics produces human walking dynamics and muscle activities,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 18, no. 3, pp. 263–273, 2010.
  13. [13] S. Song, Ł. Kidziński, X. B. Peng, C. Ong, J. Hicks, S. Levine, C. G. Atkeson, and S. L. Delp, “Deep reinforcement learning for modeling human locomotion control in neuromechanical simulation,” Journal of NeuroEngineering and Rehabilitation, vol. 18, no. 1, p. 126, Aug. 2021. [Online]. Available: https://doi.org/10.1186/s12984-021-00919-y
  14. [14] P. Schumacher, T. Geijtenbeek, V. Caggiano, V. Kumar, S. Schmitt, G. Martius, and D. F. B. Haeufle, “Emergence of natural and robust bipedal walking by learning from biologically plausible objectives,” iScience, vol. 28, no. 4, p. 112203, 2025.
  15. [15] C. F. Ong, T. Geijtenbeek, J. L. Hicks, and S. L. Delp, “Predicting gait adaptations due to ankle plantarflexor muscle weakness and contracture using physics-based musculoskeletal simulations,” PLOS Computational Biology, vol. 15, no. 10, p. e1006993, 2019.
  16. [16] K. Nowakowski, K. El Kirat, and T.-T. Dao, “Deep reinforcement learning coupled with musculoskeletal modelling for a better understanding of elderly falls,” Medical & Biological Engineering & Computing, vol. 60, no. 6, pp. 1745–1761, Jun. 2022. [Online]. Available: https://doi.org/10.1007/s11517-022-02567-3
  17. [17] J. Hwangbo, J. Lee, A. Dosovitskiy, D. Bellicoso, V. Tsounis, V. Koltun, and M. Hutter, “Learning agile and dynamic motor skills for legged robots,” Science Robotics, vol. 4, no. 26, p. eaau5872, 2019.
  18. [18] S. L. Delp, F. C. Anderson, A. S. Arnold, P. Loan, A. Habib, C. T. John, E. Guendelman, and D. G. Thelen, “OpenSim: Open-source software to create and analyze dynamic simulations of movement,” IEEE Transactions on Biomedical Engineering, vol. 54, no. 11, pp. 1940–1950, 2007.
  19. [19] A. Seth, J. L. Hicks, T. K. Uchida, A. Habib, C. L. Dembia, J. J. Dunne, C. F. Ong, M. S. DeMers, A. Rajagopal, M. Millard, S. R. Hamner, E. M. Arnold, J. R. Yong, S. K. Lakshmikanth, M. A. Sherman, J. P. Ku, and S. L. Delp, “OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement,” PLOS Computational Biology, vol. 14, no. 7, p. e1006223, Jul. 2018. [Online]. Available: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006223
  20. [20] A. Ikkala and P. Hämäläinen, “Converting biomechanical models from OpenSim to MuJoCo,” in Converging Clinical and Engineering Research on Neurorehabilitation IV, ser. Biosystems & Biorobotics. Springer, 2021, vol. 28, pp. 277–281.
  21. [21] H. Wang, V. Caggiano, G. Durandau, M. Sartori, and V. Kumar, “MyoSim: Fast and physiologically realistic MuJoCo models for musculoskeletal and exoskeletal studies,” in 2022 IEEE International Conference on Robotics and Automation (ICRA), 2022.
  22. [22] Y. Tassa, S. Tunyasuvunakool, A. Muldal, Y. Doron, P. Trochim, S. Liu, S. Bohez, J. Merel, T. Erez, T. Lillicrap, and N. Heess, “dm_control: Software and Tasks for Continuous Control,” Software Impacts, vol. 6, p. 100022, Nov. 2020, arXiv:2006.12983 [cs.RO]. [Online]. Available: http://arxiv.org/abs/2006.12983
  23. [23] M. Towers, A. Kwiatkowski, J. Terry, J. U. Balis, G. D. Cola, T. Deleu, M. Goulão, A. Kallinteris, M. Krimmel, A. KG, R. Perez-Vicente, A. Pierré, S. Schulhoff, J. J. Tai, H. Tan, and O. G. Younis, “Gymnasium: A Standard Interface for Reinforcement Learning Environments,” Nov. 2025, arXiv:2407.17032 [cs.LG]. [Online]. Available: http://arxiv.org/abs/2407.17032
  24. [24] J. Schindelin, I. Arganda-Carreras, E. Frise, V. Kaynig, M. Longair, T. Pietzsch, S. Preibisch, C. Rueden, S. Saalfeld, B. Schmid, J.-Y. Tinevez, D. J. White, V. Hartenstein, K. Eliceiri, P. Tomancak, and A. Cardona, “Fiji: an open-source platform for biological-image analysis,” Nature Methods, vol. 9, no. 7, pp. 676–682, Jul. 2012. [Online]. Available: https://www.nature.com/articles/nmeth.2019
  25. [25] C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, R. Kern, M. Picus, S. Hoyer, M. H. van Kerkwijk, M. Brett, A. Haldane, J. F. del Río, M. Wiebe, P. Peterson, P. Gérard-Marchant, K. Sheppard, T. Reddy, W. Weckesser, H. Abbasi, C. Gohlke, and T. E. Oliphant, “Array programming with NumPy,” Nature, vol. 585, no. 7825, pp. 357–362, Sep. 2020. [Online]. Available: https://www.nature.com/articles/s41586-020-2649-2