-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:MarcToussaint/botop
- Loading branch information
Showing
5 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ This assumes a standard Ubuntu, tested on 18.04, 20.04, and latest docker. (When | |
g++ clang make cmake curl git wget \ | ||
liblapack-dev libf2c2-dev libqhull-dev libeigen3-dev libann-dev libccd-dev \ | ||
libjsoncpp-dev libyaml-cpp-dev libpoco-dev libboost-system-dev portaudio19-dev libusb-1.0-0-dev \ | ||
libx11-dev libglu1-mesa-dev libglfw3-dev libglew-dev freeglut3-dev libpng-dev libassimp-dev \ | ||
libx11-dev libglu1-mesa-dev libglfw3-dev libglew-dev freeglut3-dev libpng-dev libassimp-dev | ||
mkdir -p $HOME/git $HOME/.local | ||
|
||
* External libraries: You can skip librealsense and libfranka if you disable below. To standardize installations, I use a [basic install script](https://github.com/MarcToussaint/rai-extern/blob/main/install.sh) (have a look, if you have concerns what it does). | ||
|
@@ -49,19 +49,19 @@ This assumes a standard Ubuntu, tested on 18.04, 20.04, and latest docker. (When | |
* You can skip this, if you disable pybind11 below. | ||
|
||
sudo apt install --yes python3-dev python3 python3-pip | ||
echo 'export PATH="${PATH}:$HOME/.local/bin"' >> ~/.bashrc #add this to your .bashrc, if not done already | ||
echo 'export PYTHONPATH="${PYTHONPATH}:$HOME/.local/lib"' >> ~/.bashrc #add this to your .bashrc, if not done already | ||
python3 -m pip install --user numpy pybind11 pybind11-stubgen | ||
|
||
# add the following to your .bashrc, if not done already | ||
echo 'export PATH="${PATH}:$HOME/.local/bin"' >> ~/.bashrc | ||
echo 'export PYTHONPATH="${PYTHONPATH}:$HOME/.local/lib"' >> ~/.bashrc | ||
|
||
* Finally, clone and compile this repo: | ||
|
||
cd $HOME/git | ||
git clone --recurse-submodules [email protected]:MarcToussaint/botop.git | ||
cd botop | ||
env APTGETYES=1 make -C rai -j1 installUbuntuAll # calls sudo apt-get install | ||
export PY_VERSION=`python3 -c "import sys; print(str(sys.version_info[0])+'.'+str(sys.version_info[1]))"` | ||
cmake -DUSE_BULLET=OFF -DPY_VERSION=$PY_VERSION . -B build #options: disable USE_LIBFRANKA USE_REALSENSE USE_PYBIND USE_PHYSX | ||
cmake -DUSE_BULLET=OFF -DUSE_OPENCV=OFF -DPY_VERSION=$PY_VERSION . -B build #options: disable USE_LIBFRANKA USE_REALSENSE USE_PYBIND USE_PHYSX | ||
make -C build | ||
|
||
* Optionally install lib, headers, and binaries to ~/.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters