ROS2_Install - 8BitsCoding/RobotMentor GitHub Wiki
๋ด๊ฐ ์ค์นํ ๋ฒ์ ์
ROS 2 Crystal Clemmys
๋ก ์ค์น
์ค์นํ๊ฒฝ
- Windows 10 + VirtualBox
- Ubuntu 18.04
Ubuntu 16.04๋ก ์๋ํ์ง๋ง ์คํจ.. ์ด์ ๋ ์ ๋ชจ๋ฅด๊ฒ ์.
Install ROS 2 Crystal Clemmys
UTF-8 ๋ฅผ ์ค์นํ๋ ๊ฒ์ธ๋ฐ ์๋ตํด๋ ์ข์. (๋ ์ค์นํจ, ์ฐธ๊ณ ๋ก ์ค์นํ๋ฉด ์ฐ๋ถํฌ๊ฐ ์์ด๊ธฐ๋ฐ์ผ๋ก ๋ฐ๋๋ค.)
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
setup sources
sudo apt update && sudo apt install curl gnupg2 lsb-release
curl http://repo.ros2.org/repos.key | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list'
install ROS 2 package
export CHOOSE_ROS_DISTRO=crystal # or bouncy or ardent
sudo apt update
sudo apt install ros-$CHOOSE_ROS_DISTRO-desktop
sudo apt install ros-$CHOOSE_ROS_DISTRO-ros-base
setup script sourcing
source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash
echo "source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash" >> ~/.bashrc