Skip to content
Snippets Groups Projects
Select Git revision
  • c21aff4efeba0cae9b27c7d8a282e3873996d4bc
  • master default protected
2 results

Test.java

Blame
  • docker-run.sh 388 B
    #!/bin/bash
    
    # http://wiki.ros.org/docker/Tutorials/GUI
    
    XSOCK=/tmp/.X11-unix
    XAUTH=/tmp/.docker.xauth
    touch $XAUTH
    xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
    
    docker run -it \
        --volume=$XSOCK:$XSOCK:rw \
        --volume=$XAUTH:$XAUTH:rw \
        --env="XAUTHORITY=${XAUTH}" \
        --env="DISPLAY" \
        --user="ros" \
        ceti-panda-gazebo-workspace \
        "$@"