Touch Screen Utils ===================== The touch screen utils currently supply an on screen keyboard and a progress bar visible on the tablet ``mia``, running on dsc. Related resources ----------------- Component repository: - Browse component repository: `csra-screen-utils `_. - ``svn co https://projects.cit-ec.uni-bielefeld.de/svn/lsp-csra/software/csra-screen-utils/`` System startup: - The on_screen_keyboard and on_screen_progress can be found in ``lsp-csra-base.sh`` on the ``utils`` tab. - The component script is called ``on_screen_keyboard`` and ``on_screen_keyboard`` respectively. Interfaces ---------------- The interfaces will be described for the keyboard as well as the progress bar. Keyboard ^^^^^^^^ .. image:: /images/touch_keyboard.png :scale: 50 % :alt: The touch keyboard in all its glory! All hail to the touch keyboard! :align: center The keyboard will only show if triggered through an rsb event on the command scope, which is configured to be ``/citec/csra/home/hallway/entrance/virtualkeyboard/command`` . ``show`` will cause the keyboard to show, anything else will make it disappear. =============================================== ==================== Scope (Listener) Type =============================================== ==================== ``/citec/csra/home/hallway/entrance/virtualkeyboard/command`` String =============================================== ==================== It also publishes the key pressed on the scope suffixed ``update`` and the result when pressing ``enter`` on the scope suffixed ``result`` =============================================== ==================== Scope (Informer) Type =============================================== ==================== ``/citec/csra/home/hallway/entrance/virtualkeyboard/update`` String ``/citec/csra/home/hallway/entrance/virtualkeyboard/result`` String =============================================== ==================== Progress bar ^^^^^^^^^^^^ .. image:: /images/touch_progress.png :scale: 50 % :alt: Take this touch keyboard! The progress bar of doom will end your reign!!! :align: center The progress bar currently listens on ``/citec/csra/home/hallway/entrance/idfacescontrol/retrain`` for ``rst.communicationpatterns.TaskState`` s. If the state is ``ACCEPTED`` the progress bar will be shown. On ``UPDATE`` the payload will be interpreted as Float between 0 and 100 and be shown as the progress. On ``COMPLETED``, ``ABORT`` and ``FAILED`` the progressbar will hide. =============================================== ==================== Scope (Listener) Type =============================================== ==================== ``/citec/csra/home/hallway/entrance/idfacescontrol/retrain`` rst.communicationpatterns.TaskState =============================================== ====================