Skip to content
Carter Frost edited this page Apr 12, 2022 · 3 revisions

Welcome to the SwarmieOS wiki!

Download and use starup disk creator to image live boot ubuntu-16.04.7-desktop-amd64.iso Install with swarmie user, connect to wifi and enable for all users then do everything below

Setup

sudo apt update
sudo apt upgrade 
sudo apt install openssh-server 
ssh-keygen 
sudo apt install curl
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt-get update
sudo apt install python-rosinstall python-catkin-tools ros-kinetic-robot-localization ros-kinetic-hector-gazebo-plugins ros-kinetic-joystick-drivers ros-kinetic-grid-map ros-kinetic-rosserial-python ros-kinetic-rosserial-arduino ros-kinetic-usb-cam ros-kinetic-multimaster-fkie libusb-dev ipython
sudo apt-get install ros-kinetic-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential git python-rosinstall python-catkin-tools libusb-dev ros-kinetic-robot-localization ros-kinetic-hector-gazebo-plugins ros-kinetic-joystick-drivers ros-kinetic-usb-cam ros-kinetic-rosserial-python ros-kinetic-rosserial-arduino ros-kinetic-multimaster-fkie ros-kinetic-grid-map ipython
wget https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz
tar -xf arduino-1.8.19-linux64.tar.xz
sudo adduser swarmie dialout
sudo adduser swarmie video
cat .ssh/id_rsa.pub 
echo "Please go to https://github.com/BCLab-UNM/SwarmieOS/settings/keys and add this key then press Enter to continue"
echo "Please reboot the system to use the updated SHA hash"
read 
git clone [email protected]:BCLab-UNM/SwarmieOS.git
cd SwarmieOS/
git submodule update --init --recursive
catkin build

echo "please add this to crontab"
echo "@reboot /home/swarmie/SwarmieOS/misc/rover_onboard_node_launch.sh"
echo "copy to clipboad then press Enter to continue"
read 
crontab -e 
sudo systemctl disable lightdm.service
Clone this wiki locally