Skip to content
Aditya Pradhan edited this page Dec 6, 2021 · 1 revision

Installation

1. ROS

The version of ROS used throughout the project was ROS Melodic on Ubuntu 18.04.5 LTS with the following script

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 install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt install ros-melodic-desktop-full

To setup the environment

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Dependencies for building packages

sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
sudo apt install python-rosdep
sudo rosdep init
rosdep update

Creating Workspace

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make

Refer http://wiki.ros.org/ documentation

2. Unity

  • Install Unity hub (https://unity.com/download)
  • Install Unity 2020.3.14f1(lts) and 2019.4.28f1(lts) to run implementation and final project from installs in navigation bar

3. Rosbridge

sudo apt-get install ros-meodic-rosbridge-server

4. Gazebo

Version 9 was used in the project

 curl -ssL http://get.gazebosim.org | sh

or

sudo apt-get install gazebo9
sudo apt-get install libgazebo9-dev

5. rviz

sudo apt-get install ros-melodic-rviz

6. Node.js and npm

sudo apt install nodejs
sudo apt install npm

Clone this wiki locally