ROS 개발 환경 설정
ROS Python 도구인 wstool(소스 검색용), rosinstall 및 catkin_tools(빌딩)를 사용할 것입니다. 다음 명령어를 사용하여 ROS를 설치할 수 있습니다.
sudo apt-get install python3-catkin-tools python3-rosinstall-generator -y python3-wstool
TIP
패키지는 catkin_make를 사용하여 빌드할 수 있지만, 선호하는 방법은 catkin_tools를 사용하는 것입니다. 이는 편리한 빌드 도구이기 때문입니다.
~/catkin_ws
에 catkin 작업 공간을 설치합니다.
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
wstool init src
wstool을 처음 사용하는 경우 다음을 사용하여 소스 공간을 초기화합니다.
$ wstool init ~/catkin_ws/src
Last updated