This contains a set of linux setup scripts. Some manual steps are still involved but many are automated.
These scripts are written for:
- x86_64 Ubuntu Linux 14.04 and 16.04
- GeForce GTX 1080 GPU.
There is also some support for:
Typically the source code for libraries will be put in ~/src
, and binaries in /usr/local
, but this rule is not hard and fast because some tools like nvidia's cuda must go elsewhere.
We recommend putting this repository in ~/src
as well, but that's not required.
To make your shell utilize the tools you've installed via robotics_setup
:
# Add this to your ~/.bashrc or your ~/.zshrc
# From github.com/ahundt/robotics_setup
source ~/src/robotics_setup/.robotics_setup
How to find libraries if you have linking trouble
dpkg-query -L ros-kinetic-opencv3
How to find the versions of drivers you need:
sudo ubuntu-drivers devices
There are also useful config files named .*
that may not be immediately visible such as .byobu/.tmux.conf
.
If you have python permission errors:
sudo chown -R $USER /usr/local/lib/python2.7
Making zsh your shell without root access:
export SHELL=`which zsh`
[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l