Getting set up - cse481sp17/cse481c GitHub Wiki
Course computers
All of the course computers have ROS Indigo and Fetch software installed. You are free to install other software on these computers. You should keep the computers up to date with software updates.
Important: Keep all of your code backed up on Github or elsewhere. Some of the course computers have had trouble booting in the past.
Working remotely
Because we only have five course computers, you may want to bring your own laptop to class. ROS Indigo can only be installed on Ubuntu Linux 14.04. You have a few options for working with your own computers:
- SSH
- TeamViewer
- Virtual machine
- Dual-boot
SSH: Secure shell
SSH will be the most common way to access the course computers and the robot. If you have a Mac, you can run SSH from the Terminal app. If you have Windows, you can install the Chrome SSH extension or use PuTTY.
To SSH into a course computer, run:
ssh teamN@HOSTNAME
Where teamN is team1, team2, etc. and HOSTNAME is the name of your computer (roomba, unimate, silverarm, etc.)
If you are not on CSE-Local or are working from home, run:
ssh [email protected]
Typing in your password may get tiresome. To set up passwordless authentication, generate a pair of SSH keys and copy them to your team's computer:
ssh-keygen # Press Enter to accept defaults, password is optional
ssh-copy-id teamN@HOSTNAME
Even without having to type your password, it may be annoying to open multiple SSH windows. You can use tools like tmux to maintain multiple virtual terminals within a single SSH session.
Note that using SSH, you will not be able to access any GUIs.
TeamViewer
You may install TeamViewer, which is remote desktop software that allows you to see GUIs and control the course computers.
Virtual machines
You can install Ubuntu 14.04 on a virtual machine, such as VirtualBox or VMWare. CSE offers free software here: https://www.cs.washington.edu/lab/software
If you are using a VM and are having trouble getting Gazebo to load, try upgrading OpenGL and forcing software rendering:
sudo apt-get install libgl1-mesa-dri-lts-trusty
export LIBGL_ALWAYS_SOFTWARE=1
roslaunch fetch_gazebo playground.launch
At this point, Gazebo will run but it may be quite slow. If your computer has a good graphics card, try enabling 3D acceleration in your VM settings and unsetting LIBGL_ALWAYS_SOFTWARE=1:
unset LIBGL_ALWAYS_SOFTWARE
If Gazebo works, then you are good to go! If it only works with LIBGL_ALWAYS_SOFTWARE=1, then add this to your .bashrc:
export LIBGL_ALWAYS_SOFTWARE=1
Dual-boot
You can install Ubuntu 14.04 on your own computer. You can search online for how to do this or ask the course staff for help.