Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A virtual box for TSID, pinocchio v2 branch #28

Closed
nmansard opened this issue Jan 28, 2019 · 2 comments
Closed

A virtual box for TSID, pinocchio v2 branch #28

nmansard opened this issue Jan 28, 2019 · 2 comments

Comments

@nmansard
Copy link

I created a VirtualBox image for trying Pinocchio V2. It is at this address:
https://github.com/nmansard/wsmemmo_pinocchio

You can modify this VirtualBox image to make TSID run on it. Here are the steps for making that happens.
git clone --recursive https://github.com/stack-of-tasks/tsid
cd tsid
mkdir build
cd build
export PKG_CONFIG_PATH=$PINOCCHIO_PATH/lib/pkgconfig:$PKG_CONFIG_PATH
cmake .. -DCMAKE_INSTALL_PREFIX=$PINOCCHIO_PATH
make -sj2 install

@andreadelprete
Copy link
Collaborator

Updated version of the script:

sudo apt-get remove robotpkg-pinocchio
sudo apt-get install python-tk
git clone --recursive https://github.com/stack-of-tasks/tsid
cd tsid
git checkout pinocchio_v2
mkdir build
cd build
export PKG_CONFIG_PATH=$PINOCCHIO_PATH/lib/pkgconfig:$PKG_CONFIG_PATH
cmake .. -DCMAKE_INSTALL_PREFIX=$PINOCCHIO_PATH -DCMAKE_BUILD_TYPE=RELEASE
make -sj2 install

@andreadelprete
Copy link
Collaborator

Beware that the first two apt-get commands do not work well if you put them in a bash script, so please run them one by one by copy-pasting them in the terminal.

After you have successfully compiled and install TSID you can test it by executing:

cd tsid/exercizes
python ex_1.py

If it does not work the first time, try to execute it a second time (sometimes the viewer crashes for mysterious reasons)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants