[ROS] ROS1 설치 (eng)

Yoons·2024년 2월 3일
0
post-thumbnail

Prerequisites

Install Ubuntu 20.04 LTS
(ROS1 does not provide Ubuntu 22.04)


Settings before install ROS

  1. Add ROS repository to your system's list of resources
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
  1. Install curl package
sudo apt install curl
  1. Download ROS GPG(GNU Privacy Guard) key
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
  1. Update apt newest version
sudo apt update

Install ROS

  1. Install ROS noetic
sudo apt install ros-noetic-desktop-full
  1. (optional) Install optional package
sudo apt install <package name>

Looking for package > ROS noetic package


Install dependencies

sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-roslaunch
sudo apt install python3-rosdep

Initialize and update rosdep

sudo rosdep init
rosdep update

Check install ROS1 noetic

  1. Import Environmental variables
source /opt/ros/noetic/setup.bash
  1. Test
roscore

References

profile
모든 글은 저의 눈물을 머금으며 작성한 글이니..재밌게 봐주세요 :) 깃헙 맞팔@

0개의 댓글