:orphan: .. _examples: Examples ======== This directory contains examples demonstrating the biosym library functionality. Available Examples ------------------ **gait2d.py** 2D gait simulation * Loading 2D model * Standing and walking optimal control problems **interacting_with_models.py** Basic model interface demonstration: * Model loading and structure inspection * State vector organization and manipulation * Model functions **batching.py** Demonstration of batching capabilities in biosym: * How to use batched operations for model simulations * Performance comparison between batched and non-batched simulations Model Files ----------- Examples use models from ``../tests/models/gait2d_torque/gait2d_torque.yaml`` .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_batching_thumb.png :alt: :doc:`/auto_examples/batching` .. raw:: html
Batching
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_gait2d_thumb.png :alt: :doc:`/auto_examples/gait2d` .. raw:: html
Predictive Gait Simulation in 2D
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_interacting_with_models_thumb.png :alt: :doc:`/auto_examples/interacting_with_models` .. raw:: html
Basic Model Loading and Usage
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/batching /auto_examples/gait2d /auto_examples/interacting_with_models .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_