These instructions are for the Gigabyte Brix with the GVRBot and can be used and assumes you have installed Ubuntu 16.04 LTS
- Connect to the internet.
- Use CTRL+ALT+T to open up a terminal window.
- Use the command
ping 8.8.8.8
to check whether you can connect to the Google servers (Great internet connection test) - Refresh the package list:
sudo apt-get update
- Install updates:
sudo apt-get upgrade
- Install kernel updates:
sudo apt-get dist-upgrade
- Install useful helper programs:
sudo apt-get install meld git terminator vim htop
sudo adduser user1 dialout
- REASON: This allows user1 to read and write to most serial devices such as USB. Most robotics projects require this.
- In the ~/.bashrc file change the below settings to lengthen the history file. Just add a couple zero’s to each setting.
- HISTSIZE=100000
- HISTFILESIZE=200000
- REASON: This makes it much easier to find what was done to the computer in the past. Many of the users on these systems are not familiar with Linux. The ability to search the terminal history for commands and the way it was done last semester has proven valuable, especially at the start of the semester. It has also allowed Faculty to figure out what the users have done on the computer for debugging problems. The long length has proven its value mostly when trying to recreate work done in the previous school year. This justifies a reminder that the work done on these computers is not private.
sudo gedit /etc/rc.local
- Add this line before
exit 0
: rfkill block bluetooth - You should still be able to enable Bluetooth through the top bar applet or System Settings.
- REASON: We often do not require bluetooth and we rather conserve the battery. This can always be re-enabled through the desktop gui.
- Follow instructions on the ROS Wiki for a full-desktop install.
sudo apt-get install ros_kinetic_teleop_twist_joy
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
cd ~/catkin_ws/
catkin_make
echo "source $HOME/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
cd ~/catkin_ws/src
git clone https://github.com/westpoint-robotics/usma_gvrbot.git
cd ~/catkin_ws/
catkin_make
source devel/setup.bash