🤖
Robotics Handbook
HomeConnect
  • Welcome
    • Authors Note
  • Computer Aided Designs and Simulations
    • Computer Aided Design and Simulations
    • 3D Modelling CAD
      • SolidWorks
    • Simulations
    • PCB Design
  • ROS (Advanced)
    • ROS
    • ROS
      • Concepts and Packages
      • Manual and Quick Setup
    • Some Important packages
  • Hardware
    • Design Processes
      • Materials Selection
      • Build and Prototyping
      • 3D Printing and Machining
    • Fabrication Parts
  • Common Mechanisms
    • Wheels and Drives
    • Power Transmission
  • Career Paths & Research Opportunities
    • Career in Robotics
    • Job Roles In Robotics
    • Conferences and Journals
  • Companies Hiring for Robotics
  • Leading Institutes
  • Mathematical and Programming Foundations
    • Linear Algebra for Robotics
    • Calculus
  • Programming for Robotics
    • Common Languages
    • Algorithms
    • Digital Twin
  • Embedded Systems for Robotics
    • Embedded Systems
    • Microcontrollers
      • Microcontrollers (Advanced Theory)
      • Choosing a Microcontroller
    • Sensors and Actuators
      • Sensors for Robotics
      • Actuators for Robotics
    • Communication
      • Communication Protocols
    • RTOS
    • Power Systems
      • Battery Charging and Storage Best Practices
  • ML and Perception
    • ML and Perception
    • Reinforcement Learning
    • Cameras, Depth Sensors and LiDAR
    • Image Processing Basics (OpenCV)
    • Object Detection and Tracking
    • Example of a Vision Pipeline
  • Mobile Robotics
    • Mobile Robotics
    • SLAM and Navigation
    • Robot Kinematics and Dynamics
      • Some Kinematic Models
    • Trajectory Planning
    • AMR's and AGV's
    • MH633 : Mobile Robotics
      • Geometric Foundations
      • Kinematics
  • Frontiers and Emerging Fields
    • Frontiers and Emerging Fields
    • Humanoids
    • Autonomous Navigation
    • Bio-inspired and Soft Robotics
    • Space Robotics
    • Cobots
    • Edge Robotics
    • Medical Robotics
  • Drones, Rocketry and Aviation
    • Drones
      • Drone Anatomy
    • Rocketry
Powered by GitBook
On this page
  1. ROS (Advanced)
  2. ROS

Manual and Quick Setup

PreviousConcepts and PackagesNextSome Important packages

Last updated 13 hours ago

ROS 1 Installation Full Guide :

ROS 1 Manual Installation & Learning Playlists

Manual Installation (ROS 1 Noetic Example)

Follow the official ROS Wiki for a step-by-step manual installation:

  1. Update package index:

    sudo apt update
  2. Install ROS Noetic (Desktop-Full):

    sudo apt install ros-noetic-desktop-full
    • For lighter installs, use:

      • Desktop: sudo apt install ros-noetic-desktop

      • Base: sudo apt install ros-noetic-ros-base2.

  3. Initialize rosdep:

    sudo apt install python3-rosdep
    sudo rosdep init
    rosdep update
  4. Environment setup:

    echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
    source ~/.bashrc
  5. Test installation:

    roscore
    • Open a new terminal and run:

      rosnode list

      You should see /rosout if everything is working.

Top ROS 1 Video Playlists & Learning Resources

Quick Setup for ROS 1 (Automated Script)

For a fast installation using scripts (recommended for repeatable setups):

  1. Clone the script repository:

    git clone https://github.com/Pana1v/ros-install-scripts.git
    cd ros-install-scripts
    chmod -R +x .
  2. Run the install script for your ROS 1 version:

    Ubuntu Version
    ROS 1 Version
    Desktop-Full Install Command

    16.04

    Kinetic (EOL)

    ./ros1/ros-kinetic-desktop-full.sh

    18.04

    Melodic

    ./ros1/ros-melodic-desktop-full.sh

    20.04

    Noetic

    ./ros1/ros-noetic-desktop-full.sh

    Example for Noetic:

    ./ros1/ros-noetic-desktop-full.sh
  3. Follow the post-install steps above (rosdep, environment setup).

Recommendation: Manual installation is best for learning and understanding the process. Use the automated script for quick, repeatable setups or when deploying to multiple machines. For in-depth learning, follow the playlists and official tutorials referenced above

ROS 2: Manual and Quick Setup

Manual Installation (Example: ROS 2 Humble on Ubuntu 22.04)

  1. Set up sources and keys:

    sudo apt update && sudo apt install curl gnupg2 lsb-release
    sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
    sudo apt update
  2. Install ROS 2 (Desktop):

    sudo apt install ros-humble-desktop
  3. Environment setup:

    echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
    source ~/.bashrc
  4. Install dependencies for building packages:

    sudo apt install python3-colcon-common-extensions python3-rosdep
    sudo rosdep init
    rosdep update
  5. Test installation:

    ros2 run demo_nodes_cpp talker
    # In another terminal:
    ros2 run demo_nodes_cpp listener

Quick Setup Using Automated Script

  1. Clone and prepare scripts:

    git clone https://github.com/Pana1v/ros-install-scripts.git
    cd ros-install-scripts
    chmod -R +x .
  2. Run the install script for your ROS 2 version:

    Ubuntu Version
    ROS 2 Version
    Desktop Install Command

    20.04

    Foxy

    ./ros2/ros2-foxy-desktop.sh

    20.04

    Galactic

    ./ros2/ros2-galactic-desktop.sh

    22.04

    Humble

    ./ros2/ros2-humble-desktop.sh

    Example for Humble:

    ./ros2/ros2-humble-desktop.sh
  3. Follow post-install steps (environment setup, rosdep).

Recommendation: Use the manual method to understand the process and dependencies. Use the quick script for rapid, repeatable installations or multiple deployments. For learning, explore the concepts and popular packages section, and refer to official tutorials and community playlists.

Full guide: 2 Beginner tutorials: 6

Includes videos and a free ebook for beginners.

Structured, university-level lectures.

Fast-paced, hands-on video series.

Repository:

ROS 2 Installation Full Guide :

Official guide:

Using :

https://wiki.ros.org/noetic/Installation
ROS Noetic Installation (wiki.ros.org)
ROS Wiki Tutorials
Beginner ROS Tutorials Playlist – YouTube
4
Justin Huang’s ROS Tutorials
5
ROBOTIS Free ROS Video Tutorials & Book
3
Programming for Robotics: ROS Tutorials (ETH Zurich)
3
The Construct: ROS in 5 Days
3
Pana1v/ros-install-scripts
https://docs.ros.org/en/humble/Installation.html
ROS 2 Installation Guide
Pana1v/ros-install-scripts