Commit 64eec2f8 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

review setup

parent e66b405c
......@@ -9,8 +9,8 @@ image. We expect better performances with Docker, but VirtualBox is easier to us
1. run
```bash
docker run --rm -p 7000:7000 -p 8888:8888 \
-v supaero2021:/home/student \
-it nmansard/supaero2021
-v data:/home/student \
-it gepetto/supaero
```
1. Several links are produced by the terminal. Open the one that starts with `127.0.0.1` in your web browser.
1. An minimal example is produced in ~/hello_talos.ipynb: try it to check your install and say hi to Talos!
......@@ -20,10 +20,9 @@ docker run --rm -p 7000:7000 -p 8888:8888 \
### Update the notebooks
The VirtualBox or Docker images might not contain the latest version of the notebooks so please pull the latest modifications before the tutorials. To do that :
1. run
```bash
docker run --rm -v supaero2021:/home/student \
-it nmansard/supaero2021 \
docker run --rm -v data:/home/student \
-it gepetto/supaero \
git -C supaero2021 pull --rebase \
--recurse-submodules --ff-only
```
......@@ -33,8 +32,8 @@ git -C supaero2021 pull --rebase \
1. Download the virtual machine using [https://frama.link/supaero2021-vbox](this link).
1. If you don't already have a virtualization system, download [https://www.virtualbox.org/](https://www.virtualbox.org/).
1. Unzip and load the virtual machine into your virtualization system (the virtual machine is in an open format and should be read by any kind of virtualization system).
1. Start the VirtualBox Image. If you start the VirtualBox for the first time, everything should be already running with the test notebook ~/supaero2021/setup/hello_talos.ipynb. Say Hi to Talos!
1. Otherwise, you can start by running ```jupyter notebook``` in ~/supaero2021 . Notebooks for the tutorials are in this folder.
1. Start the VirtualBox Image. If you start the VirtualBox for the first time, everything should be already running with the test notebook `~/supaero2021/setup/hello_talos.ipynb`. Say Hi to Talos!
1. Otherwise, you can start by running `jupyter notebook` in `~/supaero2021`. Notebooks for the tutorials are in this folder.
### Update the notebooks
......@@ -55,12 +54,14 @@ git submodule update --init
*On Ubuntu 18.04, running setup.sh as root should do most of the work, though.
If you feel adventurous on other systems, you can also try to setup the softwares directly on your computer. But you're on your own! Due
to limited time, only few support will be provided. You can ask for help in the project's issue trackers,
but without time guarantees. *
but without time guarantees.*
The following dependencies are needed:
- To be install using APT on Ubuntu 18.04 or follow Pinocchio documentation at https://stack-of-tasks.github.io/pinocchio/download.html.
- You also need a bunch of other smaller packages around pinocchio. Once pinocchio is there, apt robotpkg-py36-pinocchio robotpkg-py36-qt4-gepetto-viewer-corba robotpkg-example-robot-data robotpkg-osg-dae robotpkg-py35-example-robot-data
- You also need and some robot models (`sudo apt install robotpkg-py35-example-robot-data`)
- Finally, we need some standard Python packages (also on apt): ipython3 python3-pip freeglut3 python3-matplotlib python3-pil.imagetk jupyter python3-scipy python3-matplotlib jupyter python3-scipy python3-numpy
- Finally, we need some standard Python packages: `sudo apt install ipython3 python3-pip freeglut3
python3-matplotlib python3-pil.imagetk jupyter python3-scipy python3-matplotlib jupyter python3-scipy python3-numpy`
and a 3D viewer `pip3 install --user meshcat`.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment