Building a ROS Package
패키지의 시스템 dependencies가 설정 완료됐다면, 새로 생서된 패키지를 빌드할 수 있다.(빌드해야 된다)
catkin_make:
1. 앵간하면 cm으로 alias 해두자(nano, gedit ~/.bashrc)
2. src 폴더 내의 모든 catkin projects를 build 한다.
catkin make는 꼭 workspace에서!
*새로운 패키지나 컴파일한 새로운 c++가 있을 때마다 build 해줘
ROS/Tutorials/BuildingPackages - ROS Wiki
Building Packages Once all the system dependencies are installed, we can build our package that we just created. Using rosmake rosmake is just like the make command, but it does some special ROS magic. When you type rosmake beginner_tutorials, it builds t
wiki.ros.org
ws에서 catkin_make를 하면
cmake의 결과물들이 출력되면서 make 하는 모습을 볼 수 있다
다음으로 ws에는 build와 devel 파일이 생성된다.
'ROS' 카테고리의 다른 글
ROS_Study: Understanding ROS Topics (0) | 2023.11.22 |
---|---|
ROS_Study: Understanding ROS Nodes (1) | 2023.11.08 |
ROS_Study: CreatingPackage (0) | 2023.09.11 |
ROS_Study: catkin/workspaces (0) | 2023.09.11 |
ROS_Study: CMakeLists.txt(2) (0) | 2023.09.11 |