
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "examples/simulator/example_robot_show.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        :ref:`Go to the end <sphx_glr_download_examples_simulator_example_robot_show.py>`
        to download the full example code

.. rst-class:: sphx-glr-example-title

.. _sphx_glr_examples_simulator_example_robot_show.py:


Visualize robots and objects
============================================================

This example shows how to visualize robots and objects in the Isaac Gym simulator in an interactive viewer.

.. GENERATED FROM PYTHON SOURCE LINES 7-64

.. code-block:: default


    import isaacgym
    import rofunc as rf

    # CURI
    # args = rf.config.get_sim_config("CURI")
    # CURIsim = rf.sim.CURISim(args)
    # CURIsim.show(visual_obs_flag=False)

    # walker
    # args = rf.config.get_sim_config("Walker")
    # walkersim = rf.sim.WalkerSim(args)
    # walkersim.show()

    # CURI-mini
    # args = rf.config.get_sim_config("CURImini")
    # CURIminisim = rf.sim.CURIminiSim(args)
    # CURIminisim.show(visual_obs_flag=True)

    # franka
    args = rf.config.get_sim_config("Franka")
    frankasim = rf.sim.FrankaSim(args)
    frankasim.show()

    # baxter
    # args = rf.config.get_sim_config("Baxter")
    # baxtersim = rf.sim.BaxterSim(args)
    # baxtersim.show()

    # sawyer
    # args = rf.config.get_sim_config("Sawyer")
    # sawyersim = rf.sim.SawyerSim(args)
    # sawyersim.show()

    # gluon
    # args = rf.config.get_sim_config("Gluon")
    # Gluonsim = rf.sim.GluonSim(args)
    # Gluonsim.show()

    # # qbsofthand
    # args = rf.config.get_sim_config("QbSoftHand")
    # QbSoftHandsim = rf.sim.QbSoftHandSim(args)
    # QbSoftHandsim.show()

    # # Humanoid
    # args = rf.config.get_sim_config("Humanoid")
    # Humanoidsim = rf.sim.HumanoidSim(args)
    # Humanoidsim.show()

    # TODO: Multi Robots
    # curi_args = rf.config.get_sim_config("CURI")
    # CURIsim = rf.sim.CURISim(curi_args)
    # walker_args = rf.config.get_sim_config("Walker")
    # walkersim = rf.sim.WalkerSim(walker_args)
    #
    # MRsim = rf.sim.MultiRobotSim(args, robot_sims={"CURI": CURIsim, "walker": walkersim})
    # MRsim.show()


.. rst-class:: sphx-glr-timing

   **Total running time of the script:** (0 minutes 0.000 seconds)


.. _sphx_glr_download_examples_simulator_example_robot_show.py:

.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-example




    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download Python source code: example_robot_show.py <example_robot_show.py>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download Jupyter notebook: example_robot_show.ipynb <example_robot_show.ipynb>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
