Contents
개념의 개요
catkin/conceptual_overview 를 보시기 바랍니다.
Note for ROS Fuerte Users: An experimental version of catkin was released with ROS Fuerte that is quite different from the version in Groovy. Those using ROS Fuerte should continue utilizing rosbuild.
catkin 설치하기
Catkin은 ROS가 설치될 때 기본적으로 포함됩니다. Catkin은 소스 또는 미리 빌드된 패키지로부터 설치할 수있습니다. 대부분의 사용자는 미리 빌드된 패키지를 사용하고자 하겠지만, 소스로 부터 설치하는 것도 매우 간단합니다.
미리 빌드된 패키지 설치하기
우분투에서 ROS 바이너리 배포본 (Groovy 이상의 버전)을 사용한다면 apt-get을 사용해서 설치할 수 있습니다:
sudo apt-get install ros-$ROS_DISTRO-catkin
대부분의 ROS 설치는 기본적으로 이것을 포함할 것입니다.
소스로 부터 설치하기
Catkin는 다음과 같은 의존성을 갖습니다:
CMake - 크로스 플랫폼, 오픈 소스 빌드 시스템.
Python - 파이썬은 범용의 인터프린트형 고수준 프로그래밍 언어입니다. 버전 2.7을 필요로 합니다 (reference).
catkin_pkg - catkin을 위한 파이썬 런타임 라이브러리.
empy - 파이썬 템플릿 라이브러리.
nose - 파이썬 테스팅 프레임웍.
GTest - 구글의 cpp unittest 프레임웍.
GNU C++ Compiler (g++) - GNU C++ 컴파일러
우분투에서 아래의 명령어로 의존성을 해결할 수 있습니다:
sudo apt-get install cmake python-catkin-pkg python-empy python-nose python-setuptools libgtest-dev build-essential
우분투를 사용하는 환경이 아니라면 pip를 이용해서 catkin_pkg PyPi 로부터 catkin_pkg를 설치할 수 있습니다.
If you have trouble installing the python-* packages in the command above, make sure you have added the packages.ros.org debian repository to your apt source lists as described on this page.
그 다음 CMake 패키지와 함께 catkin을 설치합니다
mkdir build && cmake ../ && make && sudo make install
Note: You usually want to pass a specific build type when invoking CMake, e.g. cmake -DCMAKE_BUILD_TYPE=Release ../ (or RelWithDebInfo / Debug instead of Release, see http://cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_BUILD_TYPE).
rosbuild로 부터 마이그레이션
catkin/migrating_from_rosbuild 를 참고합니다.
외부 문서
외부 문서catkin docs는 다음을 포함합니다:
- 일반적인 작업 수행 방법
- 사용자 설명서
- 고급 사용자 설명서
- 개발자를 위한 정보
파이썬 http://docs.ros.org/api/catkin/html/user_guide/setup_dot_py.html 과 함께 catkin 사용하기
튜토리얼
구성 파일 참조
용어 설명
catkin/Glossary 를 살펴보세요
REPs
코드 리뷰