Last active
June 22, 2018 23:28
-
-
Save alecGraves/037901735b12846b9c9f6cd0d5a5efa3 to your computer and use it in GitHub Desktop.
Set up laptop for submarine control
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
sudo apt update && \ | |
sudo apt -y install git vim cmake catkin &&\ | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list' | |
#Install ROS Kinetic | |
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116 && \ | |
sudo apt update && \ | |
sudo apt -y install ros-kinetic-ros-core && \ | |
sudo rosdep init && \ | |
rosdep update && \ | |
echo "source '/opt/ros/kinetic/setup.bash'" >> ~/.bashrc && \ | |
echo "source '~/catkin_ws/devel/setup.bash'" >> ~/.bashrc && \ | |
mkdir -p ~/catkin_ws/src && \ | |
source ~/.bashrc | |
#Setup Catkin Workspace | |
cd ~/catkin_ws/src && \ | |
catkin_init_workspace && \ | |
catkin_make -C ~/catkin_ws/ && \ | |
echo "alias cm='catkin_make -j $(nproc) -C ~/catkin_ws/'" >> ~/.bash_aliases &&\ | |
source ~/.bashrc &&\ | |
sudo apt -y install ros-kinetic-cv-bridge ros-kinetic-image-transport ros-kinetic-mavlink ros-kinetic-mavros ros-kinetic-mavros-msgs \ | |
ros-kinetic-cmake-modules ros-kinetic-control-toolbox ros-kinetic-joy &&\ | |
sudo geographiclib-get-geoids minimal &&\ | |
cd ~/catkin_ws/src && \ | |
git clone https://github.com/ksu-auv-team/movement_package.git && \ | |
cm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment