Giter VIP home page Giter VIP logo

test-skin-patches's Introduction

Test Skin Patches

An automated tool to be used during production stage for testing skin patches.

๐Ÿ“ฆ Instructions to run the docker container

Install Docker and make sure to go through these post-installation steps on Linux systems.

Once you have Docker properly installed, follow these instructions:

  1. Pull the docker image:
    docker pull ghcr.io/icub-tech-iit/test-skin-patches:latest
  2. Launch the container:
    docker run -it --rm --network host ghcr.io/icub-tech-iit/test-skin-patches:latest
  3. From within the container shell, launch the following scripts:
    start-vnc-session.sh
  4. Open up the browser and connect to localhost:6080 to get to the workspace desktop GUI.

๐Ÿ–๐Ÿป Instructions to test the skin

  1. Connect the ESD USB/CAN device to the host machine, then from a host console do:
    sudo ip link set can0 type can bitrate 1000000
    sudo ip link set up can0
  2. From within the container's desktop GUI, open up a terminal console for each of the following commands to be launched:
    yarpserver
    yarprun --server /icubsrv
    yarprobotinterface --config <skin_part.xml>
    yarpmanager
    where <skin_part.xml> corresponds to the configuration file of the part under test.
    To list down the available parts, just do ls /config-files/*.xml.
  3. From within the yarpmanager GUI:
    • Select Entities > Applications > SkinGui_All_V2
    • Run skinManager, skinManagerGui and iCubSkinGui related to the part to be tested (in this example left_arm)
    • Connect the port corresponding to the part to be tested (in this example left_arm)
    • Touch the skin patch and you'll see the corresponding part highlighting in the GUI.

test-skin

๐Ÿ”˜ How to shut down the docker container

From the container shell, press CTRL+D.

๐Ÿ–ฅ Tested platforms

We tested that the docker container runs successfully on the following operating systems:

  • Ubuntu 20.04

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Maintainers

This repository is maintained by:

@davidetome
@pattacini

test-skin-patches's People

Contributors

pattacini avatar davidetome avatar simeonedussoni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.