This contains a set of linux setup scripts consolidated from across the web to make it easy to set up a new computer for robotics and deep learning, with links to the original sources and brief descriptions in the comments of each script. Install scripts are kept simple and minimal so you can easily change them for your needs.
Manual steps are necessary for some scripts, so be sure to check the comments!
These scripts are written for:
There is also some support for:
There are also useful config files in this repository named .*
that may not be immediately visible, such as .byobu/.tmux.conf
.
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.
mkdir -p ~/src
cd ~/src
git clone git@github.com:ahundt/robotics_setup.git
cd ~/src/robotics_setup
# be sure to look at the script for special instructions!
vim <scriptname>.sh
./<scriptname>.sh
# if the above line doesn't work you can also do sh <scriptname>.sh
Be sure to open the install scripts before you run them. There are often manual steps, more details, and links to the reference documentation and blogs used to write these scripts.
Recommended command line utils include htop, vim, tmux, byobu. To install them run:
./commandline_utils.sh
The recommended terminal environment and shell is zsh with prezto utilities, to install and configure it to run with tmux and byobu so you can have multiple terminal windows and connect via ssh without losing your place or closing your running terminal applications:
./zsh.sh
This will automatically set up .robotics_setup
, a configuration automatically loads other tools you can install via this repository including ROS, cuda, google go, locally installed binaries, linuxbrew, etc.
xon.sh is a terminal shell like bash and zsh that is like a superset of python and bash. It is very useful for robotics and machine learning if you want to do some math on robot data in your shell and run applications in a single terminal, plus retain the history of your commands so you can reproduce your work. You can install xonsh with the xonsh.sh
instructions and then enable it as the default shell.
byobu, lets you have multiple terminals running over a single connection that are persistent across dropped connections. If you want to use it with xonsh, make sure to update your ~/.byobu/.tmux.conf
to specify xonsh instead of zsh:
# set -g default-shell /usr/bin/zsh
# set -g default-command /usr/bin/zsh
set -g default-shell ~/.local/bin/xonsh
set -g default-command ~/.local/bin/xonsh
We highly recommend putting this repository in ~/src
, 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
For a pile of info snippets to troubleshoot a variety of problems you might encounter see:
https://github.com/ahundt/awesome-stuff
For robotics resources see:
https://github.com/ahundt/awesome-robotics
For great instructions for some of the best tools to use for development (much applies to non-mac too) see:
http://sourabhbajaj.com/mac-setup/
For other information on a huge range of topics see:
https://github.com/sindresorhus/awesome
All scripts are set to exit immediately on any error so it will give you a chance to fix the problem without making a mess on your computer.
If you run a script and the software was not installed, the most likely culprit is the repositories you have configured on ubuntu. If any repository returns an error these scripts will exit, to fix it look at which repositories are in the command line error message, and follow these instructions to remove them:
For something with more advanced capabilities than this repository, though not always easier, I suggest https://brew.sh and https://linuxbrew.sh.
https://github.com/rosbook/effective_robotics_programming_with_ros mkdir -p ~/rosbook_ws/src cd ~/rosbook_ws/src cd .. catkin_make source ~/rosbook_ws/devel/setup.bash gedit ~/.bashrc roslaunch rosboo
https://github.com/AaronMR/Learning_ROS_for_Robotics_Programming_2nd_edition/tree/indigo-devel mkdir -p ~/rosbook2_ws/src cd ~/rosbook2_ws/src cd .. catkin_make source ~/rosbook2_ws/devel/setup.bash c
The below SOP is test on Ubuntu 16.04, you can refer it on other Ubuntu version, The Python has already included in the Ubuntu 16.04, so it does NOT need install again. 1. Install tool pip $ sudo apt
Dynamics accel - forward dynamics cinertia - Cartesian manipulator inertia matrix coriolis - centripetal/coriolis
ROS机器人项目开发11例-ROS Robotics Projects-2019更新补充说明 转自:https://blog.csdn.net/ZhangRelay/article/details/102778430 时隔一年,机器人操作系统ROS发展速度非常快,但是书中提及的方法和概念实用和经典,结合最新的知识补充如下: 第一章:https://blog.csdn.net/ZhangRelay/
Robotics 41013: Lab Assignment 1 Weight: 20%. Demo Due: Week 6 Lab Class – 14:00 Monday 15 April Report Due: Week 6 – 23:59 Friday 19 April Background: Your company, SafeCo, designs, manufactures and