:orphan:

Examples
========

.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. thumbnail-parent-div-close

.. raw:: html

    </div>

Client examples
===============

.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases the life-cycle of an Aseba client.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_1_connection_thumb.png
    :alt:

  :doc:`/gallery/client/1_connection`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Client</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases how the client automatically discovers nodes and gets their description.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_2_automatic_node_discovery_thumb.png
    :alt:

  :doc:`/gallery/client/2_automatic_node_discovery`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Automatic node discovery</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This script showcases how the client can discover nodes and query their description manually.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_3_manual_node_discovery_thumb.png
    :alt:

  :doc:`/gallery/client/3_manual_node_discovery`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Manual node discovery</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Illustrate how a client receives an Aseba message.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_4_messages_thumb.png
    :alt:

  :doc:`/gallery/client/4_messages`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Messages</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases the different callbacks that clients support.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_5_callbacks_thumb.png
    :alt:

  :doc:`/gallery/client/5_callbacks`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Callbacks</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Shows how to get and set variables of a (remote) Aseba node.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_6_variables_thumb.png
    :alt:

  :doc:`/gallery/client/6_variables`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Variables</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Shows how a client loads an Aseba script to a remote node, and interacts with it using user-defined events.">

.. only:: html

  .. image:: /gallery/client/images/thumb/sphx_glr_7_events_thumb.png
    :alt:

  :doc:`/gallery/client/7_events`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Events</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Client nodes examples
=====================

.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases the basic :pypyaseba.client.Node interface.">

.. only:: html

  .. image:: /gallery/client_node/images/thumb/sphx_glr_1_basics_thumb.png
    :alt:

  :doc:`/gallery/client_node/1_basics`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Nodes basics</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases how :pypyaseba.client.Node mirrors local Aseba events and exposes local Aseba functions to Python.">

.. only:: html

  .. image:: /gallery/client_node/images/thumb/sphx_glr_2_mirroring_thumb.png
    :alt:

  :doc:`/gallery/client_node/2_mirroring`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Nodes mirroring</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Showcases the Python-like :pypyaseba.client.Node interface, that exposes Aseba variables and functions as Python attributes and methods.">

.. only:: html

  .. image:: /gallery/client_node/images/thumb/sphx_glr_3_attributes_thumb.png
    :alt:

  :doc:`/gallery/client_node/3_attributes`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Nodes attributes</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>

Network examples
================

.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Illustrative example of how to set up a simple Aseba network from Python.">

.. only:: html

  .. image:: /gallery/network/images/thumb/sphx_glr_1_network_basics_thumb.png
    :alt:

  :doc:`/gallery/network/1_network_basics`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Network</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:
   :includehidden:


   /gallery/client/index.rst
   /gallery/client_node/index.rst
   /gallery/network/index.rst


.. 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: gallery_python.zip </gallery/gallery_python.zip>`

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

      :download:`Download all examples in Jupyter notebooks: gallery_jupyter.zip </gallery/gallery_jupyter.zip>`


.. only:: html

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

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