일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- ros 동적 파라미터
- ros network
- ros 파라미터
- ros launch
- ros 입문
- ROS 노드
- Node
- ros rqt
- ros 실시간
- ROS
- 가상환경
- 리눅스
- ros 로봇
- ros 제어
- ros 3d
- ros 공부
- ros node
- ros link
- ROS topic
- ROS 기초
- ros tf
- 노드
- piracer
- 라즈베리파이
- 우분투
- ros rqt_tf_tree
- ros rviz
- ros 정적 파라미터
- ROS 초보
- ros cfg
- Today
- Total
대원의 블로그
[ROS #01] ROS noetic 설치하기 본문
이번 글에서는 ROS noetic을 설치하는 과정을 다루도록 하겠습니다.
설치한 우분투 버전이 20.04이므로 그 버전에 맞는 ROS noetic을 설치하겠습니다.
우선 인터넷에 ROS noetic install 검색한다.
https://wiki.ros.org/noetic/Installation/Ubuntu
noetic/Installation/Ubuntu - ROS Wiki
If you rely on these packages, please support OSRF. These packages are built and hosted on infrastructure maintained and paid for by the Open Source Robotics Foundation, a 501(c)(3) non-profit organization. If OSRF were to receive one penny for each downlo
wiki.ros.org
위의 홈페이지에 들어가면 설치가이드가 있다.
복사 붙여넣기를 해서 설치를 진행해주면 된다.
그냥 쭉쭉 복사 붙여넣기 하면서 하면 된다.
그래도 찬찬히 읽어보면서 복사 붙여넣기 하기를 추천한다.
내가 설치한 코드는 다음과 같다.
# Setup your sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# Set up your keys
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 -
# Installation
sudo apt update
sudo apt install ros-noetic-desktop-full
# Environment setup
source /opt/ros/noetic/setup.bash
# Bash
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
# Dependencies for building packages
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
# Initialize rosdep
sudo apt install python3-rosdep
sudo rosdep init
rosdep update
설치가 완료가 되었다면 터미널창을 닫아주고 잘 깔렸는지 확인을 하면 된다.
새로 터미널창을 열어서 밑의 코드를 입력하면 된다.
roscore
이렇게 나온다면 ROS 설치에 성공한 것이다.
지금까지 우분투에 ROS noetic 설치를 완료하였다.
다음에는 ROS noetic에 필요한 ROS 개발툴을 설치해보겠다.
'개발 > ROS' 카테고리의 다른 글
[ROS #05] ROS Topic 이해하기 (0) | 2024.10.15 |
---|---|
[ROS #04] ROS 환경 구조 이해하기 (1) | 2024.10.15 |
[ROS #03] ROS Node 이해하기 (0) | 2024.10.14 |
[ROS #02] ROS noetic 개발툴 설치하기 (qtcreator ros, Terminator 설치) (0) | 2024.10.14 |
[ROS #00] 우분투 설치하기 (윈도우 + 우분투 멀티부팅) (0) | 2024.10.14 |