Skip to content

Instantly share code, notes, and snippets.

@mayataka
Last active July 24, 2024 08:19
Show Gist options
  • Save mayataka/1bef2565acac8df37df4d004f79ea453 to your computer and use it in GitHub Desktop.
Save mayataka/1bef2565acac8df37df4d004f79ea453 to your computer and use it in GitHub Desktop.
Install pinocchio for Ubuntu 20.04
sudo apt install -qqy lsb-release gnupg2 curl
echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg" | sudo tee /etc/apt/sources.list.d/robotpkg.list
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
sudo apt update -y
sudo apt install -qqy robotpkg-py38-pinocchio
echo export PATH=/opt/openrobots/bin:$PATH >> ~/.bashrc
echo export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig:$PKG_CONFIG_PATH >> ~/.bashrc
echo export LD_LIBRARY_PATH=/opt/openrobots/lib:$LD_LIBRARY_PATH >> ~/.bashrc
echo export PYTHONPATH=/opt/openrobots/lib/python3.8/site-packages:$PYTHONPATH >> ~/.bashrc
echo export CMAKE_PREFIX_PATH=/opt/openrobots:$CMAKE_PREFIX_PATH >> ~/.bashrc
source ~/.bashrc
@baoqj
Copy link

baoqj commented Nov 30, 2023

I have installed the sh file, for Ubuntu version 22, should install robotpkg-py310-pinocchio.
Then how should I run the Pinocchio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment