Skip to content
Snippets Groups Projects
Commit 04b509f0 authored by Your Name's avatar Your Name
Browse files

Setup script for ros and necessary packages.

parent 63b57819
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install -y git ros-melodic-desktop-full ros-melodic-catkin python-catkin-tools ros-melodic-codec-image-transport
sudo rosdep init
rosdep update
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
cd ~
mkdir -p ~/catkin_tello_ws/src
cd ~/catkin_tello_ws
catkin build
cd ~/catkin_tello_ws/src
git clone --recursive https://github.com/appie-17/tello_driver.git
git clone https://github.com/ros-perception/camera_info_manager_py.git
cd ..
catkin build
echo "source ~/catkin_tello_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment