author-pic

Tomohiro Nagasaka


Published on

[TOC]

Run the following code if it shows two tensorboard installed on your system remove one.

import pkg_resources

for entrypoint in pkgresources.iterentrypoints('tensorboardplugins'): print(entrypoint.dist)

tensorboard --logdir .

hugo server -D //Debug hugo //build

Markdown comments

docker pull dartsim/dart-dev:bionic-v6.10 docker run -i --tty dartsim/dart-dev:bionic-v6.10 -v <pathtodartsource>:<dartsourceincontainer> docker attach name

//-v is mount.

build dart

mkdir build && cd build cmake .. make -j

Docker with VNC

On the Ubuntu server, first, update system critical packages first.

sudo apt update

Now, install the Xfce DE, using

sudo apt install xfce4 xfce4-goodies

We are ready to install the TigerVNC Server and its dependencies.

sudo apt install tigervnc-standalone-server tigervnc-common

Now, we have the basic requirements ready, so now let’s configure it to work properly.

vncserver

vncserver -kill :*

Above is not working?

  1. Run your container and expose port 5901 to your host docker run -p 5901:5901 -t -i ubuntu

  2. set up VNC server in the container and run it

    sudo apt-get install vnc4server
    vnc4server -geometry 1400x1000

//3) export $DISPLAY environment variable //export DISPLAY= XXXXXXX:1

Add port forwarding

To add port forwardings, I always follow these steps,

  1. stop running container

    docker stop test01
  2. commit the container

    docker commit test01 test02

    NOTE: The above, test02 is a new image that I'm constructing from the test01 container.

  3. re-run from the commited image

    docker run -p 8080:8080 -td test02
docker run -it --mount type=bind,source=C:/docker,target=/docker -p 5901:5901 tomo

Add user and login

adduser tomo

su tomo (login)

exit (logout)

Git clone

git clone -depth 1
vcpkg install boost-math boost-lexical-cast boost-algorithm
vcpkg install --recurse --triplet x64-windows assimp boost-system boost-filesystem ccd eigen3 fcl bullet3 flann freeglut nlopt ode opengl osg tinyxml2 urdfdom

# Optional dependencies
> vcpkg install --recurse --triplet x64-windowsbullet3 flann freeglut nlopt ode opengl osg tinyxml2 urdfdom

Conformance mode > permissive OSGLIBRARYSTATIC;

Currently not working https://github.com/dartsim/dart/issues/1522

If you like it, share it!