Development Environment
This guide will walk you through setting up the development environment for Drone Dash.
Ubuntu 20.04
This development environment is based on Ubuntu 20.04. Ubuntu 20.04 was installed as part of the Linux Installation Drive recently conducted by the Techical Council. If you could not attend the drive, you can follow the provided instructions here.
It is recommended that you have atleast 25 GB of free space in your Ubuntu partition. If you have separate /
and /home
partitions, make sure that /
has atleast 17 GB of free space and /home
has atleast 8 GB of free space.
Before continuing, make sure that Ubuntu is up to date.
sudo apt update
sudo apt upgrade -y
python3 -m pip install --upgrade pip
Make sure that you have the following packages installed.
sudo apt update
sudo apt install -y git wget curl python-is-python3 lsb-release
ROS Noetic & Gazebo 11
Install ROS Noetic and Gazebo 11 using the instructions provided here.
MAVROS
Install MAVROS using the instructions provided here.
PX4
Install PX4 using the instructions provided here.
Drone Dash
Clone the Drone Dash repository.
cd ~/catkin_ws/src
git clone https://github.com/IITDh-Robotics/DroneDash-23.git
Add the gazebo models to the path. You can do this by running the following command,
echo 'GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/catkin_ws/src/DroneDash-23/models' >> ~/.bashrc
Build the workspace.
cd ~/catkin_ws
catkin build